1
0
Fork 0
faulty.equipment/themes/fesite/assets/scss/layout.scss

123 lines
1.5 KiB
SCSS
Raw Normal View History

2022-06-29 09:40:23 +00:00
$footer-border: 1px dotted $color-light-border;
2023-09-11 15:02:41 +00:00
:root {
--link-color: #e599e0;
}
2022-06-29 09:40:23 +00:00
footer {
border-top: $footer-border;
padding: 10pt 0;
font-size: $text-small;
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 {
2023-09-11 15:02:41 +00:00
color: var(--link-color);
text-decoration-style: dotted;
text-decoration-thickness: 1px;
}
a:hover {
text-decoration: none;
background-color: var(--link-color);
color: black;
2022-06-29 09:40:23 +00:00
}
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;
}
2023-09-11 15:02:41 +00:00
.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);
}
}