gnusocial.rocks/assets/css/reset.css

140 lines
2.3 KiB
CSS

/*
* -- RESET --
*/
* {
box-sizing: border-box;
}
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-family: 'open_sansbold';
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;
}
b {
font-family: 'open_sansbold';
font-weight: bold;
}
h1,
h2,
h3,
h4,
h5,
h6,
label {
color: #3F3B3B;
}
h1 {
font-size: 1.5rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 0px;
margin-bottom: 0.8rem;
word-spacing: 0.00px;
text-transform: none;
}
h2 {
font-size: 1.25rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 2rem;
margin-bottom: 0.6rem;
word-spacing: 0.00px;
text-transform: none;
}
h3 {
font-size: 1.15rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 1.8rem;
margin-bottom: 0.3rem;
letter-spacing: 0.00px;
word-spacing: 0.00px;
text-transform: none;
}
h4 {
font-size: 1rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 1.4rem;
margin-bottom: 0.2rem;
letter-spacing: 0.00px;
word-spacing: 0.00px;
text-transform: none;
}
p {
font-weight: 400;
line-height: 1.60;
margin-top: 0px;
margin-bottom: 1rem;
word-spacing: 0.50px;
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;
}