1
0
Fork 0
faulty.equipment/themes/fesite/assets/scss/layout.scss
Hamcha 5be237d554
All checks were successful
continuous-integration/drone/push Build is passing
colors!
2023-09-12 13:05:38 +02:00

137 lines
1.8 KiB
SCSS

$footer-border: 1px dotted $color-light-border;
:root {
--link-color: #e599e0;
}
footer {
border-top: $footer-border;
padding: 10pt 0;
font-size: $text-smaller;
font-family: $iosevka;
line-height: 1.5;
margin-top: 20pt;
}
body {
font-family: $inter;
background-color: $color-bg;
color: $color-copy;
}
* {
line-height: 1.25;
}
p,
li {
line-height: 1.5;
}
h1,
h2,
h3,
h4 {
font-family: $iosevka;
}
main {
max-width: $screen-width;
width: 100%;
margin: 0 auto;
}
.content {
padding: 0 10pt;
}
a,
a:visited {
color: var(--link-color);
text-decoration-style: dotted;
text-decoration-thickness: 1px;
}
a:hover {
text-decoration: none;
background-color: var(--link-color);
color: black;
}
hr {
border: 0;
border-top: 1px solid $color-light-border;
background: transparent;
}
.section-list {
display: flex;
gap: 10pt;
font-family: $iosevka;
margin-top: 10pt;
&::before {
content: "[";
}
&::after {
content: "]";
}
a {
display: flex;
}
}
a.summary {
color: inherit;
text-decoration: none;
}
.lastmod {
font-weight: 400;
font-size: 10pt;
}
.post-list article {
font-family: $iosevka;
font-size: 14pt;
margin-bottom: 0.5rem;
}
.summary {
font-family: $inter;
font-size: $text-small;
margin: 5pt 0 15pt 2pt;
line-height: 1.5;
border-left: 2px solid #5e5971;
padding-left: 6pt;
}
.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.8);
img {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
max-width: 100%;
max-height: 90vh;
}
&:target {
outline: none;
display: block;
}
&:hover {
background: rgba(0, 0, 0, 0.8);
}
}