ese-website/_includes/page.css

98 lines
1.3 KiB
CSS

* {
box-sizing: border-box;
font-size: 17px;
}
body {
margin: 0;
font-family: Aileron, sans-serif;
line-height: 1.5;
color: var(--color-text);
background-color: var(--color-background-page);
}
main {
padding: 4rem 0 8rem;
}
.content {
width: 100%;
max-width: var(--page-width);
padding-left: 1.25rem;
padding-right: 1.25rem;
margin-left: auto;
margin-right: auto;
}
@media (width < 1024px) {
.content {
padding-left: 1.8rem;
padding-right: 1.8rem;
}
}
h1, h2, h3, h4 {
color: var(--color-primary);
}
h1 {
font-weight: 700;
font-size: 2.8em;
text-transform: uppercase;
}
h2 {
font-weight: 300;
font-size: 2.4em;
line-height: 2;
}
h3 {
font-weight: 300;
font-size: 1.8em;
line-height: 2;
}
h4 {
font-weight: 400;
font-size: 1.3em;
line-height: 2;
}
h5 {
font-weight: 700;
font-size: 1em;
margin-bottom: 1em;
}
p {
line-height: 1.8;
}
@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;
}
}
:root {
font-size: 12px;
--page-width: 1280px;
--color-text: #495057;
--color-primary: {{ eseColor }};
--color-livestream-active: #fff;
--color-background-page: #fefefe;
--color-background-header: rgba(255,255,255,.92);
}