mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 19:05:08 +00:00

The default style for "a" tags now has { color: -libhtml-link; }. We implement this vendor-specific property by querying the containing document for the appropriate link color. Currently we only use the basic link color, but in the future this can be extended to remember visited links, etc.
97 lines
1.2 KiB
CSS
97 lines
1.2 KiB
CSS
html {
|
|
font-family: Katica;
|
|
}
|
|
|
|
head, link, meta, script, style, title {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
margin-left: 8;
|
|
margin-top: 8;
|
|
margin-right: 8;
|
|
margin-bottom: 8;
|
|
}
|
|
|
|
h1, h2 {
|
|
font-family: Pebbleton;
|
|
font-weight: bold;
|
|
}
|
|
|
|
h3 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
pre {
|
|
margin-bottom: 8;
|
|
margin-top: 8;
|
|
white-space: pre;
|
|
}
|
|
|
|
code {
|
|
font-family: Csilla;
|
|
font-weight: lighter;
|
|
}
|
|
|
|
u, ins {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
strong, b {
|
|
font-weight: bold;
|
|
}
|
|
|
|
html, address,
|
|
blockquote,
|
|
body, dd, div,
|
|
dl, dt, fieldset, form,
|
|
frame, frameset,
|
|
h1, h2, h3, h4,
|
|
h5, h6, noframes,
|
|
ol, p, ul, center,
|
|
dir, hr, menu, pre {
|
|
display: block;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
margin-top: 8;
|
|
margin-bottom: 8;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
h4, p,
|
|
blockquote, ul,
|
|
fieldset, form,
|
|
ol, dl, dir,
|
|
menu {
|
|
margin-top: 4;
|
|
margin-bottom: 4;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
h5, h6 {
|
|
margin-top: 2;
|
|
margin-bottom: 2;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
li {
|
|
display: list-item;
|
|
margin-left: 8;
|
|
margin-top: 2;
|
|
margin-bottom: 2;
|
|
}
|
|
|
|
a {
|
|
color: -libhtml-link;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
hr {
|
|
border-width: 1;
|
|
border-color: #888888;
|
|
border-style: inset;
|
|
}
|