gnu-social/public/assets/default_theme/css/reset.css

169 lines
2.3 KiB
CSS

* {
box-sizing: border-box!important;
max-width: 100%;
}
body,html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: var(--background-hard);
background-attachment: fixed;
display: flex;
flex-direction: column;
font: var(--unit) 'Open Sans',sans-serif;
}
body,input,select,textarea {
color: var(--foreground);
}
:link,:visited {
text-decoration: none;
color: currentColor;
}
hr {
all: unset;
display: block;
height: 1px;
background-color: var(--border)!important;
}
menu,ul {
padding: unset;
margin: unset;
list-style: none;
}
blockquote,body,fieldset,form,html,input,pre,textarea {
margin: 0;
padding: 0;
border: 0;
}
fieldset {
all: unset;
}
section {
all: unset;
}
:link img,:visited img,a img {
border: 0;
}
address {
font-style: normal;
}
:focus {
outline: 0;
}
::-moz-focus-inner {
border: 0;
}
details summary {
cursor: pointer!important;
}
details summary > * {
margin: unset;
padding: unset;
}
details > summary {
list-style: none;
}
details > summary::-webkit-details-marker {
display: none;
}
[hidden] {
display: none;
}
html {
font-size: 100%;
}
body {
font-family: 'Open Sans',sans-serif;
font-weight: 400;
line-height: 1.75;
}
p {
all: unset;
font-family: 'Open Sans',sans-serif;
margin-bottom: 1rem;
}
h1,h2,h3,h4,h5,legend {
margin: 3rem 0 1.38rem;
font-family: 'Poppins',sans-serif;
font-weight: 600;
line-height: 1.3;
}
h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,legend:first-child {
margin-top: initial;
}
h1 {
margin-top: 0;
font-size: 1.383rem;
}
h2 {
font-size: 1.296rem;
}
h3 {
font-size: 1.215rem;
}
h4 {
font-size: 1.138rem;
}
h5 {
font-size: 1.067rem;
}
legend {
font-size: 1.296em;
}
.text_small,small {
font: .937rem 'Open Sans',sans-serif;
}
input[type=password],input[type=text],textarea {
font-family: 'Open Sans',sans-serif;
font-weight: 400;
padding: 4px 6px;
}
ul {
text-decoration: none;
margin: 0;
padding: 0;
list-style: none;
}
li {
margin: 0;
padding: 0;
}
a:focus,a:hover {
text-decoration: underline;
}
:focus-visible {
box-shadow: var(--shadow-inset-accent);
}