website/static/src/scss/base.scss

68 lines
1.1 KiB
SCSS
Raw Normal View History

2022-07-05 09:03:45 +01:00
@use "sass:math";
2022-08-03 21:22:11 +01:00
@use "sass:color";
2022-07-05 09:03:45 +01:00
@use "bulma_overrides" as *;
@use "mixins" as *;
2022-06-12 17:21:46 +01:00
@import "bulma/bulma";
2022-06-12 17:21:46 +01:00
2022-08-20 17:45:12 +01:00
@import "variables";
2022-06-12 17:21:46 +01:00
@import "navbar";
2022-06-12 21:08:11 +01:00
@import "homepage";
@import "footer";
2022-06-14 20:57:43 +01:00
@import "hero";
@import "content";
2022-06-19 13:23:41 +01:00
@import "listing";
2022-06-27 20:40:55 +01:00
@import "blocks";
2022-07-04 20:06:04 +01:00
@import "shareon";
2022-08-01 22:23:06 +01:00
@import "search";
@import "spotify";
2022-08-19 09:36:03 +01:00
@import "404";
@import "password_required";
2022-09-23 17:26:49 +01:00
@import "commento";
2022-06-12 17:21:46 +01:00
html,
body {
2022-08-20 17:45:12 +01:00
min-height: 100vh;
2022-06-19 14:46:45 +01:00
display: flex;
flex-direction: column;
2022-07-04 20:36:19 +01:00
font-variant-ligatures: none;
2022-08-20 17:45:12 +01:00
@include dark-mode {
background-color: $dark-mode-background;
color: $dark-mode-text;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
2022-06-12 17:21:46 +01:00
}
2022-06-19 15:58:00 +01:00
main {
2022-07-04 20:06:04 +01:00
margin-bottom: 2rem;
2022-06-19 15:58:00 +01:00
}
2022-07-05 09:07:30 +01:00
a {
2022-09-23 16:57:21 +01:00
transition-property: color, background-color;
2022-09-23 17:03:40 +01:00
transition-duration: $link-hover-duration !important;
2022-08-20 17:45:12 +01:00
@include dark-mode {
&:hover {
color: $grey-lighter;
}
}
}
.wagtail-userbar {
@include dark-mode {
filter: invert(100%);
}
2022-07-05 09:07:30 +01:00
}