forked from GNUsocial/gnu-social
148 lines
2.6 KiB
CSS
148 lines
2.6 KiB
CSS
/* link underlines tend to make hypertext less readable,
|
|
because underlines obscure the shapes of the lower halves of words */
|
|
:link, :visited {
|
|
text-decoration: none
|
|
}
|
|
|
|
/* no list-markers by default, since lists are used more often for semantics */
|
|
ul, ol {
|
|
list-style: none
|
|
}
|
|
|
|
/* 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 */
|
|
pre, form, body, html, blockquote, fieldset, input, textarea {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
/* whoever thought blue linked image borders were a good idea? */
|
|
a img, :link img, :visited img {
|
|
border: none;
|
|
}
|
|
|
|
/* de-italicize address */
|
|
address {
|
|
font-style: normal;
|
|
}
|
|
|
|
/* firefox focus outline */
|
|
:focus {
|
|
outline: none;
|
|
}
|
|
|
|
::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
/* details element arrow */
|
|
details summary > * {
|
|
margin: unset;
|
|
padding: unset;
|
|
}
|
|
|
|
details > summary {
|
|
list-style: none;
|
|
}
|
|
|
|
details > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
/* have IE ignore the detail elements altogether */
|
|
@supports not (-ms-ime-align: auto) {
|
|
details summary {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
/* TYPOGRAPHY AND GENERAL SELECTORS */
|
|
body,
|
|
html {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
background-attachment: fixed;
|
|
color: var(--white);
|
|
font-family: var(--main-font);
|
|
font-size: var(--small-size);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
all: unset;
|
|
display: block;
|
|
font-family: var(--display-font);
|
|
}
|
|
|
|
h1 {
|
|
font-size: var(--main-size);
|
|
font-weight: 700;
|
|
margin-bottom: 16.2px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--medium-size);
|
|
font-weight: 600;
|
|
margin-bottom: 13px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: var(--small-size);
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h4, h5 {
|
|
font-size: var(--small-size);
|
|
font-weight: 400;
|
|
margin-bottom: 6.1px;
|
|
}
|
|
|
|
p {
|
|
font-family: var(--main-font);
|
|
font-size: var(--small-size);
|
|
font-weight: 400;
|
|
margin: unset;
|
|
}
|
|
|
|
p:first-line {
|
|
padding-left: var(--small-size);
|
|
}
|
|
|
|
p:first-line {
|
|
margin-top: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
p:not(:first-line) {
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
textarea {
|
|
font-family: var(--main-font);
|
|
font-weight: 400;
|
|
}
|
|
|
|
ul {
|
|
text-decoration: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
li {
|
|
margin: 0;
|
|
padding: 0;
|
|
} |