styles.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  1. /*
  2. Leap Day for GitHub Pages
  3. by Matt Graham
  4. */
  5. @font-face {
  6. font-family: 'Quattrocento Sans';
  7. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bold-webfont.eot');
  8. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bold-webfont.eot?#iefix') format("embedded-opentype"), url(''http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bold-webfont.woff') format("woff"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bold-webfont.ttf') format("truetype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bold-webfont.svg#QuattrocentoSansBold') format("svg");
  9. font-weight: bold;
  10. font-style: normal;
  11. }
  12. @font-face {
  13. font-family: 'Quattrocento Sans';
  14. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bolditalic-webfont.eot');
  15. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bolditalic-webfont.eot?#iefix') format("embedded-opentype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bolditalic-webfont.woff') format("woff"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bolditalic-webfont.ttf') format("truetype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-bolditalic-webfont.svg#QuattrocentoSansBoldItalic') format("svg");
  16. font-weight: bold;
  17. font-style: italic;
  18. }
  19. @font-face {
  20. font-family: 'Quattrocento Sans';
  21. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-italic-webfont.eot');
  22. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-italic-webfont.eot?#iefix') format("embedded-opentype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-italic-webfont.woff') format("woff"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-italic-webfont.ttf') format("truetype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-italic-webfont.svg#QuattrocentoSansItalic') format("svg");
  23. font-weight: normal;
  24. font-style: italic;
  25. }
  26. @font-face {
  27. font-family: 'Quattrocento Sans';
  28. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-regular-webfont.eot');
  29. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-regular-webfont.eot?#iefix') format("embedded-opentype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-regular-webfont.woff') format("woff"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-regular-webfont.ttf') format("truetype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/quattrocentosans-regular-webfont.svg#QuattrocentoSansRegular') format("svg");
  30. font-weight: normal;
  31. font-style: normal;
  32. }
  33. @font-face {
  34. font-family: 'Copse';
  35. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/copse-regular-webfont.eot');
  36. src: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/copse-regular-webfont.eot?#iefix') format("embedded-opentype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/copse-regular-webfont.woff') format("woff"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/copse-regular-webfont.ttf') format("truetype"), url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/fonts/copse-regular-webfont.svg#CopseRegular') format("svg");
  37. font-weight: normal;
  38. font-style: normal;
  39. }
  40. /* normalize.css 2012-02-07T12:37 UTC - http://github.com/necolas/normalize.css */
  41. /* =============================================================================
  42. HTML5 display definitions
  43. ========================================================================== */
  44. /*
  45. * Corrects block display not defined in IE6/7/8/9 & FF3
  46. */
  47. article,
  48. aside,
  49. details,
  50. figcaption,
  51. figure,
  52. footer,
  53. header,
  54. hgroup,
  55. nav,
  56. section,
  57. summary {
  58. display: block;
  59. }
  60. /*
  61. * Corrects inline-block display not defined in IE6/7/8/9 & FF3
  62. */
  63. audio,
  64. canvas,
  65. video {
  66. display: inline-block;
  67. *display: inline;
  68. *zoom: 1;
  69. }
  70. /*
  71. * Prevents modern browsers from displaying 'audio' without controls
  72. */
  73. audio:not([controls]) {
  74. display: none;
  75. }
  76. /*
  77. * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
  78. * Known issue: no IE6 support
  79. */
  80. [hidden] {
  81. display: none;
  82. }
  83. /* =============================================================================
  84. Base
  85. ========================================================================== */
  86. /*
  87. * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
  88. * http://clagnut.com/blog/348/#c790
  89. * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
  90. * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
  91. */
  92. html {
  93. font-size: 100%;
  94. /* 1 */
  95. -webkit-text-size-adjust: 100%;
  96. /* 2 */
  97. -ms-text-size-adjust: 100%;
  98. /* 2 */
  99. }
  100. /*
  101. * Addresses font-family inconsistency between 'textarea' and other form elements.
  102. */
  103. html,
  104. button,
  105. input,
  106. select,
  107. textarea {
  108. font-family: sans-serif;
  109. }
  110. /*
  111. * Addresses margins handled incorrectly in IE6/7
  112. */
  113. body {
  114. margin: 0;
  115. }
  116. /* =============================================================================
  117. Links
  118. ========================================================================== */
  119. /*
  120. * Addresses outline displayed oddly in Chrome
  121. */
  122. a:focus {
  123. outline: thin dotted;
  124. }
  125. /*
  126. * Improves readability when focused and also mouse hovered in all browsers
  127. * people.opera.com/patrickl/experiments/keyboard/test
  128. */
  129. a:hover,
  130. a:active {
  131. outline: 0;
  132. }
  133. /* =============================================================================
  134. Typography
  135. ========================================================================== */
  136. /*
  137. * Addresses font sizes and margins set differently in IE6/7
  138. * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
  139. */
  140. h1 {
  141. font-size: 2em;
  142. margin: 0.67em 0;
  143. }
  144. h2 {
  145. font-size: 1.5em;
  146. margin: 0.83em 0;
  147. }
  148. h3 {
  149. font-size: 1.17em;
  150. margin: 1em 0;
  151. }
  152. h4 {
  153. font-size: 1em;
  154. margin: 1.33em 0;
  155. }
  156. h5 {
  157. font-size: 0.83em;
  158. margin: 1.67em 0;
  159. }
  160. h6 {
  161. font-size: 0.75em;
  162. margin: 2.33em 0;
  163. }
  164. /*
  165. * Addresses styling not present in IE7/8/9, S5, Chrome
  166. */
  167. abbr[title] {
  168. border-bottom: 1px dotted;
  169. }
  170. /*
  171. * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
  172. */
  173. b,
  174. strong {
  175. font-weight: bold;
  176. }
  177. blockquote {
  178. margin: 1em 40px;
  179. }
  180. /*
  181. * Addresses styling not present in S5, Chrome
  182. */
  183. dfn {
  184. font-style: italic;
  185. }
  186. /*
  187. * Addresses styling not present in IE6/7/8/9
  188. */
  189. mark {
  190. background: #ff0;
  191. color: #000;
  192. }
  193. /*
  194. * Addresses margins set differently in IE6/7
  195. */
  196. p,
  197. pre {
  198. margin: 1em 0;
  199. }
  200. /*
  201. * Corrects font family set oddly in IE6, S4/5, Chrome
  202. * en.wikipedia.org/wiki/User:Davidgothberg/Test59
  203. */
  204. pre,
  205. code,
  206. kbd,
  207. samp {
  208. font-family: monospace, serif;
  209. _font-family: 'courier new', monospace;
  210. font-size: 1em;
  211. }
  212. /*
  213. * 1. Addresses CSS quotes not supported in IE6/7
  214. * 2. Addresses quote property not supported in S4
  215. */
  216. /* 1 */
  217. q {
  218. quotes: none;
  219. }
  220. /* 2 */
  221. q:before,
  222. q:after {
  223. content: '';
  224. content: none;
  225. }
  226. small {
  227. font-size: 75%;
  228. }
  229. /*
  230. * Prevents sub and sup affecting line-height in all browsers
  231. * gist.github.com/413930
  232. */
  233. sub,
  234. sup {
  235. font-size: 75%;
  236. line-height: 0;
  237. position: relative;
  238. vertical-align: baseline;
  239. }
  240. sup {
  241. top: -0.5em;
  242. }
  243. sub {
  244. bottom: -0.25em;
  245. }
  246. /* =============================================================================
  247. Lists
  248. ========================================================================== */
  249. /*
  250. * Addresses margins set differently in IE6/7
  251. */
  252. dl,
  253. menu,
  254. ol,
  255. ul {
  256. margin: 1em 0;
  257. }
  258. dd {
  259. margin: 0 0 0 40px;
  260. }
  261. /*
  262. * Addresses paddings set differently in IE6/7
  263. */
  264. menu,
  265. ol,
  266. ul {
  267. padding: 0 0 0 40px;
  268. }
  269. /*
  270. * Corrects list images handled incorrectly in IE7
  271. */
  272. nav ul,
  273. nav ol {
  274. list-style: none;
  275. list-style-image: none;
  276. }
  277. /* =============================================================================
  278. Embedded content
  279. ========================================================================== */
  280. /*
  281. * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
  282. * 2. Improves image quality when scaled in IE7
  283. * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
  284. */
  285. img {
  286. border: 0;
  287. /* 1 */
  288. -ms-interpolation-mode: bicubic;
  289. /* 2 */
  290. }
  291. /*
  292. * Corrects overflow displayed oddly in IE9
  293. */
  294. svg:not(:root) {
  295. overflow: hidden;
  296. }
  297. /* =============================================================================
  298. Figures
  299. ========================================================================== */
  300. /*
  301. * Addresses margin not present in IE6/7/8/9, S5, O11
  302. */
  303. figure {
  304. margin: 0;
  305. }
  306. /* =============================================================================
  307. Forms
  308. ========================================================================== */
  309. /*
  310. * Corrects margin displayed oddly in IE6/7
  311. */
  312. form {
  313. margin: 0;
  314. }
  315. /*
  316. * Define consistent border, margin, and padding
  317. */
  318. fieldset {
  319. border: 1px solid #c0c0c0;
  320. margin: 0 2px;
  321. padding: 0.35em 0.625em 0.75em;
  322. }
  323. /*
  324. * 1. Corrects color not being inherited in IE6/7/8/9
  325. * 2. Corrects text not wrapping in FF3
  326. * 3. Corrects alignment displayed oddly in IE6/7
  327. */
  328. legend {
  329. border: 0;
  330. /* 1 */
  331. padding: 0;
  332. white-space: normal;
  333. /* 2 */
  334. *margin-left: -7px;
  335. /* 3 */
  336. }
  337. /*
  338. * 1. Corrects font size not being inherited in all browsers
  339. * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
  340. * 3. Improves appearance and consistency in all browsers
  341. */
  342. button,
  343. input,
  344. select,
  345. textarea {
  346. font-size: 100%;
  347. /* 1 */
  348. margin: 0;
  349. /* 2 */
  350. vertical-align: baseline;
  351. /* 3 */
  352. *vertical-align: middle;
  353. /* 3 */
  354. }
  355. /*
  356. * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
  357. */
  358. button,
  359. input {
  360. line-height: normal;
  361. /* 1 */
  362. }
  363. /*
  364. * 1. Improves usability and consistency of cursor style between image-type 'input' and others
  365. * 2. Corrects inability to style clickable 'input' types in iOS
  366. * 3. Removes inner spacing in IE7 without affecting normal text inputs
  367. * Known issue: inner spacing remains in IE6
  368. */
  369. button,
  370. input[type="button"],
  371. input[type="reset"],
  372. input[type="submit"] {
  373. cursor: pointer;
  374. /* 1 */
  375. -webkit-appearance: button;
  376. /* 2 */
  377. *overflow: visible;
  378. /* 3 */
  379. }
  380. /*
  381. * Re-set default cursor for disabled elements
  382. */
  383. button[disabled],
  384. input[disabled] {
  385. cursor: default;
  386. }
  387. /*
  388. * 1. Addresses box sizing set to content-box in IE8/9
  389. * 2. Removes excess padding in IE8/9
  390. * 3. Removes excess padding in IE7
  391. Known issue: excess padding remains in IE6
  392. */
  393. input[type="checkbox"],
  394. input[type="radio"] {
  395. box-sizing: border-box;
  396. /* 1 */
  397. padding: 0;
  398. /* 2 */
  399. *height: 13px;
  400. /* 3 */
  401. *width: 13px;
  402. /* 3 */
  403. }
  404. /*
  405. * 1. Addresses appearance set to searchfield in S5, Chrome
  406. * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
  407. */
  408. input[type="search"] {
  409. -webkit-appearance: textfield;
  410. /* 1 */
  411. -moz-box-sizing: content-box;
  412. -webkit-box-sizing: content-box;
  413. /* 2 */
  414. box-sizing: content-box;
  415. }
  416. /*
  417. * Removes inner padding and search cancel button in S5, Chrome on OS X
  418. */
  419. input[type="search"]::-webkit-search-decoration,
  420. input[type="search"]::-webkit-search-cancel-button {
  421. -webkit-appearance: none;
  422. }
  423. /*
  424. * Removes inner padding and border in FF3+
  425. * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
  426. */
  427. button::-moz-focus-inner,
  428. input::-moz-focus-inner {
  429. border: 0;
  430. padding: 0;
  431. }
  432. /*
  433. * 1. Removes default vertical scrollbar in IE6/7/8/9
  434. * 2. Improves readability and alignment in all browsers
  435. */
  436. textarea {
  437. overflow: auto;
  438. /* 1 */
  439. vertical-align: top;
  440. /* 2 */
  441. }
  442. /* =============================================================================
  443. Tables
  444. ========================================================================== */
  445. /*
  446. * Remove most spacing between table cells
  447. */
  448. table {
  449. border-collapse: collapse;
  450. border-spacing: 0;
  451. }
  452. body {
  453. font: 14px/22px "Quattrocento Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  454. color: #666;
  455. font-weight: 300;
  456. margin: 0px;
  457. padding: 0px 0 20px 0px;
  458. }
  459. h1, h2, h3, h4, h5, h6 {
  460. color: #333;
  461. margin: 0 0 10px;
  462. }
  463. p, ul, ol, table, pre, dl {
  464. margin: 0 0 20px;
  465. }
  466. h1, h2, h3 {
  467. line-height: 1.1;
  468. }
  469. h1 {
  470. font-size: 28px;
  471. }
  472. h2 {
  473. font-size: 24px;
  474. color: #393939;
  475. }
  476. h3, h4, h5, h6 {
  477. color: #666666;
  478. }
  479. h3 {
  480. font-size: 18px;
  481. line-height: 24px;
  482. }
  483. a {
  484. color: #3399cc;
  485. font-weight: 400;
  486. text-decoration: none;
  487. }
  488. a small {
  489. font-size: 11px;
  490. color: #666;
  491. margin-top: -0.6em;
  492. display: block;
  493. }
  494. ul {
  495. list-style-image: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/images/bullet.png');
  496. }
  497. strong {
  498. font-weight: bold;
  499. color: #333;
  500. }
  501. .wrapper {
  502. width: 650px;
  503. margin: 0 auto;
  504. position: relative;
  505. }
  506. section img {
  507. max-width: 100%;
  508. }
  509. blockquote {
  510. border-left: 1px solid #ffcc00;
  511. margin: 0;
  512. padding: 0 0 0 20px;
  513. font-style: italic;
  514. }
  515. code {
  516. font-family: "Lucida Sans", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
  517. font-size: 13px;
  518. color: #efefef;
  519. text-shadow: 0px 1px 0px #000;
  520. margin: 0 4px;
  521. padding: 2px 6px;
  522. background: #333;
  523. -moz-border-radius: 2px;
  524. -webkit-border-radius: 2px;
  525. -o-border-radius: 2px;
  526. -ms-border-radius: 2px;
  527. -khtml-border-radius: 2px;
  528. border-radius: 2px;
  529. }
  530. pre {
  531. padding: 8px 15px;
  532. background: #333333;
  533. -moz-border-radius: 3px;
  534. -webkit-border-radius: 3px;
  535. -o-border-radius: 3px;
  536. -ms-border-radius: 3px;
  537. -khtml-border-radius: 3px;
  538. border-radius: 3px;
  539. border: 1px solid #c7c7c7;
  540. overflow: auto;
  541. overflow-y: hidden;
  542. }
  543. pre code {
  544. margin: 0px;
  545. padding: 0px;
  546. }
  547. table {
  548. width: 100%;
  549. border-collapse: collapse;
  550. }
  551. th {
  552. text-align: left;
  553. padding: 5px 10px;
  554. border-bottom: 1px solid #e5e5e5;
  555. color: #444;
  556. }
  557. td {
  558. text-align: left;
  559. padding: 5px 10px;
  560. border-bottom: 1px solid #e5e5e5;
  561. border-right: 1px solid #ffcc00;
  562. }
  563. td:first-child {
  564. border-left: 1px solid #ffcc00;
  565. }
  566. hr {
  567. border: 0;
  568. outline: none;
  569. height: 11px;
  570. background: transparent url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/images/hr.gif') center center repeat-x;
  571. margin: 0 0 20px;
  572. }
  573. dt {
  574. color: #444;
  575. font-weight: 700;
  576. }
  577. header {
  578. padding: 25px 20px 40px 20px;
  579. margin: 0;
  580. position: fixed;
  581. top: 0;
  582. left: 0;
  583. right: 0;
  584. width: 100%;
  585. text-align: center;
  586. background: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/images/background.png') #4276b6;
  587. -moz-box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75);
  588. -webkit-box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75);
  589. -o-box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75);
  590. box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75);
  591. z-index: 99;
  592. -webkit-font-smoothing: antialiased;
  593. min-height: 76px;
  594. }
  595. header h1 {
  596. font: 40px/48px "Copse", "Helvetica Neue", Helvetica, Arial, sans-serif;
  597. color: #f3f3f3;
  598. text-shadow: 0px 2px 0px #235796;
  599. margin: 0px;
  600. white-space: nowrap;
  601. overflow: hidden;
  602. text-overflow: ellipsis;
  603. -o-text-overflow: ellipsis;
  604. -ms-text-overflow: ellipsis;
  605. }
  606. header p {
  607. color: #d8d8d8;
  608. text-shadow: rgba(0, 0, 0, 0.2) 0 1px 0;
  609. font-size: 18px;
  610. margin: 0px;
  611. }
  612. #banner {
  613. z-index: 100;
  614. left: 0;
  615. right: 50%;
  616. height: 50px;
  617. margin-right: -382px;
  618. position: fixed;
  619. top: 115px;
  620. background: #ffcc00;
  621. border: 1px solid #f0b500;
  622. -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
  623. -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
  624. -o-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
  625. box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
  626. -moz-border-radius: 0px 2px 2px 0px;
  627. -webkit-border-radius: 0px 2px 2px 0px;
  628. -o-border-radius: 0px 2px 2px 0px;
  629. -ms-border-radius: 0px 2px 2px 0px;
  630. -khtml-border-radius: 0px 2px 2px 0px;
  631. border-radius: 0px 2px 2px 0px;
  632. padding-right: 10px;
  633. }
  634. #banner .button {
  635. border: 1px solid #dba500;
  636. background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffe788), color-stop(100%, #ffce38));
  637. background: -webkit-linear-gradient(#ffe788, #ffce38);
  638. background: -moz-linear-gradient(#ffe788, #ffce38);
  639. background: -o-linear-gradient(#ffe788, #ffce38);
  640. background: -ms-linear-gradient(#ffe788, #ffce38);
  641. background: linear-gradient(#ffe788, #ffce38);
  642. -moz-border-radius: 2px;
  643. -webkit-border-radius: 2px;
  644. -o-border-radius: 2px;
  645. -ms-border-radius: 2px;
  646. -khtml-border-radius: 2px;
  647. border-radius: 2px;
  648. -moz-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1);
  649. -webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1);
  650. -o-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1);
  651. box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1);
  652. background-color: #FFE788;
  653. margin-left: 5px;
  654. padding: 10px 12px;
  655. margin-top: 6px;
  656. line-height: 14px;
  657. font-size: 14px;
  658. color: #333;
  659. font-weight: bold;
  660. display: inline-block;
  661. text-align: center;
  662. }
  663. #banner .button:hover {
  664. background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffe788), color-stop(100%, #ffe788));
  665. background: -webkit-linear-gradient(#ffe788, #ffe788);
  666. background: -moz-linear-gradient(#ffe788, #ffe788);
  667. background: -o-linear-gradient(#ffe788, #ffe788);
  668. background: -ms-linear-gradient(#ffe788, #ffe788);
  669. background: linear-gradient(#ffe788, #ffe788);
  670. background-color: #ffeca0;
  671. }
  672. #banner .fork {
  673. position: fixed;
  674. left: 50%;
  675. margin-left: -325px;
  676. padding: 10px 12px;
  677. margin-top: 6px;
  678. line-height: 14px;
  679. font-size: 14px;
  680. background-color: #FFE788;
  681. }
  682. #banner .downloads {
  683. float: right;
  684. margin: 0 45px 0 0;
  685. }
  686. #banner .downloads span {
  687. float: left;
  688. line-height: 52px;
  689. font-size: 90%;
  690. color: #9d7f0d;
  691. text-transform: uppercase;
  692. text-shadow: rgba(255, 255, 255, 0.2) 0 1px 0;
  693. }
  694. #banner ul {
  695. list-style: none;
  696. height: 40px;
  697. padding: 0;
  698. float: left;
  699. margin-left: 10px;
  700. }
  701. #banner ul li {
  702. display: inline;
  703. }
  704. #banner ul li a.button {
  705. background-color: #FFE788;
  706. }
  707. #banner #logo {
  708. position: absolute;
  709. height: 36px;
  710. width: 36px;
  711. right: 7px;
  712. top: 7px;
  713. display: block;
  714. background: url('http://bdmdesign.github.io/bootstrap-switch-BdMdesigN/images/octocat-logo.png');
  715. }
  716. section {
  717. width: 760px;
  718. padding: 30px 30px 50px 30px;
  719. margin: 90px 30px 50px -80px;
  720. position: relative;
  721. background: #fbfbfb;
  722. -moz-border-radius: 3px;
  723. -webkit-border-radius: 3px;
  724. -o-border-radius: 3px;
  725. -ms-border-radius: 3px;
  726. -khtml-border-radius: 3px;
  727. border-radius: 3px;
  728. border: 1px solid #cbcbcb;
  729. -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4);
  730. -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4);
  731. -o-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4);
  732. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4);
  733. }
  734. small {
  735. font-size: 12px;
  736. }
  737. nav {
  738. width: 230px;
  739. position: fixed;
  740. top: 150px;
  741. left: 50%;
  742. margin-left: -660px;
  743. text-align: right;
  744. }
  745. nav ul {
  746. list-style: none;
  747. list-style-image: none;
  748. font-size: 14px;
  749. line-height: 24px;
  750. }
  751. nav ul li {
  752. padding: 5px 0px;
  753. line-height: 16px;
  754. }
  755. nav ul li.tag-h1 {
  756. font-size: 1.2em;
  757. }
  758. nav ul li.tag-h1 a {
  759. font-weight: bold;
  760. color: #333;
  761. }
  762. nav ul li.tag-h2 + .tag-h1 {
  763. margin-top: 10px;
  764. }
  765. nav ul a {
  766. color: #666;
  767. }
  768. nav ul a:hover {
  769. color: #999;
  770. }
  771. footer {
  772. width: 180px;
  773. position: fixed;
  774. left: 50%;
  775. margin-left: -530px;
  776. bottom: 20px;
  777. text-align: right;
  778. line-height: 16px;
  779. }
  780. @media print, screen and (max-width: 1060px) {
  781. div.wrapper {
  782. width: auto;
  783. margin: 0;
  784. }
  785. nav {
  786. display: none;
  787. }
  788. header, section, footer {
  789. float: none;
  790. }
  791. header h1, section h1, footer h1 {
  792. white-space: nowrap;
  793. overflow: hidden;
  794. text-overflow: ellipsis;
  795. -o-text-overflow: ellipsis;
  796. -ms-text-overflow: ellipsis;
  797. }
  798. #banner {
  799. width: 100%;
  800. }
  801. #banner .downloads {
  802. margin-right: 60px;
  803. }
  804. #banner #logo {
  805. margin-right: 15px;
  806. }
  807. section {
  808. border: 1px solid #e5e5e5;
  809. border-width: 1px 0;
  810. padding: 20px auto;
  811. margin: 190px auto 20px;
  812. max-width: 600px;
  813. }
  814. footer {
  815. text-align: center;
  816. margin: 20px auto;
  817. position: relative;
  818. left: auto;
  819. bottom: auto;
  820. width: auto;
  821. }
  822. }
  823. @media print, screen and (max-width: 720px) {
  824. body {
  825. word-wrap: break-word;
  826. }
  827. header {
  828. padding: 20px 20px;
  829. margin: 0;
  830. }
  831. header h1 {
  832. font-size: 32px;
  833. white-space: nowrap;
  834. overflow: hidden;
  835. text-overflow: ellipsis;
  836. -o-text-overflow: ellipsis;
  837. -ms-text-overflow: ellipsis;
  838. }
  839. header p {
  840. display: none;
  841. }
  842. #banner {
  843. top: 80px;
  844. }
  845. #banner .fork {
  846. float: left;
  847. display: inline-block;
  848. margin-left: 0px;
  849. position: fixed;
  850. left: 20px;
  851. }
  852. section {
  853. margin-top: 130px;
  854. margin-bottom: 0px;
  855. width: auto;
  856. }
  857. header ul, header p.view {
  858. position: static;
  859. }
  860. }
  861. @media print, screen and (max-width: 480px) {
  862. header {
  863. position: relative;
  864. padding: 5px 0px;
  865. min-height: 0px;
  866. }
  867. header h1 {
  868. font-size: 24px;
  869. white-space: nowrap;
  870. overflow: hidden;
  871. text-overflow: ellipsis;
  872. -o-text-overflow: ellipsis;
  873. -ms-text-overflow: ellipsis;
  874. }
  875. section {
  876. margin-top: 5px;
  877. }
  878. #banner {
  879. display: none;
  880. }
  881. header ul {
  882. display: none;
  883. }
  884. }
  885. @media print {
  886. body {
  887. padding: 0.4in;
  888. font-size: 12pt;
  889. color: #444;
  890. }
  891. }
  892. @media print, screen and (max-height: 680px) {
  893. footer {
  894. text-align: center;
  895. margin: 20px auto;
  896. position: relative;
  897. left: auto;
  898. bottom: auto;
  899. width: auto;
  900. }
  901. }
  902. @media print, screen and (max-height: 480px) {
  903. nav {
  904. display: none;
  905. }
  906. footer {
  907. text-align: center;
  908. margin: 20px auto;
  909. position: relative;
  910. left: auto;
  911. bottom: auto;
  912. width: auto;
  913. }
  914. }