U.EX.DB.css 2.7 KB

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