ahaha / src /index.css
zerinf
first commit frontend
bfa647c
Raw History Blame Contribute Delete
1.22 kB
:root {
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: #213547;
background-color: #f0f4f8;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #0073e6;
text-decoration: none;
}
a:hover {
color: #005bb5;
}
body {
margin: 0;
display: flex;
flex-direction: column;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 2.8em;
line-height: 1.1;
color: #213547;
}
button {
border-radius: 6px;
border: 1px solid transparent;
padding: 0.5em 1em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #0073e6;
color: #fff;
cursor: pointer;
transition: all 0.25s ease-in-out;
}
button:hover {
background-color: #005bb5;
border-color: #004080;
}
button:focus,
button:focus-visible {
outline: 3px auto #005bb5;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #f0f4f8;
}
a:hover {
color: #005bb5;
}
button {
background-color: #0073e6;
color: #fff;
}
}