web2.0/src/static/css/main.css

73 lines
1 KiB
CSS
Raw Normal View History

2022-05-06 18:58:00 +02:00
@import "../fonts/inter/inter.css";
*, *::before, *::after {
2022-05-06 19:16:15 +02:00
box-sizing: border-box;
2022-05-06 18:58:00 +02:00
}
:root {
--brand: #66cc00;
--text: #000000de;
2022-05-06 19:16:15 +02:00
--text-00: #ffffffde;
--bg-00: #000000;
--link: #0066ffde;
2022-05-06 18:58:00 +02:00
}
body {
font-family: "Inter var", "Inter", sans-serif;
color: var(--text);
2022-05-06 19:16:15 +02:00
margin: 0;
2022-05-06 18:58:00 +02:00
}
h1, h2, h3 {font-weight: 250}
h1 {
font-size: 3rem;
letter-spacing: -.1rem;
}
h2 {font-size: 2.3rem}
h3 {font-size: 1.7rem}
h4, h5, h6 {font-weight: 700}
h4 {font-size: 1.2rem}
h5 {font-size: 1rem}
h6 {font-size: .8rem}
p {font-weight: 350}
2022-05-06 19:16:15 +02:00
a {
color: var(--link);
text-decoration: none;
}
a:hover {text-decoration: underline;}
.logo {
border-radius: 50%;
}
nav {
position: sticky;
top: 0;
height: 4rem;
line-height: 2rem;
padding: 1rem;
width: 100%;
background: var(--bg-00);
color: var(--text-00);
}
nav > * {
margin-right: 1rem;
height: 2rem;
display: inline-block;
vertical-align: middle;
}
nav a {
color: inherit;
}
nav a.active {
font-weight: 550;
}
nav .logo {
height: 2rem;
border: .1rem solid white;
}