basic.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. /*
  2. <https://y.st./>
  3. Copyright © 2015-2016 //y.st. <mailto:copyright@y.st>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org./licenses/>.
  14. */
  15. * {
  16. /* CSS 2.1 */
  17. margin: 0rem;
  18. padding: 0rem;
  19. border-width: 0rem;
  20. border-color: #fff;
  21. border-style: none;
  22. display: inline;
  23. position: static;
  24. top: auto;
  25. right: auto;
  26. bottom: auto;
  27. left: auto;
  28. float: none;
  29. clear: none;
  30. z-index: auto;
  31. direction: inherit;
  32. unicode-bidi: normal;
  33. /* width: auto; Setting this overrides the "width" property in the XHTML. */
  34. min-width: 0rem;
  35. max-width: none;
  36. /* height: auto; Setting this overrides the "height" property in the XHTML. */
  37. min-height: 0rem;
  38. max-height: none;
  39. line-height: inherit;
  40. vertical-align: baseline;
  41. overflow: visible;
  42. clip: auto;
  43. visibility: inherit;
  44. content: normal;
  45. quotes: inherit;
  46. counter-reset: none;
  47. counter-increment: none;
  48. list-style-type: inherit;
  49. list-style-image: inherit;
  50. list-style-position: inherit;
  51. page-break-before: auto;
  52. page-break-after: auto;
  53. page-break-inside: auto;
  54. orphans: inherit;
  55. widows: inherit;
  56. color: inherit;
  57. background-color: none;
  58. background-image: none;
  59. background-repeat: repeat;
  60. background-attachment: scroll;
  61. background-position: 0% 0%;
  62. font-family: inherit;
  63. font-style: inherit;
  64. font-variant: inherit;
  65. font-weight: inherit;
  66. font-size: inherit;
  67. text-indent: inherit;
  68. text-align: inherit;
  69. text-decoration: none;
  70. letter-spacing: inherit;
  71. word-spacing: inherit;
  72. text-transform: inherit;
  73. white-space: inherit;
  74. caption-side: inherit;
  75. table-layout: auto;
  76. border-collapse: inherit;
  77. border-spacing: inherit;
  78. empty-cells: inherit;
  79. cursor: inherit;
  80. outline-width: inherit;
  81. outline-style: inherit;
  82. outline-color: inherit;
  83. speak: inherit;
  84. pause-before: 0;
  85. pause-after: 0;
  86. cue-before: none;
  87. cue-after: none;
  88. voice-family: inherit;
  89. justify-content: center;
  90. text-decoration-style: solid;
  91. }
  92. body {
  93. /* CSS 2.1 */
  94. direction: ltr;
  95. line-height: normal;
  96. visibility: visible;
  97. quotes: '"' '"' "'" "'";
  98. list-style-type: disc;
  99. list-style-image: none;
  100. list-style-position: outside;
  101. orphans: 2;
  102. widows: 2;
  103. color: white;
  104. background-color: black;
  105. font-family: monospace;
  106. font-style: normal;
  107. font-variant: normal;
  108. font-weight: normal;
  109. font-size: medium;
  110. text-indent: 0rem;
  111. text-align: left; /* This should be set to "auto", but no such option exists. */
  112. letter-spacing: normal;
  113. word-spacing: normal;
  114. text-transform: none;
  115. white-space: normal;
  116. caption-side: top;
  117. border-collapse: separate;
  118. border-spacing: 0rem;
  119. empty-cells: show;
  120. cursor: auto;
  121. outline-width: medium;
  122. outline-style: none;
  123. outline-color: invert;
  124. speak: normal;
  125. voice-family: neutral;
  126. }
  127. head, script {
  128. display: none;
  129. }
  130. html, body, article, section, nav, aside, h1, h2, h3, h4, h5, h6, header, footer, address, p, hr, pre, blockquote, ol, ul, dl, dt, dd, figure, figcaption, div, main, form, noscript, marquee, meter, progress {
  131. display: block;
  132. }
  133. li {
  134. display: list-item;
  135. }
  136. a, em, strong, small, s, cite, q, dfn, abbr, data, time, code, var, samp, kbd, sub, sup, i, b, u, mark, ruby, rb, rt, rtc, rp, bdi, bdo, span, br, wbr, ins, del {
  137. display: inline;
  138. }
  139. img, iframe, embed, object, param, video, audio, source, track, map, area, label, input, button, select, datalist, optgroup, option, textarea, keygen, output, progress, meter, fieldset, legend, template, canvas, applet {
  140. display: inline-block;
  141. }
  142. table {
  143. display: table;
  144. margin: 1rem;
  145. }
  146. caption {
  147. display: table-caption;
  148. }
  149. colgroup {
  150. display: table-column-group;
  151. }
  152. col {
  153. display: table-column;
  154. }
  155. tbody {
  156. display: table-row-group;
  157. }
  158. thead {
  159. display: table-header-group
  160. }
  161. tfoot {
  162. display: table-footer-group
  163. }
  164. tr {
  165. display: table-row;
  166. }
  167. td, th {
  168. display: table-cell;
  169. border: 1px solid #fff;
  170. padding: 0.5rem;
  171. }
  172. q:before {
  173. content: open-quote;
  174. }
  175. q:after {
  176. content: close-quote;
  177. }
  178. a {
  179. text-decoration: underline;
  180. }
  181. a:link {
  182. text-decoration-color: #008;
  183. }
  184. a:visited {
  185. text-decoration-color: #800;
  186. }
  187. a:hover {
  188. text-decoration-color: #080;
  189. cursor: pointer;
  190. }
  191. a:active {
  192. text-decoration-color: #088;
  193. }
  194. hr {
  195. border-bottom: 1px solid;
  196. margin: 0.5rem;
  197. }
  198. p {
  199. margin: 1rem;
  200. line-height: 1.5;
  201. }
  202. pre {
  203. margin: 1rem;
  204. }
  205. ol, ul {
  206. padding: 1rem 3rem 1rem 3rem;
  207. margin: 1rem 3rem 1rem 3rem;
  208. }
  209. ol {
  210. list-style-type: decimal;
  211. }
  212. ul {
  213. list-style-type: disc;
  214. }
  215. ul ul {
  216. list-style-type: circle;
  217. }
  218. ul ul ul {
  219. list-style-type: square;
  220. }
  221. li ol, li ul {
  222. padding: 0rem 1rem 0rem 1rem;
  223. margin: 0rem 1rem 0rem 1rem;
  224. }
  225. em, i {
  226. font-style: italic;
  227. }
  228. del {
  229. text-decoration: line-through;
  230. }
  231. ins {
  232. text-decoration: underline;
  233. }
  234. h1, h2, h3, h4, h5, h6, strong, b {
  235. font-weight: bold;
  236. }
  237. h1 {
  238. font-size: 2rem;
  239. margin: 1em 1rem;
  240. }
  241. h2 {
  242. font-size: 1.5rem;
  243. margin: 1em 1rem;
  244. }
  245. h3 {
  246. font-size: 1.25rem;
  247. margin: 1em 1rem;
  248. }
  249. h4 {
  250. font-size: 1.125rem;
  251. margin: 1em 1rem;
  252. }
  253. h5 {
  254. font-size: 1.0625rem;
  255. margin: 1em 1rem;
  256. }
  257. h6 {
  258. font-size: 1.03125rem;
  259. margin: 1em 1rem;
  260. }
  261. [title] {
  262. text-decoration: underline;
  263. text-decoration-style: dotted;
  264. cursor: help;
  265. }
  266. blockquote {
  267. margin: 2rem;
  268. padding: 1rem;
  269. border: 1px dashed;
  270. }
  271. pre {
  272. white-space: pre;
  273. }
  274. code {
  275. background-color: #111;
  276. border: 1px #333;
  277. white-space: pre-wrap;
  278. }
  279. header {
  280. margin: 1rem;
  281. }
  282. /* This *MUST* be one of the last styles listed in this style sheet. */
  283. header * {
  284. margin: 0rem;
  285. }