Default.css 3.3 KB

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