Default.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. html {
  2. font-family: sans-serif;
  3. color: -libweb-palette-base-text;
  4. }
  5. a {
  6. cursor: pointer;
  7. }
  8. body {
  9. margin: 8px;
  10. }
  11. h1,
  12. h2 {
  13. font-family: Pebbleton;
  14. font-size: 14px;
  15. font-weight: bold;
  16. }
  17. h3,
  18. h4,
  19. h5,
  20. h6 {
  21. font-weight: bold;
  22. }
  23. pre {
  24. font-family: monospace;
  25. margin-bottom: 8px;
  26. margin-top: 8px;
  27. white-space: pre;
  28. }
  29. code {
  30. font-family: monospace;
  31. }
  32. u,
  33. ins {
  34. text-decoration: underline;
  35. }
  36. strong,
  37. b {
  38. font-weight: bold;
  39. }
  40. html,
  41. address,
  42. blockquote,
  43. body,
  44. dd,
  45. div,
  46. dl,
  47. dt,
  48. fieldset,
  49. form,
  50. frame,
  51. frameset,
  52. hgroup,
  53. h1,
  54. h2,
  55. h3,
  56. h4,
  57. h5,
  58. h6,
  59. noframes,
  60. ol,
  61. p,
  62. ul,
  63. center,
  64. dir,
  65. hr,
  66. menu,
  67. pre,
  68. header,
  69. footer,
  70. nav,
  71. main,
  72. article,
  73. aside,
  74. section {
  75. display: block;
  76. }
  77. center {
  78. text-align: -libweb-center;
  79. }
  80. h1,
  81. h2,
  82. h3 {
  83. margin: 8px 0 8px 0;
  84. }
  85. h4,
  86. p,
  87. blockquote,
  88. ul,
  89. fieldset,
  90. form,
  91. ol,
  92. dl,
  93. dir,
  94. menu {
  95. margin: 4px 0 4px 0;
  96. }
  97. h5,
  98. h6 {
  99. margin: 2px 0 2px 0;
  100. }
  101. li {
  102. display: list-item;
  103. margin-left: 8px;
  104. margin-top: 2px;
  105. margin-bottom: 2px;
  106. }
  107. a:link {
  108. color: -libweb-link;
  109. text-decoration: underline;
  110. }
  111. a:hover {
  112. color: red;
  113. }
  114. hr {
  115. margin-top: 0.5em;
  116. margin-bottom: 0.5em;
  117. border: 1px inset #888888;
  118. }
  119. blink {
  120. display: inline;
  121. }
  122. table {
  123. display: table;
  124. }
  125. thead {
  126. display: table-header-group;
  127. vertical-align: middle;
  128. border-color: inherit;
  129. }
  130. tbody {
  131. display: table-row-group;
  132. vertical-align: middle;
  133. border-color: inherit;
  134. }
  135. tfoot {
  136. display: table-footer-group;
  137. vertical-align: middle;
  138. border-color: inherit;
  139. }
  140. tr {
  141. display: table-row;
  142. }
  143. td,
  144. th {
  145. display: table-cell;
  146. }
  147. col {
  148. display: table-column;
  149. }
  150. colgroup {
  151. display: table-column-group;
  152. }
  153. blockquote {
  154. margin-left: 25px;
  155. margin-right: 25px;
  156. }
  157. ul,
  158. ol {
  159. padding-left: 20px;
  160. }
  161. ul {
  162. list-style-type: disc;
  163. }
  164. ol {
  165. list-style-type: decimal;
  166. }
  167. /* FIXME: Implement these using :is() :^) */
  168. /* :is(ul, ol) ul */
  169. ul ul,
  170. ol ul {
  171. list-style-type: circle;
  172. }
  173. /* :is(ul, ol) :is(ul, ol) ul */
  174. ul ul ul,
  175. ol ul ul,
  176. ul ol ul,
  177. ol ol ul {
  178. list-style-type: square;
  179. }
  180. /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
  181. input[type=text] {
  182. border: 1px solid black;
  183. min-width: 80px;
  184. min-height: 16px;
  185. }
  186. option {
  187. display: none;
  188. }
  189. details {
  190. display: block;
  191. padding-left: 1em;
  192. }
  193. summary {
  194. display: block;
  195. font-weight: bold;
  196. }
  197. /* 15.3.1 Hidden elements
  198. * https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements
  199. */
  200. /* FIXME: Add `noframes` once frames are implemented. */
  201. /* FIXME: Add `noembed` once <embed> is implemented. */
  202. /* FIXME: Add `rp` once <ruby> is implemented. */
  203. [hidden], area, base, basefont, datalist, head, link, meta, /*noembed,*/
  204. /*noframes,*/ param, /*rp,*/ script, style, template, title {
  205. display: none;
  206. }
  207. embed[hidden] { display: inline; height: 0; width: 0; }
  208. input[type=hidden i] { display: none !important; }
  209. @media (scripting) {
  210. noscript { display: none !important; }
  211. }