Default.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. html {
  2. font-family: sans-serif;
  3. color: -libweb-palette-base-text;
  4. }
  5. a {
  6. cursor: pointer;
  7. }
  8. head,
  9. link,
  10. meta,
  11. script,
  12. style,
  13. title {
  14. display: none;
  15. }
  16. body {
  17. margin: 8px;
  18. }
  19. h1,
  20. h2 {
  21. font-family: Pebbleton;
  22. font-size: 14px;
  23. font-weight: bold;
  24. }
  25. h3,
  26. h4,
  27. h5,
  28. h6 {
  29. font-weight: bold;
  30. }
  31. pre {
  32. font-family: monospace;
  33. margin-bottom: 8px;
  34. margin-top: 8px;
  35. white-space: pre;
  36. }
  37. code {
  38. font-family: monospace;
  39. }
  40. u,
  41. ins {
  42. text-decoration: underline;
  43. }
  44. strong,
  45. b {
  46. font-weight: bold;
  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. basefont {
  162. display: block;
  163. }
  164. blockquote {
  165. margin-left: 25px;
  166. margin-right: 25px;
  167. }
  168. ul,
  169. ol {
  170. padding-left: 20px;
  171. }
  172. ul {
  173. list-style-type: disc;
  174. }
  175. ol {
  176. list-style-type: decimal;
  177. }
  178. /* FIXME: Implement these using :is() :^) */
  179. /* :is(ul, ol) ul */
  180. ul ul,
  181. ol ul {
  182. list-style-type: circle;
  183. }
  184. /* :is(ul, ol) :is(ul, ol) ul */
  185. ul ul ul,
  186. ol ul ul,
  187. ul ol ul,
  188. ol ol ul {
  189. list-style-type: square;
  190. }
  191. /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
  192. input[type=text] {
  193. border: 1px solid black;
  194. min-width: 80px;
  195. min-height: 16px;
  196. }
  197. option {
  198. display: none;
  199. }