piekarnikgosipl/base.css
2026-05-13 09:56:19 +02:00

100 lines
No EOL
1.5 KiB
CSS

:root {
--surface-container-low: #faf3e7;
--surface-container-highest: #eae2d2;
--surface: #fff8f0;
--backdrop-blur: 24px;
--primary: #8c4d50;
--primary-container: #fcacaf;
--on-background: #363227;
--nav-height: 4rem;
--border-radius: 48px;
--small-radius: 24px;
--small-border-radius: 8px;
--max-content-width: 80rem;
--secondary-container: #e0f5cb;
--on-secondary-container: #4c5e3e;
--on-surface: #363227;
--outline-variant: #b9b1a3;
--on-surface-variant: #645f52;
--grid-cols: 3;
}
@media (max-width: 768px) {
:root {
--grid-cols: 1;
}
}
body {
background-color: var(--surface);
font-family: 'Plus Jakarta Sans', sans-serif;
box-sizing: border-box;
}
h1, h2, h3, h4 {
margin: 0;
font-family: serif;
color: var(--on-background);
& > span {
font-style: italic;
color: var(--primary);
}
}
h1 {
font-size: 4rem;
line-height: 3.5rem;
margin: 1.5rem 0;
}
h2 {
font-size: 3.5rem;
}
h3 {
font-size: 1.5rem;
}
h4 {
font-size: 1rem;
}
h5 {
font-size: 0.8rem;
}
p {
color: var(--on-background);
line-height: 1.5rem;
}
body > nav, body > footer, body > main > * {
padding: 8rem 2rem;
& > div:only-child, &:not(:has(>div:only-child)) {
max-width: var(--max-content-width);
margin: 0 auto;
}
}
body > nav {
padding: 1rem;
}
svg {
height: 1em;
width: 1em;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
img {
color: transparent;
}