narrow-jumbotron.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /* Space out content a bit */
  2. body {
  3. padding-top: 1.5rem;
  4. padding-bottom: 1.5rem;
  5. }
  6. /* Everything but the jumbotron gets side spacing for mobile first views */
  7. .header,
  8. .marketing,
  9. .footer {
  10. padding-right: 1rem;
  11. padding-left: 1rem;
  12. }
  13. /* Custom page header */
  14. .header {
  15. padding-bottom: 1rem;
  16. border-bottom: .05rem solid #e5e5e5;
  17. }
  18. /* Make the masthead heading the same height as the navigation */
  19. .header h3 {
  20. margin-top: 0;
  21. margin-bottom: 0;
  22. line-height: 3rem;
  23. }
  24. /* Custom page footer */
  25. .footer {
  26. padding-top: 1.5rem;
  27. color: #777;
  28. border-top: .05rem solid #e5e5e5;
  29. }
  30. /* Customize container */
  31. @media (min-width: 48em) {
  32. .container {
  33. max-width: 46rem;
  34. }
  35. }
  36. .container-narrow > hr {
  37. margin: 2rem 0;
  38. }
  39. /* Main marketing message and sign up button */
  40. .jumbotron {
  41. text-align: center;
  42. border-bottom: .05rem solid #e5e5e5;
  43. }
  44. .jumbotron .btn {
  45. padding: .75rem 1.5rem;
  46. font-size: 1.5rem;
  47. }
  48. /* Supporting marketing content */
  49. .marketing {
  50. margin: 3rem 0;
  51. }
  52. .marketing p + h4 {
  53. margin-top: 1.5rem;
  54. }
  55. .jumbotron img {
  56. max-width: 100%;
  57. }
  58. .form-signin {
  59. max-width: 330px;
  60. padding: 15px;
  61. margin: 0 auto;
  62. }
  63. .form-signin .form-signin-heading,
  64. .form-signin .checkbox {
  65. margin-bottom: 10px;
  66. }
  67. .form-signin .checkbox {
  68. font-weight: normal;
  69. }
  70. .form-signin .form-control {
  71. position: relative;
  72. height: auto;
  73. -webkit-box-sizing: border-box;
  74. box-sizing: border-box;
  75. padding: 10px;
  76. font-size: 16px;
  77. }
  78. .form-signin .form-control:focus {
  79. z-index: 2;
  80. }
  81. .form-signin input[type="text"] {
  82. margin-bottom: 10px;
  83. }
  84. .form-signin input[type="password"] {
  85. margin-bottom: 10px;
  86. }
  87. .bg-danger {
  88. padding: 15px;
  89. }
  90. /* Responsive: Portrait tablets and up */
  91. @media screen and (min-width: 48em) {
  92. /* Remove the padding we set earlier */
  93. .header,
  94. .marketing,
  95. .footer {
  96. padding-right: 0;
  97. padding-left: 0;
  98. }
  99. /* Space out the masthead */
  100. .header {
  101. margin-bottom: 2rem;
  102. }
  103. /* Remove the bottom border on the jumbotron for visual effect */
  104. .jumbotron {
  105. border-bottom: 0;
  106. }
  107. }