website/static/src/scss/_content.scss

67 lines
1.0 KiB
SCSS
Raw Normal View History

2022-06-19 13:23:41 +01:00
section.content {
2022-06-14 20:57:43 +01:00
font-size: 1.25rem;
2022-06-26 10:29:13 +01:00
padding-top: 0.5rem;
2022-07-01 09:25:57 +01:00
h2,
h3,
h4,
h5,
h6 {
.heading-anchor {
scroll-margin-top: var(--hero-height); // navbar height (ish)
2022-07-01 09:25:57 +01:00
margin-right: 0.5rem;
}
2022-09-06 08:57:34 +01:00
@include dark-mode {
color: $dark-mode-text;
}
2022-07-01 09:25:57 +01:00
}
2022-06-14 20:57:43 +01:00
}
.content-details {
2022-06-26 15:13:51 +01:00
.tag {
font-size: inherit;
}
2022-06-26 15:13:51 +01:00
.control {
font-size: inherit;
2022-06-26 12:55:20 +01:00
2022-06-26 15:13:51 +01:00
&:not(:last-child) {
2022-07-04 19:13:23 +01:00
margin-right: 1rem !important;
2022-06-26 15:13:51 +01:00
}
2022-06-26 12:55:20 +01:00
2022-06-26 15:13:51 +01:00
&.page-tags {
2022-07-04 20:38:47 +01:00
font-family: $family-code;
2022-09-19 17:11:21 +01:00
.tag:not(:first-child) + .tag {
padding-left: 0;
2022-06-26 12:55:20 +01:00
}
}
}
}
.container {
@include until($container-max-width) {
max-width: calc(99% - ($column-gap * 2));
}
}
2022-08-20 17:45:12 +01:00
.tags.has-addons {
@include dark-mode {
filter: invert(100%);
2022-09-19 16:45:54 +01:00
a {
// HACK: By inverting the colour, the above invert ends up showing the correct colour
color: color.invert($primary);
}
2022-08-20 17:45:12 +01:00
}
}
2022-09-02 17:18:40 +01:00
.gslide-description {
background-color: transparent !important;
.gslide-title {
color: $dark-mode-text !important;
}
}