Source files for the neveragain.tech site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

424 lines
7.5 KiB

  1. /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
  2. /**
  3. * 1. Set default font family to sans-serif.
  4. * 2. Prevent iOS text size adjust after orientation change, without disabling
  5. * user zoom.
  6. */
  7. html {
  8. font-family: sans-serif; /* 1 */
  9. -ms-text-size-adjust: 100%; /* 2 */
  10. -webkit-text-size-adjust: 100%; /* 2 */
  11. }
  12. /**
  13. * Remove default margin.
  14. */
  15. body {
  16. margin: 0;
  17. }
  18. /* HTML5 display definitions
  19. ========================================================================== */
  20. /**
  21. * Correct `block` display not defined for any HTML5 element in IE 8/9.
  22. * Correct `block` display not defined for `details` or `summary` in IE 10/11
  23. * and Firefox.
  24. * Correct `block` display not defined for `main` in IE 11.
  25. */
  26. article,
  27. aside,
  28. details,
  29. figcaption,
  30. figure,
  31. footer,
  32. header,
  33. hgroup,
  34. main,
  35. menu,
  36. nav,
  37. section,
  38. summary {
  39. display: block;
  40. }
  41. /**
  42. * 1. Correct `inline-block` display not defined in IE 8/9.
  43. * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
  44. */
  45. audio,
  46. canvas,
  47. progress,
  48. video {
  49. display: inline-block; /* 1 */
  50. vertical-align: baseline; /* 2 */
  51. }
  52. /**
  53. * Prevent modern browsers from displaying `audio` without controls.
  54. * Remove excess height in iOS 5 devices.
  55. */
  56. audio:not([controls]) {
  57. display: none;
  58. height: 0;
  59. }
  60. /**
  61. * Address `[hidden]` styling not present in IE 8/9/10.
  62. * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
  63. */
  64. [hidden],
  65. template {
  66. display: none;
  67. }
  68. /* Links
  69. ========================================================================== */
  70. /**
  71. * Remove the gray background color from active links in IE 10.
  72. */
  73. a {
  74. background-color: transparent;
  75. }
  76. /**
  77. * Improve readability when focused and also mouse hovered in all browsers.
  78. */
  79. a:active,
  80. a:hover {
  81. outline: 0;
  82. }
  83. /* Text-level semantics
  84. ========================================================================== */
  85. /**
  86. * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
  87. */
  88. abbr[title] {
  89. border-bottom: 1px dotted;
  90. }
  91. /**
  92. * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
  93. */
  94. b,
  95. strong {
  96. font-weight: bold;
  97. }
  98. /**
  99. * Address styling not present in Safari and Chrome.
  100. */
  101. dfn {
  102. font-style: italic;
  103. }
  104. /**
  105. * Address variable `h1` font-size and margin within `section` and `article`
  106. * contexts in Firefox 4+, Safari, and Chrome.
  107. */
  108. h1 {
  109. font-size: 2em;
  110. margin: 0.67em 0;
  111. }
  112. /**
  113. * Address styling not present in IE 8/9.
  114. */
  115. mark {
  116. background: #ff0;
  117. color: #000;
  118. }
  119. /**
  120. * Address inconsistent and variable font size in all browsers.
  121. */
  122. small {
  123. font-size: 80%;
  124. }
  125. /**
  126. * Prevent `sub` and `sup` affecting `line-height` in all browsers.
  127. */
  128. sub,
  129. sup {
  130. font-size: 75%;
  131. line-height: 0;
  132. position: relative;
  133. vertical-align: baseline;
  134. }
  135. sup {
  136. top: -0.5em;
  137. }
  138. sub {
  139. bottom: -0.25em;
  140. }
  141. /* Embedded content
  142. ========================================================================== */
  143. /**
  144. * Remove border when inside `a` element in IE 8/9/10.
  145. */
  146. img {
  147. border: 0;
  148. }
  149. /**
  150. * Correct overflow not hidden in IE 9/10/11.
  151. */
  152. svg:not(:root) {
  153. overflow: hidden;
  154. }
  155. /* Grouping content
  156. ========================================================================== */
  157. /**
  158. * Address margin not present in IE 8/9 and Safari.
  159. */
  160. figure {
  161. margin: 1em 40px;
  162. }
  163. /**
  164. * Address differences between Firefox and other browsers.
  165. */
  166. hr {
  167. box-sizing: content-box;
  168. height: 0;
  169. }
  170. /**
  171. * Contain overflow in all browsers.
  172. */
  173. pre {
  174. overflow: auto;
  175. }
  176. /**
  177. * Address odd `em`-unit font size rendering in all browsers.
  178. */
  179. code,
  180. kbd,
  181. pre,
  182. samp {
  183. font-family: monospace, monospace;
  184. font-size: 1em;
  185. }
  186. /* Forms
  187. ========================================================================== */
  188. /**
  189. * Known limitation: by default, Chrome and Safari on OS X allow very limited
  190. * styling of `select`, unless a `border` property is set.
  191. */
  192. /**
  193. * 1. Correct color not being inherited.
  194. * Known issue: affects color of disabled elements.
  195. * 2. Correct font properties not being inherited.
  196. * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
  197. */
  198. button,
  199. input,
  200. optgroup,
  201. select,
  202. textarea {
  203. color: inherit; /* 1 */
  204. font: inherit; /* 2 */
  205. margin: 0; /* 3 */
  206. }
  207. /**
  208. * Address `overflow` set to `hidden` in IE 8/9/10/11.
  209. */
  210. button {
  211. overflow: visible;
  212. }
  213. /**
  214. * Address inconsistent `text-transform` inheritance for `button` and `select`.
  215. * All other form control elements do not inherit `text-transform` values.
  216. * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
  217. * Correct `select` style inheritance in Firefox.
  218. */
  219. button,
  220. select {
  221. text-transform: none;
  222. }
  223. /**
  224. * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
  225. * and `video` controls.
  226. * 2. Correct inability to style clickable `input` types in iOS.
  227. * 3. Improve usability and consistency of cursor style between image-type
  228. * `input` and others.
  229. */
  230. button,
  231. html input[type="button"], /* 1 */
  232. input[type="reset"],
  233. input[type="submit"] {
  234. -webkit-appearance: button; /* 2 */
  235. cursor: pointer; /* 3 */
  236. }
  237. /**
  238. * Re-set default cursor for disabled elements.
  239. */
  240. button[disabled],
  241. html input[disabled] {
  242. cursor: default;
  243. }
  244. /**
  245. * Remove inner padding and border in Firefox 4+.
  246. */
  247. button::-moz-focus-inner,
  248. input::-moz-focus-inner {
  249. border: 0;
  250. padding: 0;
  251. }
  252. /**
  253. * Address Firefox 4+ setting `line-height` on `input` using `!important` in
  254. * the UA stylesheet.
  255. */
  256. input {
  257. line-height: normal;
  258. }
  259. /**
  260. * It's recommended that you don't attempt to style these elements.
  261. * Firefox's implementation doesn't respect box-sizing, padding, or width.
  262. *
  263. * 1. Address box sizing set to `content-box` in IE 8/9/10.
  264. * 2. Remove excess padding in IE 8/9/10.
  265. */
  266. input[type="checkbox"],
  267. input[type="radio"] {
  268. box-sizing: border-box; /* 1 */
  269. padding: 0; /* 2 */
  270. }
  271. /**
  272. * Fix the cursor style for Chrome's increment/decrement buttons. For certain
  273. * `font-size` values of the `input`, it causes the cursor style of the
  274. * decrement button to change from `default` to `text`.
  275. */
  276. input[type="number"]::-webkit-inner-spin-button,
  277. input[type="number"]::-webkit-outer-spin-button {
  278. height: auto;
  279. }
  280. /**
  281. * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
  282. * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
  283. * (include `-moz` to future-proof).
  284. */
  285. input[type="search"] {
  286. -webkit-appearance: textfield; /* 1 */ /* 2 */
  287. box-sizing: content-box;
  288. }
  289. /**
  290. * Remove inner padding and search cancel button in Safari and Chrome on OS X.
  291. * Safari (but not Chrome) clips the cancel button when the search input has
  292. * padding (and `textfield` appearance).
  293. */
  294. input[type="search"]::-webkit-search-cancel-button,
  295. input[type="search"]::-webkit-search-decoration {
  296. -webkit-appearance: none;
  297. }
  298. /**
  299. * Define consistent border, margin, and padding.
  300. */
  301. fieldset {
  302. border: 1px solid #c0c0c0;
  303. margin: 0 2px;
  304. padding: 0.35em 0.625em 0.75em;
  305. }
  306. /**
  307. * 1. Correct `color` not being inherited in IE 8/9/10/11.
  308. * 2. Remove padding so people aren't caught out if they zero out fieldsets.
  309. */
  310. legend {
  311. border: 0; /* 1 */
  312. padding: 0; /* 2 */
  313. }
  314. /**
  315. * Remove default vertical scrollbar in IE 8/9/10/11.
  316. */
  317. textarea {
  318. overflow: auto;
  319. }
  320. /**
  321. * Don't inherit the `font-weight` (applied by a rule above).
  322. * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
  323. */
  324. optgroup {
  325. font-weight: bold;
  326. }
  327. /* Tables
  328. ========================================================================== */
  329. /**
  330. * Remove most spacing between table cells.
  331. */
  332. table {
  333. border-collapse: collapse;
  334. border-spacing: 0;
  335. }
  336. td,
  337. th {
  338. padding: 0;
  339. }