Recount-Server/web/sass/site.scss

77 lines
1.2 KiB
SCSS
Raw Normal View History

2024-01-14 18:00:51 -08:00
$prefix: pf;
@import "variables";
2024-01-12 20:50:41 -08:00
// highlight transition speed
$hl-trn-spd: 0.2s;
2024-01-15 13:47:16 -08:00
$border-radius: 8px;
2024-01-15 13:47:16 -08:00
@import 'utility-classes';
2024-01-12 21:59:19 -08:00
@import 'mixins';
@import 'nav';
2024-01-14 18:00:51 -08:00
2024-01-12 20:50:41 -08:00
body {
2024-01-14 18:00:51 -08:00
background-color: var(--#{$prefix}-bg);
}
.container {
width: 100%;
margin-right: auto;
margin-left: auto;
2024-01-12 20:50:41 -08:00
}
2024-01-12 21:59:19 -08:00
2024-01-14 18:00:51 -08:00
.row {
display: flex;
flex-wrap: wrap;
2024-01-12 21:59:19 -08:00
}
2024-01-14 18:00:51 -08:00
.col {
box-sizing: border-box;
2024-01-15 13:47:16 -08:00
margin-top: 20px;
width: clamp(300px, 80%, 450px);
}
.card {
aspect-ratio: 16 / 12;
}
@media (min-width: 1362px) {
.card-table {
box-sizing: border-box;
width: clamp(300px, 80%, 450px);
}
}
@media (max-width: 1362px) {
.card-table {
box-sizing: border-box;
margin-left: 10%;
margin-right: 10%;
}
}
div#left-col {
width: 15vw;
padding: 10px;
2024-01-14 18:00:51 -08:00
background-color: var(--#{$prefix}-nav-bg);
}
div#main-body-content {
width: 70vw;
padding: 10px;
opacity: 1;
transition: opacity 0.2s ease-out;
}
div#main-body-content.htmx-swapping {
opacity: 0;
transition: opacity 0.2s ease-out;
}
div#main-body-content.htmx-added {
opacity: 0;
}
div#right-col {
width: 15vw;
padding: 10px;
2024-01-14 18:00:51 -08:00
background-color: var(--#{$prefix}-nav-bg);
}