ese-website/_includes/page.css

98 lines
1.3 KiB
CSS
Raw Normal View History

2024-09-20 17:10:24 +02:00
* {
box-sizing: border-box;
2024-09-23 14:37:40 +02:00
font-size: 17px;
2024-09-20 17:10:24 +02:00
}
body {
margin: 0;
font-family: Aileron, sans-serif;
line-height: 1.5;
color: var(--color-text);
2024-09-24 16:45:36 +02:00
background-color: var(--color-background-page);
2024-09-20 17:10:24 +02:00
}
2024-09-23 14:39:07 +02:00
main {
padding: 4rem 0 8rem;
}
2024-09-23 14:37:40 +02:00
.content {
width: 100%;
2024-09-20 17:10:24 +02:00
max-width: var(--page-width);
2024-09-23 14:39:07 +02:00
padding-left: 1.25rem;
padding-right: 1.25rem;
2024-09-20 17:10:24 +02:00
margin-left: auto;
margin-right: auto;
}
2024-09-25 18:41:14 +02:00
@media (width < 1024px) {
.content {
padding-left: 1.8rem;
padding-right: 1.8rem;
}
}
2024-09-20 17:10:24 +02:00
h1, h2, h3, h4 {
color: var(--color-primary);
}
h1 {
font-weight: 700;
2024-09-23 14:37:40 +02:00
font-size: 2.8em;
2024-09-20 17:10:24 +02:00
text-transform: uppercase;
}
h2 {
font-weight: 300;
2024-09-23 14:37:40 +02:00
font-size: 2.4em;
2024-09-20 17:10:24 +02:00
line-height: 2;
}
h3 {
font-weight: 300;
2024-09-23 14:37:40 +02:00
font-size: 1.8em;
2024-09-20 17:10:24 +02:00
line-height: 2;
}
h4 {
font-weight: 400;
2024-09-23 14:37:40 +02:00
font-size: 1.3em;
2024-09-20 17:10:24 +02:00
line-height: 2;
}
h5 {
font-weight: 700;
2024-09-23 14:37:40 +02:00
font-size: 1em;
margin-bottom: 1em;
2024-09-20 17:10:24 +02:00
}
p {
line-height: 1.8;
}
2024-09-25 18:41:14 +02:00
@media (width < 640px) {
h1 {
font-size: 1.8em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.3em;
font-weight: 400;
}
h4 {
font-size: 1.15em;
}
}
2024-09-20 17:10:24 +02:00
:root {
2024-09-23 14:37:40 +02:00
font-size: 12px;
--page-width: 1280px;
2024-09-20 17:10:24 +02:00
--color-text: #495057;
--color-primary: {{ ese.color }};
2024-09-24 16:33:50 +02:00
--color-livestream-active: #fff;
2024-09-24 16:45:36 +02:00
--color-background-page: #fefefe;
--color-background-header: rgba(255,255,255,.92);
2024-09-20 17:10:24 +02:00
}