Format source code (no other changes)

This commit is contained in:
benjamin melançon 2025-07-15 20:21:31 -04:00
parent f94ea2a8e0
commit 03a075e255

View file

@ -43,11 +43,11 @@
// Prevent a slight horizontal scroll.
/* On content listing pages (e.g. card view mode). */
// On content listing pages (e.g. card view mode).
.background-replacement-for-no-image {
height: 10rem;
}
/* On full content pages. */
// On full content pages.
.featured-image .background-replacement-for-no-image {
height: 12rem;
@include mixins.from($desktop) {
@ -58,7 +58,7 @@
}
}
/* Yes i know i should just give author bios their own class */
// Yes i know i should just give author bios their own class
.node--type-people.node--view-mode-teaser {
margin-bottom: 1rem;
}
@ -90,13 +90,13 @@
}
}
/* Hide any focusable elements in the drawer by default to aid keyboard navigation. We use visibility so it makes the elements unfocusable, but doesn't affect the layout. We can also add a "transition" to visibility, which will make it show instantly when we open the drawer, but take half a second to hide it when we close the drawer. */
// Hide any focusable elements in the drawer by default to aid keyboard navigation. We use visibility so it makes the elements unfocusable, but doesn't affect the layout. We can also add a "transition" to visibility, which will make it show instantly when we open the drawer, but take half a second to hide it when we close the drawer.
.hamburger-container .drawer a {
visibility: hidden;
transition: visibility 0.5s linear;
}
/* Make the focusable elements in the drawer visible when it is open. */
// Make the focusable elements in the drawer visible when it is open.
.hamburger-container .checkbox:checked ~ .drawer a {
visibility: visible;
}
@ -174,7 +174,7 @@
}
}
/* Make the drawer full-width on mobile */
// Make the drawer full-width on mobile
@media screen and (max-width: local.$mini) {
.drawer {
width: 100%;