2020-08-20 09:48:01 +09:00
|
|
|
/* link underlines tend to make hypertext less readable,
|
|
|
|
because underlines obscure the shapes of the lower halves of words */
|
2021-07-21 03:30:49 +09:00
|
|
|
:link, :visited {
|
|
|
|
text-decoration: none
|
|
|
|
}
|
2020-08-20 09:48:01 +09:00
|
|
|
|
|
|
|
/* no list-markers by default, since lists are used more often for semantics */
|
2021-07-21 03:30:49 +09:00
|
|
|
ul, ol {
|
|
|
|
list-style: none
|
|
|
|
}
|
2020-08-20 09:48:01 +09:00
|
|
|
|
|
|
|
/* avoid browser default inconsistent heading font-sizes */
|
|
|
|
/* and pre/code too */
|
2021-07-21 03:30:49 +09:00
|
|
|
h1, h2, h3, h4, h5, h6, pre, code {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2020-08-20 09:48:01 +09: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-21 03:30:49 +09: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 09:48:01 +09:00
|
|
|
|
|
|
|
/* whoever thought blue linked image borders were a good idea? */
|
2021-07-21 03:30:49 +09:00
|
|
|
a img, :link img, :visited img {
|
|
|
|
border: none
|
|
|
|
}
|
2020-08-20 09:48:01 +09:00
|
|
|
|
|
|
|
/* de-italicize address */
|
2021-07-21 03:30:49 +09:00
|
|
|
address {
|
|
|
|
font-style: normal
|
|
|
|
}
|
2020-08-20 09:48:01 +09:00
|
|
|
|
2020-08-29 14:20:02 +09:00
|
|
|
/* firefox focus outline */
|
2021-07-21 03:30:49 +09:00
|
|
|
:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
2021-07-20 23:51:32 +09:00
|
|
|
|
|
|
|
/* details element arrow */
|
|
|
|
details > summary {
|
|
|
|
list-style: none;
|
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2021-07-20 23:51:32 +09:00
|
|
|
details > summary::-webkit-details-marker {
|
|
|
|
display: none;
|
2021-07-21 03:30:49 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
/* have IE ignore the detail elements altogether */
|
|
|
|
@supports not (-ms-ime-align: auto) {
|
|
|
|
|
|
|
|
details summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
details summary > * {
|
|
|
|
display: inline;
|
|
|
|
}
|
2021-07-20 23:51:32 +09:00
|
|
|
}
|