gnusocial.rocks/assets/css/reset.css

121 lines
1.9 KiB
CSS

/*
* -- RESET --
*/
ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input, textarea {
margin: 0;
padding: 0;
border: none;
}
a img, :link img, :visited img {
border: none;
}
:focus {
outline: none;
}
::-moz-focus-inner {
border: 0;
}
form {
all: unset;
}
body, html {
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 1rem;
font-family: "Open Sans", sans-serif;
color: #221E22;
background-color: #F6F4F6;
}
a {
text-decoration: none !important;
font-weight: bold;
color: #3F3B3B;
}
a:hover,
a:focus {
text-decoration-line: underline !important;
transition: 500ms ease-in-out;
}
a:active {
text-decoration-line: underline !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
label {
color: #3F3B3B;
}
h1 {
font-size: 1.5rem;
font-weight: bold;
line-height: 1.20;
opacity: 1.00;
margin-top: 0px;
margin-bottom: 0.8rem;
letter-spacing: -0.72px;
word-spacing: 0.00px;
text-transform: none;
}
h2 {
font-size: 1.25rem;
font-weight: bold;
line-height: 1.20;
opacity: 1.00;
margin-top: 30px;
margin-bottom: 0.6rem;
letter-spacing: -0.72px;
word-spacing: 0.00px;
text-transform: none;
}
h3 {
font-size: 1.15rem;
font-weight: bold;
line-height: 1.20;
opacity: 1.00;
margin-top: 30px;
margin-bottom: 0.4rem;
letter-spacing: 0.00px;
word-spacing: 0.00px;
text-transform: none;
}
p {
font-weight: 400;
line-height: 1.60;
opacity: 0.85;
margin-top: 0px;
margin-bottom: 1.5rem;
letter-spacing: -0.30px;
word-spacing: -0.10px;
text-transform: none;
}
em {
font-weight: 400;
line-height: 1.60;
opacity: 0.85;
margin-top: 0px;
margin-bottom: 1.5rem;
letter-spacing: -0.30px;
word-spacing: -0.10px;
}
ul {
margin-left: 1rem;
}
ul li {
margin-left: 1rem;
}