custom.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. html {
  2. position: relative;
  3. min-height: 100%;
  4. }
  5. body {
  6. padding-top: 51px;
  7. /* Margin bottom by footer height */
  8. margin-bottom: 60px;
  9. }
  10. label {
  11. display: block;
  12. }
  13. /* hide "Home" in navbar */
  14. .nav.navbar-nav:first-child > li:first-child {
  15. display: none;
  16. }
  17. ul.nav li.main {
  18. font-weight: normal;
  19. }
  20. .footer {
  21. position: absolute;
  22. bottom: 0;
  23. width: 100%;
  24. /* Set the fixed height of the footer here */
  25. height: 60px;
  26. background-color: #f5f5f5;
  27. }
  28. .footer .container .text-muted {
  29. margin: 20px 0;
  30. }
  31. .footer .container {
  32. padding-right: 15px;
  33. padding-left: 15px;
  34. }
  35. /* Outline button for use within the docs */
  36. .btn-outline {
  37. color: #337ab7;
  38. background-color: transparent;
  39. border-color: #337ab7;
  40. }
  41. .btn-outline:hover,
  42. .btn-outline:focus,
  43. .btn-outline:active {
  44. color: #fff;
  45. background-color: #337ab7;
  46. border-color: #337ab7;
  47. }
  48. /* Inverted outline button (white on dark) */
  49. .btn-outline-inverse {
  50. color: #fff;
  51. background-color: transparent;
  52. border-color: #fff;
  53. }
  54. .btn-outline-inverse:hover,
  55. .btn-outline-inverse:focus,
  56. .btn-outline-inverse:active {
  57. color: #337ab7;
  58. text-shadow: none;
  59. background-color: #fff;
  60. border-color: #fff;
  61. }
  62. .bs-docs-header {
  63. margin-bottom: 0;
  64. background: #337ab7;
  65. color: #fff;
  66. }
  67. .bs-docs-header .btn {
  68. padding: 15px 30px;
  69. font-size: 20px
  70. }
  71. .bs-docs-header h1 {
  72. margin-bottom: 30px;
  73. }
  74. .bs-docs-header .lead {
  75. margin: 0 auto 30px;
  76. }
  77. .bs-docs-sub-header {
  78. padding-top: 20px;
  79. padding-bottom: 20px;
  80. }
  81. .content h1:first-of-type,
  82. .content h1:first-of-type + p:first-of-type {
  83. text-align: center;
  84. }
  85. .bs-docs-example > p {
  86. margin-top: 20px;
  87. }
  88. .bs-docs-example > p:last-child {
  89. margin-bottom: 0;
  90. }
  91. .bs-docs-example .table,
  92. .bs-docs-example .progress,
  93. .bs-docs-example .well,
  94. .bs-docs-example .alert,
  95. .bs-docs-example .hero-unit,
  96. .bs-docs-example .pagination,
  97. .bs-docs-example .navbar,
  98. .bs-docs-example > .nav,
  99. .bs-docs-example blockquote {
  100. margin-bottom: 5px;
  101. }
  102. .bs-docs-example .pagination {
  103. margin-top: 0;
  104. }
  105. .special {
  106. font-weight: bold !important;
  107. color: #fff !important;
  108. background: #bc0000 !important;
  109. text-transform: uppercase;
  110. }
  111. .bs-docs-example {
  112. position: relative;
  113. padding: 45px 15px 15px;
  114. margin: 0 -15px 15px;
  115. border-color: #e5e5e5 #eee #eee;
  116. border-style: solid;
  117. border-width: 1px 0;
  118. -webkit-box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
  119. box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
  120. }
  121. /* Echo out a label for the example */
  122. .bs-docs-example:after {
  123. position: absolute;
  124. top: 15px;
  125. left: 15px;
  126. font-size: 12px;
  127. font-weight: 700;
  128. color: #959595;
  129. text-transform: uppercase;
  130. letter-spacing: 1px;
  131. content: "Example";
  132. }
  133. .highlight {
  134. padding: 9px 14px;
  135. margin-bottom: 14px;
  136. background-color: #f7f7f9;
  137. border: 1px solid #e1e1e8;
  138. border-radius: 4px;
  139. }
  140. .bs-docs-example + .highlight {
  141. margin: -15px -15px 15px;
  142. border-width: 0 0 1px;
  143. border-radius: 0;
  144. }
  145. .carbonad-inner {
  146. width: auto!important;
  147. height: auto!important;
  148. padding: 20px!important;
  149. margin: 30px -15px 0!important;
  150. overflow: hidden;
  151. font-size: 13px!important;
  152. line-height: 16px!important;
  153. text-align: left;
  154. background: 0 0!important;
  155. border: solid rgba(255, 255, 255, 0.50) !important;
  156. border-width: 1px 0!important;
  157. }
  158. .carbon-poweredby,
  159. .carbon-text {
  160. display: block!important;
  161. float: none!important;
  162. width: auto!important;
  163. height: auto!important;
  164. margin-left: 145px!important;
  165. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif!important;
  166. color: #fff!important;
  167. }
  168. .carbon-poweredby {
  169. float: left;
  170. margin-top: 9px;
  171. text-align: left;
  172. width: 142px;
  173. opacity: 0.5;
  174. }
  175. .charity {
  176. opacity: 0.5;
  177. padding: 4px;
  178. margin-bottom: -31px;
  179. }
  180. .charity a {
  181. color: #fff;
  182. }
  183. .carbon-img img {
  184. border: none;
  185. display: inline;
  186. float: left;
  187. height: 100px;
  188. margin: 0 !important;
  189. width: 130px;
  190. }
  191. .logo-block a {
  192. display: block;
  193. padding: 5px;
  194. margin: 5px 0;
  195. }
  196. .logo-block img {
  197. height: auto;
  198. max-width: 100%;
  199. max-height: 40px;
  200. }
  201. .logo-container {
  202. float: left;
  203. max-width: 25%;
  204. margin: 0 15px;
  205. }
  206. .logo-block + div {
  207. margin: 5px 0;
  208. }
  209. @media (min-width: 480px){
  210. .carbonad-inner {
  211. width: 330px!important;
  212. margin: 50px auto 0 !important;
  213. border-width: 1px!important;
  214. border-radius: 4px;
  215. }
  216. .charity {
  217. margin-bottom: 0;
  218. }
  219. .logo-container {
  220. max-width: 60%;
  221. }
  222. }
  223. @media (min-width: 768px) {
  224. .bs-docs-example {
  225. margin-right: 0;
  226. margin-left: 0;
  227. background-color: #fff;
  228. border-color: #ddd;
  229. border-width: 1px;
  230. border-radius: 4px 4px 0 0;
  231. -webkit-box-shadow: none;
  232. box-shadow: none;
  233. }
  234. .bs-docs-example.no-code {
  235. border-radius: 4px;
  236. }
  237. .bs-docs-example + .highlight {
  238. margin-top: -16px;
  239. margin-right: 0;
  240. margin-left: 0;
  241. border-width: 1px;
  242. border-bottom-right-radius: 4px;
  243. border-bottom-left-radius: 4px;
  244. }
  245. .logo-container {
  246. max-width: 33.3333%;
  247. }
  248. }
  249. @media (min-width: 992px){
  250. .bs-docs-header .lead {
  251. width: 80%;
  252. }
  253. .carbonad-inner {
  254. top: 0;
  255. right: 15px;
  256. width: 330px!important;
  257. padding: 15px!important;
  258. }
  259. .logo-container {
  260. max-width: 25%;
  261. }
  262. }