_normalize.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. <<<<<<< HEAD:library/scss/_normalize.scss
  2. /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
  3. =======
  4. /* normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
  5. >>>>>>> 1.7:library/scss/partials/_normalize.scss
  6. /* ==========================================================================
  7. HTML5 display definitions
  8. ========================================================================== */
  9. /**
  10. * Correct `block` display not defined in IE 8/9.
  11. */
  12. article,
  13. aside,
  14. details,
  15. figcaption,
  16. figure,
  17. footer,
  18. header,
  19. hgroup,
  20. main,
  21. nav,
  22. section,
  23. summary {
  24. display: block;
  25. }
  26. /**
  27. * Correct `inline-block` display not defined in IE 8/9.
  28. */
  29. audio,
  30. canvas,
  31. video {
  32. display: inline-block;
  33. }
  34. /**
  35. * Prevent modern browsers from displaying `audio` without controls.
  36. * Remove excess height in iOS 5 devices.
  37. */
  38. audio:not([controls]) {
  39. display: none;
  40. height: 0;
  41. }
  42. /**
  43. * Address `[hidden]` styling not present in IE 8/9.
  44. * Hide the `template` element in IE, Safari, and Firefox < 22.
  45. */
  46. [hidden],
  47. template {
  48. display: none;
  49. }
  50. /* ==========================================================================
  51. Base
  52. ========================================================================== */
  53. /**
  54. * 1. Set default font family to sans-serif.
  55. * 2. Prevent iOS text size adjust after orientation change, without disabling
  56. * user zoom.
  57. */
  58. html {
  59. font-family: sans-serif; /* 1 */
  60. -ms-text-size-adjust: 100%; /* 2 */
  61. -webkit-text-size-adjust: 100%; /* 2 */
  62. }
  63. /**
  64. * Remove default margin.
  65. */
  66. body {
  67. margin: 0;
  68. }
  69. /* ==========================================================================
  70. Links
  71. ========================================================================== */
  72. /**
  73. * Remove the gray background color from active links in IE 10.
  74. */
  75. a {
  76. background: transparent;
  77. }
  78. /**
  79. * Address `outline` inconsistency between Chrome and other browsers.
  80. */
  81. a:focus {
  82. outline: thin dotted;
  83. }
  84. /**
  85. * Improve readability when focused and also mouse hovered in all browsers.
  86. */
  87. a:active,
  88. a:hover {
  89. outline: 0;
  90. }
  91. /* ==========================================================================
  92. Typography
  93. ========================================================================== */
  94. /**
  95. * Address variable `h1` font-size and margin within `section` and `article`
  96. * contexts in Firefox 4+, Safari 5, and Chrome.
  97. */
  98. h1 {
  99. font-size: 2em;
  100. margin: 0.67em 0;
  101. }
  102. /**
  103. * Address styling not present in IE 8/9, Safari 5, and Chrome.
  104. */
  105. abbr[title] {
  106. border-bottom: 1px dotted;
  107. }
  108. /**
  109. * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
  110. */
  111. b,
  112. strong,
  113. .strong {
  114. font-weight: bold;
  115. }
  116. /**
  117. * Address styling not present in Safari 5 and Chrome.
  118. */
  119. dfn,
  120. em,
  121. .em {
  122. font-style: italic;
  123. }
  124. /**
  125. * Address differences between Firefox and other browsers.
  126. */
  127. hr {
  128. -moz-box-sizing: content-box;
  129. box-sizing: content-box;
  130. height: 0;
  131. }
  132. <<<<<<< HEAD:library/scss/_normalize.scss
  133. /**
  134. * Address styling not present in IE 8/9.
  135. */
  136. mark {
  137. background: #ff0;
  138. color: #000;
  139. =======
  140. /*
  141. * proper formatting (http://blog.fontdeck.com/post/9037028497/hyphens)
  142. */
  143. p {
  144. -webkit-hyphens: auto;
  145. -epub-hyphens: auto;
  146. -moz-hyphens: auto;
  147. hyphens: auto;
  148. }
  149. /*
  150. * Addresses margins set differently in IE6/7.
  151. */
  152. pre {
  153. margin: 0;
  154. >>>>>>> 1.7:library/scss/partials/_normalize.scss
  155. }
  156. /**
  157. * Correct font family set oddly in Safari 5 and Chrome.
  158. */
  159. code,
  160. kbd,
  161. pre,
  162. samp {
  163. font-family: monospace, serif;
  164. font-size: 1em;
  165. }
  166. /**
  167. * Improve readability of pre-formatted text in all browsers.
  168. */
  169. pre {
  170. white-space: pre-wrap;
  171. }
  172. /**
  173. * Set consistent quote types.
  174. */
  175. q {
  176. quotes: "\201C" "\201D" "\2018" "\2019";
  177. }
  178. /**
  179. * Address inconsistent and variable font size in all browsers.
  180. */
  181. <<<<<<< HEAD:library/scss/_normalize.scss
  182. small {
  183. font-size: 80%;
  184. =======
  185. q:before,
  186. q:after {
  187. content: '';
  188. content: none;
  189. }
  190. small, .small {
  191. font-size: 75%;
  192. >>>>>>> 1.7:library/scss/partials/_normalize.scss
  193. }
  194. /**
  195. * Prevent `sub` and `sup` affecting `line-height` in all browsers.
  196. */
  197. sub,
  198. sup {
  199. font-size: 75%;
  200. line-height: 0;
  201. position: relative;
  202. vertical-align: baseline;
  203. }
  204. sup {
  205. top: -0.5em;
  206. }
  207. sub {
  208. bottom: -0.25em;
  209. }
  210. /* ==========================================================================
  211. <<<<<<< HEAD:library/scss/_normalize.scss
  212. =======
  213. Lists
  214. ========================================================================== */
  215. /*
  216. * Addresses margins set differently in IE6/7.
  217. */
  218. dl,
  219. menu,
  220. ol,
  221. ul {
  222. margin: 1em 0;
  223. }
  224. dd {
  225. margin: 0;
  226. }
  227. /*
  228. * Addresses paddings set differently in IE6/7.
  229. */
  230. menu {
  231. padding: 0 0 0 40px;
  232. }
  233. ol,
  234. ul {
  235. padding: 0;
  236. list-style-type: none;
  237. }
  238. /*
  239. * Corrects list images handled incorrectly in IE7.
  240. */
  241. nav ul,
  242. nav ol {
  243. list-style: none;
  244. list-style-image: none;
  245. }
  246. /* ==========================================================================
  247. >>>>>>> 1.7:library/scss/partials/_normalize.scss
  248. Embedded content
  249. ========================================================================== */
  250. /**
  251. * Remove border when inside `a` element in IE 8/9.
  252. */
  253. img {
  254. border: 0;
  255. }
  256. /**
  257. * Correct overflow displayed oddly in IE 9.
  258. */
  259. svg:not(:root) {
  260. overflow: hidden;
  261. }
  262. /* ==========================================================================
  263. Figures
  264. ========================================================================== */
  265. /**
  266. * Address margin not present in IE 8/9 and Safari 5.
  267. */
  268. figure {
  269. margin: 0;
  270. }
  271. /* ==========================================================================
  272. Forms
  273. ========================================================================== */
  274. /**
  275. * Define consistent border, margin, and padding.
  276. */
  277. fieldset {
  278. border: 1px solid #c0c0c0;
  279. margin: 0 2px;
  280. padding: 0.35em 0.625em 0.75em;
  281. }
  282. /**
  283. * 1. Correct `color` not being inherited in IE 8/9.
  284. * 2. Remove padding so people aren't caught out if they zero out fieldsets.
  285. */
  286. legend {
  287. border: 0; /* 1 */
  288. padding: 0; /* 2 */
  289. }
  290. /**
  291. * 1. Correct font family not being inherited in all browsers.
  292. * 2. Correct font size not being inherited in all browsers.
  293. * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
  294. */
  295. button,
  296. input,
  297. select,
  298. textarea {
  299. font-family: inherit; /* 1 */
  300. font-size: 100%; /* 2 */
  301. margin: 0; /* 3 */
  302. }
  303. /**
  304. * Address Firefox 4+ setting `line-height` on `input` using `!important` in
  305. * the UA stylesheet.
  306. */
  307. button,
  308. input {
  309. line-height: normal;
  310. }
  311. /**
  312. * Address inconsistent `text-transform` inheritance for `button` and `select`.
  313. * All other form control elements do not inherit `text-transform` values.
  314. * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
  315. * Correct `select` style inheritance in Firefox 4+ and Opera.
  316. */
  317. button,
  318. select {
  319. text-transform: none;
  320. }
  321. /**
  322. * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
  323. * and `video` controls.
  324. * 2. Correct inability to style clickable `input` types in iOS.
  325. * 3. Improve usability and consistency of cursor style between image-type
  326. * `input` and others.
  327. */
  328. button,
  329. html input[type="button"], /* 1 */
  330. input[type="reset"],
  331. input[type="submit"] {
  332. -webkit-appearance: button; /* 2 */
  333. cursor: pointer; /* 3 */
  334. }
  335. /**
  336. * Re-set default cursor for disabled elements.
  337. */
  338. button[disabled],
  339. html input[disabled] {
  340. cursor: default;
  341. }
  342. /**
  343. * 1. Address box sizing set to `content-box` in IE 8/9/10.
  344. * 2. Remove excess padding in IE 8/9/10.
  345. */
  346. input[type="checkbox"],
  347. input[type="radio"] {
  348. box-sizing: border-box; /* 1 */
  349. padding: 0; /* 2 */
  350. }
  351. /**
  352. * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
  353. * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
  354. * (include `-moz` to future-proof).
  355. */
  356. input[type="search"] {
  357. -webkit-appearance: textfield; /* 1 */
  358. -moz-box-sizing: content-box;
  359. -webkit-box-sizing: content-box; /* 2 */
  360. box-sizing: content-box;
  361. }
  362. /**
  363. * Remove inner padding and search cancel button in Safari 5 and Chrome
  364. * on OS X.
  365. */
  366. input[type="search"]::-webkit-search-cancel-button,
  367. input[type="search"]::-webkit-search-decoration {
  368. -webkit-appearance: none;
  369. }
  370. /**
  371. * Remove inner padding and border in Firefox 4+.
  372. */
  373. button::-moz-focus-inner,
  374. input::-moz-focus-inner {
  375. border: 0;
  376. padding: 0;
  377. }
  378. /**
  379. * 1. Remove default vertical scrollbar in IE 8/9.
  380. * 2. Improve readability and alignment in all browsers.
  381. */
  382. textarea {
  383. overflow: auto; /* 1 */
  384. vertical-align: top; /* 2 */
  385. }
  386. /* ==========================================================================
  387. Tables
  388. ========================================================================== */
  389. /**
  390. * Remove most spacing between table cells.
  391. */
  392. table {
  393. border-collapse: collapse;
  394. border-spacing: 0;
  395. }
  396. <<<<<<< HEAD:library/scss/_normalize.scss
  397. // proper formatting (http://blog.fontdeck.com/post/9037028497/hyphens)
  398. p {
  399. -webkit-hyphens: auto;
  400. -epub-hyphens: auto;
  401. -moz-hyphens: auto;
  402. hyphens: auto;
  403. }
  404. b, strong, .strong { font-weight: bold; }
  405. dfn, em, .em { font-style: italic; }
  406. small, .small { font-size: 75%; }
  407. ul, ol {
  408. padding: 0;
  409. list-style-type: none;
  410. }
  411. dd {
  412. margin: 0;
  413. }
  414. .sidebar ul,
  415. .sidebar ol,
  416. .commentlist {
  417. list-style: none;
  418. }
  419. =======
  420. // BORDER-BOX ALL THE THINGS! (http://paulirish.com/2012/box-sizing-border-box-ftw/)
  421. * {
  422. -webkit-box-sizing: border-box;
  423. -moz-box-sizing: border-box;
  424. box-sizing: border-box;
  425. }
  426. // http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/
  427. .image-replacement,
  428. .ir {
  429. text-indent: 100%;
  430. white-space: nowrap;
  431. overflow: hidden;
  432. }
  433. // Contain floats: nicolasgallagher.com/micro-clearfix-hack/
  434. .clearfix, .cf {
  435. zoom: 1;
  436. &:before, &:after { content: ""; display: table; }
  437. &:after { clear: both; }
  438. }
  439. /*
  440. use the best ampersand
  441. http://simplebits.com/notebook/2008/08/14/ampersands-2/
  442. */
  443. span.amp {
  444. font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important;
  445. font-style: italic;
  446. }
  447. >>>>>>> 1.7:library/scss/partials/_normalize.scss