2020-08-20 01:48:01 +01:00
|
|
|
/* link underlines tend to make hypertext less readable,
|
|
|
|
because underlines obscure the shapes of the lower halves of words */
|
2021-07-20 19:30:49 +01:00
|
|
|
:link, :visited {
|
|
|
|
text-decoration: none
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* no list-markers by default, since lists are used more often for semantics */
|
2021-07-20 19:30:49 +01:00
|
|
|
ul, ol {
|
|
|
|
list-style: none
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* avoid browser default inconsistent heading font-sizes */
|
|
|
|
/* and pre/code too */
|
2021-07-20 19:30:49 +01:00
|
|
|
h1, h2, h3, h4, h5, h6, pre, code {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* remove the inconsistent (among browsers) default ul,ol padding or margin */
|
|
|
|
/* the default spacing on headings does not match nor align with
|
|
|
|
normal interline spacing at all, so let's get rid of it. */
|
|
|
|
/* zero out the spacing around pre, form, body, html, p, blockquote as well */
|
|
|
|
/* form elements are oddly inconsistent, and not quite CSS emulatable. */
|
|
|
|
/* nonetheless strip their margin and padding as well */
|
2021-07-20 19:30:49 +01:00
|
|
|
ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input, textarea {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* whoever thought blue linked image borders were a good idea? */
|
2021-07-20 19:30:49 +01:00
|
|
|
a img, :link img, :visited img {
|
|
|
|
border: none
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* de-italicize address */
|
2021-07-20 19:30:49 +01:00
|
|
|
address {
|
|
|
|
font-style: normal
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
2020-08-29 06:20:02 +01:00
|
|
|
/* firefox focus outline */
|
2021-07-20 19:30:49 +01:00
|
|
|
:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
2021-07-20 15:51:32 +01:00
|
|
|
|
2021-07-27 13:51:49 +01:00
|
|
|
form {
|
|
|
|
all: unset;
|
|
|
|
}
|
|
|
|
|
2021-07-20 15:51:32 +01:00
|
|
|
/* details element arrow */
|
|
|
|
details > summary {
|
|
|
|
list-style: none;
|
|
|
|
}
|
2021-07-20 19:30:49 +01:00
|
|
|
|
2021-07-20 15:51:32 +01:00
|
|
|
details > summary::-webkit-details-marker {
|
|
|
|
display: none;
|
2021-07-20 19:30:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* have IE ignore the detail elements altogether */
|
|
|
|
@supports not (-ms-ime-align: auto) {
|
|
|
|
details summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2021-07-20 15:51:32 +01:00
|
|
|
}
|