Files
djledda-web/public/static/theme.css
2026-01-18 22:15:07 +01:00

97 lines
2.1 KiB
CSS

@font-face {
font-family: "Quattrocento";
font-style: regular;
src: local("Quattrocento"), url("assets/quattrocento-regular.ttf") format("truetype")
}
@font-face {
font-family: "Quattrocento";
font-style: bold;
src: local("Quattrocento"), url("assets/quattrocento-bold.ttf") format("truetype");
}
@font-face {
font-family: "Baskervville";
font-style: regular;
src: local("Baskervville"), url("assets/baskervville.ttf") format("truetype")
}
@font-face {
font-family: "Baskervville";
font-style: italic;
src: local("Baskervville"), url("assets/baskervville-italic.ttf") format("truetype");
}
:root {
--dj-palette1: #83a6bf;
--dj-palette2: #5e81ac;
--dj-palette3: #8fbcbb;
--dj-prose: #98aab7;
--dj-visited: #8d8bd5;
--dj-bgpalette1: #2e3440;
}
html, body {
box-sizing: border-box;
background-color: var(--dj-bgpalette1);
color: var(--dj-palette1);
margin: 0;
padding: 0;
font-family: "Quattrocento", serif;
font-optical-sizing: auto;
font-style: normal;
font-size: 16px;
}
hr {
border: 0;
height: 1px;
background-image: linear-gradient(to right, transparent, var(--dj-prose), transparent);
margin: 40px 0 40px 0;
width: 100%;
&::before, &::after {
content: ' ';
position: absolute;
display: block;
margin: auto;
left: 0;
right: 0;
transform: translateY(-50%);
}
&::before {
background-color: var(--dj-bgpalette1);
width: 74px;
height: 30px;
}
&::after {
width: 66px;
height: 22px;
background-color: var(--dj-prose);
background-size: cover;
mask-image: url('assets/leaf-hrule.svg');
mask-size: cover;
}
}
p {
color: var(--dj-prose);
}
h1, h2, h3, h4, h5, nav, .dj-title {
font-family: "Baskervville", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
.spectral-regular, body {
font-family: "Spectral", serif;
font-weight: 400;
font-style: normal;
font-size: 19px;
}