8c0dc6f9ef4a81126feba172fc531471e62a33ad.svn-base 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /*
  2. * Globals
  3. */
  4. /* Links */
  5. a,
  6. a:focus,
  7. a:hover {
  8. color: #fff;
  9. }
  10. /* Custom default button */
  11. .btn-secondary,
  12. .btn-secondary:hover,
  13. .btn-secondary:focus {
  14. color: #333;
  15. text-shadow: none; /* Prevent inheritence from `body` */
  16. background-color: #fff;
  17. border: .05rem solid #fff;
  18. }
  19. /*
  20. * Base structure
  21. */
  22. html,
  23. body {
  24. height: 100%;
  25. background-color: #333;
  26. }
  27. body {
  28. color: #fff;
  29. text-align: center;
  30. text-shadow: 0 .05rem .1rem rgba(0,0,0,.5);
  31. }
  32. /* Extra markup and styles for table-esque vertical and horizontal centering */
  33. .site-wrapper {
  34. display: table;
  35. width: 100%;
  36. height: 100%; /* For at least Firefox */
  37. min-height: 100%;
  38. -webkit-box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
  39. box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
  40. }
  41. .site-wrapper-inner {
  42. display: table-cell;
  43. vertical-align: top;
  44. }
  45. .cover-container {
  46. margin-right: auto;
  47. margin-left: auto;
  48. }
  49. /* Padding for spacing */
  50. .inner {
  51. padding: 2rem;
  52. }
  53. /*
  54. * Header
  55. */
  56. .masthead {
  57. margin-bottom: 2rem;
  58. }
  59. .masthead-brand {
  60. margin-bottom: 0;
  61. }
  62. .nav-masthead .nav-link {
  63. padding: .25rem 0;
  64. font-weight: bold;
  65. color: rgba(255,255,255,.5);
  66. background-color: transparent;
  67. border-bottom: .25rem solid transparent;
  68. }
  69. .nav-masthead .nav-link + .nav-link {
  70. margin-left: 1rem;
  71. }
  72. .nav-masthead .active {
  73. color: #fff;
  74. border-bottom-color: #fff;
  75. }
  76. @media (min-width: 48em) {
  77. .masthead-brand {
  78. float: left;
  79. }
  80. .nav-masthead {
  81. float: right;
  82. }
  83. }
  84. /*
  85. * Cover
  86. */
  87. .cover {
  88. padding: 0 1.5rem;
  89. }
  90. .cover .btn-lg {
  91. padding: .75rem 1.25rem;
  92. font-weight: bold;
  93. }
  94. /*
  95. * Footer
  96. */
  97. .mastfoot {
  98. color: rgba(255,255,255,.5);
  99. }
  100. /*
  101. * Affix and center
  102. */
  103. @media (min-width: 40em) {
  104. /* Pull out the header and footer */
  105. .masthead {
  106. position: fixed;
  107. top: 0;
  108. }
  109. .mastfoot {
  110. position: fixed;
  111. bottom: 0;
  112. }
  113. /* Start the vertical centering */
  114. .site-wrapper-inner {
  115. vertical-align: middle;
  116. }
  117. /* Handle the widths */
  118. .masthead,
  119. .mastfoot,
  120. .cover-container {
  121. width: 100%; /* Must be percentage or pixels for horizontal alignment */
  122. }
  123. }
  124. @media (min-width: 62em) {
  125. .masthead,
  126. .mastfoot,
  127. .cover-container {
  128. width: 42rem;
  129. }
  130. }