docs.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. /* Add additional stylesheets below
  2. -------------------------------------------------- */
  3. /*
  4. Bootstrap's documentation styles
  5. Special styles for presenting Bootstrap's documentation and examples
  6. */
  7. /* Body and structure
  8. -------------------------------------------------- */
  9. body {
  10. position: relative;
  11. padding-top: 90px;
  12. background-color: #fff;
  13. background-image: url(../img/grid-18px-masked.png);
  14. background-repeat: repeat-x;
  15. background-position: 0 40px;
  16. }
  17. /* Tweak navbar brand link to be super sleek
  18. -------------------------------------------------- */
  19. .navbar-fixed-top .brand {
  20. padding-right: 0;
  21. padding-left: 0;
  22. margin-left: 20px;
  23. float: right;
  24. font-weight: bold;
  25. color: #000;
  26. text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
  27. -webkit-transition: all .2s linear;
  28. -moz-transition: all .2s linear;
  29. transition: all .2s linear;
  30. }
  31. .navbar-fixed-top .brand:hover {
  32. text-decoration: none;
  33. }
  34. /* Space out sub-sections more
  35. -------------------------------------------------- */
  36. section {
  37. padding-top: 60px;
  38. }
  39. /* Faded out hr */
  40. hr.soften {
  41. height: 1px;
  42. margin: 54px 0;
  43. background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  44. background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  45. background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  46. background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  47. border: 0;
  48. }
  49. /* Jumbotrons
  50. -------------------------------------------------- */
  51. .jumbotron {
  52. position: relative;
  53. }
  54. .jumbotron h1 {
  55. margin-bottom: 9px;
  56. font-size: 81px;
  57. font-weight: bold;
  58. letter-spacing: -1px;
  59. line-height: 1;
  60. }
  61. .jumbotron p {
  62. margin-bottom: 18px;
  63. font-weight: 300;
  64. }
  65. .jumbotron .btn-large {
  66. font-size: 20px;
  67. font-weight: normal;
  68. padding: 14px 24px;
  69. margin-right: 10px;
  70. -webkit-border-radius: 6px;
  71. -moz-border-radius: 6px;
  72. border-radius: 6px;
  73. }
  74. .jumbotron .btn-large small {
  75. font-size: 14px;
  76. }
  77. /* Masthead (docs home) */
  78. .masthead {
  79. padding-top: 36px;
  80. margin-bottom: 72px;
  81. }
  82. .masthead h1,
  83. .masthead p {
  84. text-align: center;
  85. }
  86. .masthead h1 {
  87. margin-bottom: 18px;
  88. }
  89. .masthead p {
  90. margin-left: 5%;
  91. margin-right: 5%;
  92. font-size: 30px;
  93. line-height: 36px;
  94. }
  95. /* Specific jumbotrons
  96. ------------------------- */
  97. /* supporting docs pages */
  98. .subhead {
  99. padding-bottom: 0;
  100. margin-bottom: 9px;
  101. }
  102. .subhead h1 {
  103. font-size: 54px;
  104. }
  105. /* Subnav */
  106. .subnav {
  107. width: 100%;
  108. height: 36px;
  109. background-color: #eeeeee; /* Old browsers */
  110. background-repeat: repeat-x; /* Repeat the gradient */
  111. background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
  112. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
  113. background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
  114. background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
  115. background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
  116. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
  117. background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
  118. border: 1px solid #e5e5e5;
  119. -webkit-border-radius: 4px;
  120. -moz-border-radius: 4px;
  121. border-radius: 4px;
  122. }
  123. .subnav .nav {
  124. margin-bottom: 0;
  125. }
  126. .subnav .nav > li > a {
  127. margin: 0;
  128. padding-top: 11px;
  129. padding-bottom: 11px;
  130. border-left: 1px solid #f5f5f5;
  131. border-right: 1px solid #e5e5e5;
  132. -webkit-border-radius: 0;
  133. -moz-border-radius: 0;
  134. border-radius: 0;
  135. }
  136. .subnav .nav > .active > a,
  137. .subnav .nav > .active > a:hover {
  138. padding-left: 13px;
  139. color: #777;
  140. background-color: #e9e9e9;
  141. border-right-color: #ddd;
  142. border-left: 0;
  143. -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
  144. -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
  145. box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
  146. }
  147. .subnav .nav > .active > a .caret,
  148. .subnav .nav > .active > a:hover .caret {
  149. border-top-color: #777;
  150. }
  151. .subnav .nav > li:first-child > a,
  152. .subnav .nav > li:first-child > a:hover {
  153. border-left: 0;
  154. padding-left: 12px;
  155. -webkit-border-radius: 4px 0 0 4px;
  156. -moz-border-radius: 4px 0 0 4px;
  157. border-radius: 4px 0 0 4px;
  158. }
  159. .subnav .nav > li:last-child > a {
  160. border-right: 0;
  161. }
  162. .subnav .dropdown-menu {
  163. -webkit-border-radius: 0 0 4px 4px;
  164. -moz-border-radius: 0 0 4px 4px;
  165. border-radius: 0 0 4px 4px;
  166. }
  167. /* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
  168. @media (min-width: 980px) {
  169. .subnav-fixed {
  170. position: fixed;
  171. top: 40px;
  172. left: 0;
  173. right: 0;
  174. z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
  175. border-color: #d5d5d5;
  176. border-width: 0 0 1px; /* drop the border on the fixed edges */
  177. -webkit-border-radius: 0;
  178. -moz-border-radius: 0;
  179. border-radius: 0;
  180. -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
  181. -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
  182. box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
  183. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
  184. }
  185. .subnav-fixed .nav {
  186. width: 938px;
  187. margin: 0 auto;
  188. padding: 0 1px;
  189. }
  190. .subnav .nav > li:first-child > a,
  191. .subnav .nav > li:first-child > a:hover {
  192. -webkit-border-radius: 0;
  193. -moz-border-radius: 0;
  194. border-radius: 0;
  195. }
  196. }
  197. /* Quick links
  198. -------------------------------------------------- */
  199. .bs-links {
  200. margin: 36px 0;
  201. }
  202. .quick-links {
  203. min-height: 30px;
  204. margin: 0;
  205. padding: 5px 20px;
  206. list-style: none;
  207. text-align: center;
  208. overflow: hidden;
  209. }
  210. .quick-links:first-child {
  211. min-height: 0;
  212. }
  213. .quick-links li {
  214. display: inline;
  215. margin: 0 5px;
  216. color: #999;
  217. }
  218. .quick-links .github-btn,
  219. .quick-links .tweet-btn,
  220. .quick-links .follow-btn {
  221. position: relative;
  222. top: 5px;
  223. }
  224. /* Marketing section of Overview
  225. -------------------------------------------------- */
  226. .marketing .row {
  227. margin-bottom: 9px;
  228. }
  229. .marketing h1 {
  230. margin: 36px 0 27px;
  231. font-size: 40px;
  232. font-weight: 300;
  233. text-align: center;
  234. }
  235. .marketing h2,
  236. .marketing h3 {
  237. font-weight: 300;
  238. }
  239. .marketing h2 {
  240. font-size: 22px;
  241. }
  242. .marketing p {
  243. margin-right: 10px;
  244. }
  245. .marketing .bs-icon {
  246. float: left;
  247. margin: 7px 10px 0 0;
  248. opacity: .8;
  249. }
  250. .marketing .small-bs-icon {
  251. float: left;
  252. margin: 4px 5px 0 0;
  253. }
  254. /* Footer
  255. -------------------------------------------------- */
  256. .footer {
  257. margin-top: 45px;
  258. padding: 35px 0 36px;
  259. border-top: 1px solid #e5e5e5;
  260. }
  261. .footer p {
  262. margin-bottom: 0;
  263. color: #555;
  264. }
  265. /* Special grid styles
  266. -------------------------------------------------- */
  267. .show-grid {
  268. margin-top: 10px;
  269. margin-bottom: 20px;
  270. }
  271. .show-grid [class*="span"] {
  272. background-color: #eee;
  273. text-align: center;
  274. -webkit-border-radius: 3px;
  275. -moz-border-radius: 3px;
  276. border-radius: 3px;
  277. min-height: 30px;
  278. line-height: 30px;
  279. }
  280. .show-grid:hover [class*="span"] {
  281. background: #ddd;
  282. }
  283. .show-grid .show-grid {
  284. margin-top: 0;
  285. margin-bottom: 0;
  286. }
  287. .show-grid .show-grid [class*="span"] {
  288. background-color: #ccc;
  289. }
  290. /* Render mini layout previews
  291. -------------------------------------------------- */
  292. .mini-layout {
  293. border: 1px solid #ddd;
  294. -webkit-border-radius: 6px;
  295. -moz-border-radius: 6px;
  296. border-radius: 6px;
  297. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
  298. -moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
  299. box-shadow: 0 1px 2px rgba(0,0,0,.075);
  300. }
  301. .mini-layout {
  302. height: 240px;
  303. margin-bottom: 20px;
  304. padding: 9px;
  305. }
  306. .mini-layout div {
  307. -webkit-border-radius: 3px;
  308. -moz-border-radius: 3px;
  309. border-radius: 3px;
  310. }
  311. .mini-layout .mini-layout-body {
  312. background-color: #dceaf4;
  313. margin: 0 auto;
  314. width: 70%;
  315. height: 240px;
  316. }
  317. .mini-layout.fluid .mini-layout-sidebar,
  318. .mini-layout.fluid .mini-layout-header,
  319. .mini-layout.fluid .mini-layout-body {
  320. float: left;
  321. }
  322. .mini-layout.fluid .mini-layout-sidebar {
  323. background-color: #bbd8e9;
  324. width: 20%;
  325. height: 240px;
  326. }
  327. .mini-layout.fluid .mini-layout-body {
  328. width: 77.5%;
  329. margin-left: 2.5%;
  330. }
  331. /* Popover docs
  332. -------------------------------------------------- */
  333. .popover-well {
  334. min-height: 160px;
  335. }
  336. .popover-well .popover {
  337. display: block;
  338. }
  339. .popover-well .popover-wrapper {
  340. width: 50%;
  341. height: 160px;
  342. float: left;
  343. margin-left: 55px;
  344. position: relative;
  345. }
  346. .popover-well .popover-menu-wrapper {
  347. height: 80px;
  348. }
  349. .large-bird {
  350. margin: 5px 0 0 310px;
  351. opacity: .1;
  352. }
  353. /* Download page
  354. -------------------------------------------------- */
  355. .download .page-header {
  356. margin-top: 36px;
  357. }
  358. .page-header .toggle-all {
  359. margin-top: 5px;
  360. }
  361. /* Space out h3s when following a section */
  362. .download h3 {
  363. margin-bottom: 5px;
  364. }
  365. .download-builder input + h3,
  366. .download-builder .checkbox + h3 {
  367. margin-top: 9px;
  368. }
  369. /* Fields for variables */
  370. .download-builder input[type=text] {
  371. margin-bottom: 9px;
  372. font-family: Menlo, Monaco, "Courier New", monospace;
  373. font-size: 12px;
  374. color: #d14;
  375. }
  376. .download-builder input[type=text]:focus {
  377. background-color: #fff;
  378. }
  379. /* Custom, larger checkbox labels */
  380. .download .checkbox {
  381. padding: 6px 10px 6px 25px;
  382. color: #555;
  383. background-color: #f9f9f9;
  384. -webkit-border-radius: 3px;
  385. -moz-border-radius: 3px;
  386. border-radius: 3px;
  387. cursor: pointer;
  388. }
  389. .download .checkbox:hover {
  390. color: #333;
  391. background-color: #f5f5f5;
  392. }
  393. .download .checkbox small {
  394. font-size: 12px;
  395. color: #777;
  396. }
  397. /* Variables section */
  398. #variables label {
  399. margin-bottom: 0;
  400. }
  401. /* Giant download button */
  402. .download-btn {
  403. margin: 36px 0 108px;
  404. }
  405. #download p,
  406. #download h4 {
  407. max-width: 50%;
  408. margin: 0 auto;
  409. color: #999;
  410. text-align: center;
  411. }
  412. #download h4 {
  413. margin-bottom: 0;
  414. }
  415. #download p {
  416. margin-bottom: 18px;
  417. }
  418. .download-btn .btn {
  419. display: block;
  420. width: auto;
  421. padding: 19px 24px;
  422. margin-bottom: 27px;
  423. font-size: 30px;
  424. line-height: 1;
  425. text-align: center;
  426. -webkit-border-radius: 6px;
  427. -moz-border-radius: 6px;
  428. border-radius: 6px;
  429. }
  430. /* Color swatches on LESS docs page
  431. -------------------------------------------------- */
  432. /* Sets the width of the td */
  433. .swatch-col {
  434. width: 30px;
  435. }
  436. /* Le swatch */
  437. .swatch {
  438. display: inline-block;
  439. width: 30px;
  440. height: 20px;
  441. margin: -6px 0;
  442. -webkit-border-radius: 3px;
  443. -moz-border-radius: 3px;
  444. border-radius: 3px;
  445. }
  446. /* For white swatches, give a border */
  447. .swatch-bordered {
  448. width: 28px;
  449. height: 18px;
  450. border: 1px solid #eee;
  451. }
  452. /* Misc
  453. -------------------------------------------------- */
  454. img {
  455. max-width: 100%;
  456. }
  457. /* Make tables spaced out a bit more */
  458. h2 + table,
  459. h3 + table,
  460. h4 + table,
  461. h2 + .row {
  462. margin-top: 5px;
  463. }
  464. /* Example sites showcase */
  465. .example-sites img {
  466. max-width: 100%;
  467. margin: 0 auto;
  468. }
  469. .marketing-byline {
  470. margin: -18px 0 27px;
  471. font-size: 18px;
  472. font-weight: 300;
  473. line-height: 24px;
  474. color: #999;
  475. text-align: center;
  476. }
  477. .scrollspy-example {
  478. height: 200px;
  479. overflow: auto;
  480. position: relative;
  481. }
  482. /* Remove bottom margin on example forms in wells */
  483. form.well {
  484. padding: 14px;
  485. }
  486. /* Tighten up spacing */
  487. .well hr {
  488. margin: 18px 0;
  489. }
  490. /* Fake the :focus state to demo it */
  491. .focused {
  492. border-color: rgba(82,168,236,.8);
  493. -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  494. -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  495. box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  496. outline: 0;
  497. }
  498. /* For input sizes, make them display block */
  499. .docs-input-sizes select,
  500. .docs-input-sizes input[type=text] {
  501. display: block;
  502. margin-bottom: 9px;
  503. }
  504. /* Icons
  505. ------------------------- */
  506. .the-icons {
  507. margin-left: 0;
  508. list-style: none;
  509. }
  510. .the-icons i:hover {
  511. background-color: rgba(255,0,0,.25);
  512. }
  513. /* Eaxmples page
  514. ------------------------- */
  515. .bootstrap-examples .thumbnail {
  516. margin-bottom: 9px;
  517. background-color: #fff;
  518. }
  519. /* Responsive table
  520. ------------------------- */
  521. .responsive-utilities th small {
  522. display: block;
  523. font-weight: normal;
  524. color: #999;
  525. }
  526. .responsive-utilities tbody th {
  527. font-weight: normal;
  528. }
  529. .responsive-utilities td {
  530. text-align: center;
  531. }
  532. .responsive-utilities td.is-visible {
  533. color: #468847;
  534. background-color: #dff0d8 !important;
  535. }
  536. .responsive-utilities td.is-hidden {
  537. color: #ccc;
  538. background-color: #f9f9f9 !important;
  539. }
  540. /* Responsive tests
  541. ------------------------- */
  542. .responsive-utilities-test {
  543. margin-top: 5px;
  544. margin-left: 0;
  545. list-style: none;
  546. overflow: hidden; /* clear floats */
  547. }
  548. .responsive-utilities-test li {
  549. position: relative;
  550. float: left;
  551. width: 25%;
  552. height: 43px;
  553. font-size: 14px;
  554. font-weight: bold;
  555. line-height: 43px;
  556. color: #999;
  557. text-align: center;
  558. border: 1px solid #ddd;
  559. -webkit-border-radius: 4px;
  560. -moz-border-radius: 4px;
  561. border-radius: 4px;
  562. }
  563. .responsive-utilities-test li + li {
  564. margin-left: 10px;
  565. }
  566. .responsive-utilities-test span {
  567. position: absolute;
  568. top: -1px;
  569. left: -1px;
  570. right: -1px;
  571. bottom: -1px;
  572. -webkit-border-radius: 4px;
  573. -moz-border-radius: 4px;
  574. border-radius: 4px;
  575. }
  576. .responsive-utilities-test span {
  577. color: #468847;
  578. background-color: #dff0d8;
  579. border: 1px solid #d6e9c6;
  580. }
  581. /* Responsive Docs
  582. -------------------------------------------------- */
  583. @media (max-width: 480px) {
  584. /* Reduce padding above jumbotron */
  585. body {
  586. padding-top: 70px;
  587. }
  588. /* Change up some type stuff */
  589. h2 {
  590. margin-top: 27px;
  591. }
  592. h2 small {
  593. display: block;
  594. line-height: 18px;
  595. }
  596. h3 {
  597. margin-top: 18px;
  598. }
  599. /* Adjust the jumbotron */
  600. .jumbotron h1,
  601. .jumbotron p {
  602. text-align: center;
  603. margin-right: 0;
  604. }
  605. .jumbotron h1 {
  606. font-size: 45px;
  607. margin-right: 0;
  608. }
  609. .jumbotron p {
  610. margin-right: 0;
  611. margin-left: 0;
  612. font-size: 18px;
  613. line-height: 24px;
  614. }
  615. .jumbotron .btn {
  616. display: block;
  617. font-size: 18px;
  618. padding: 10px 14px;
  619. margin: 0 auto 10px;
  620. }
  621. /* Masthead (home page jumbotron) */
  622. .masthead {
  623. padding-top: 0;
  624. }
  625. /* Don't space out quick links so much */
  626. .quick-links {
  627. margin: 40px 0 0;
  628. }
  629. /* hide the bullets on mobile since our horizontal space is limited */
  630. .quick-links .divider {
  631. display: none;
  632. }
  633. /* center example sites */
  634. .example-sites {
  635. margin-left: 0;
  636. }
  637. .example-sites > li {
  638. float: none;
  639. display: block;
  640. max-width: 280px;
  641. margin: 0 auto 18px;
  642. text-align: center;
  643. }
  644. .example-sites .thumbnail > img {
  645. max-width: 270px;
  646. }
  647. table code {
  648. white-space: normal;
  649. word-wrap: break-word;
  650. word-break: break-all;
  651. }
  652. /* Modal example */
  653. .modal-example .modal {
  654. position: relative;
  655. top: auto;
  656. right: auto;
  657. bottom: auto;
  658. left: auto;
  659. }
  660. }
  661. @media (max-width: 768px) {
  662. /* Remove any padding from the body */
  663. body {
  664. padding-top: 0;
  665. }
  666. /* Jumbotron buttons */
  667. .jumbotron .btn {
  668. margin-bottom: 10px;
  669. }
  670. /* Subnav */
  671. .subnav {
  672. position: static;
  673. top: auto;
  674. z-index: auto;
  675. width: auto;
  676. height: auto;
  677. background: #fff; /* whole background property since we use a background-image for gradient */
  678. -webkit-box-shadow: none;
  679. -moz-box-shadow: none;
  680. box-shadow: none;
  681. }
  682. .subnav .nav > li {
  683. float: none;
  684. }
  685. .subnav .nav > li > a {
  686. border: 0;
  687. }
  688. .subnav .nav > li + li > a {
  689. border-top: 1px solid #e5e5e5;
  690. }
  691. .subnav .nav > li:first-child > a,
  692. .subnav .nav > li:first-child > a:hover {
  693. -webkit-border-radius: 4px 4px 0 0;
  694. -moz-border-radius: 4px 4px 0 0;
  695. border-radius: 4px 4px 0 0;
  696. }
  697. /* Popovers */
  698. .large-bird {
  699. display: none;
  700. }
  701. .popover-well .popover-wrapper {
  702. margin-left: 0;
  703. }
  704. /* Space out the show-grid examples */
  705. .show-grid [class*="span"] {
  706. margin-bottom: 5px;
  707. }
  708. /* Unfloat the back to top link in footer */
  709. .footer .pull-right {
  710. float: none;
  711. }
  712. .footer p {
  713. margin-bottom: 9px;
  714. }
  715. }
  716. @media (min-width: 480px) and (max-width: 768px) {
  717. /* Scale down the jumbotron content */
  718. .jumbotron h1 {
  719. font-size: 54px;
  720. }
  721. .jumbotron p {
  722. margin-right: 0;
  723. margin-left: 0;
  724. }
  725. }
  726. @media (min-width: 768px) and (max-width: 980px) {
  727. /* Remove any padding from the body */
  728. body {
  729. padding-top: 0;
  730. }
  731. /* Scale down the jumbotron content */
  732. .jumbotron h1 {
  733. font-size: 72px;
  734. }
  735. }
  736. @media (max-width: 980px) {
  737. /* Unfloat brand */
  738. .navbar-fixed-top .brand {
  739. float: left;
  740. margin-left: 0;
  741. padding-left: 10px;
  742. padding-right: 10px;
  743. }
  744. /* Inline-block quick links for more spacing */
  745. .quick-links li {
  746. display: inline-block;
  747. margin: 5px;
  748. }
  749. }
  750. /* LARGE DESKTOP SCREENS */
  751. @media (min-width: 1210px) {
  752. /* Update subnav container */
  753. .subnav-fixed .nav {
  754. width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
  755. }
  756. }