2026-04-24 14:36:57 -06:00
|
|
|
/*
|
|
|
|
|
You can add custom styles here.
|
|
|
|
|
It could be plugins:
|
|
|
|
|
@import "plugins/numbered";
|
|
|
|
|
@import "plugins/scrollbars";
|
|
|
|
|
Or custom styles:
|
|
|
|
|
body { background: white; }
|
|
|
|
|
Or even theme mixins:
|
|
|
|
|
@mixin theme-light {
|
|
|
|
|
--body-background: white;
|
|
|
|
|
--body-font-color: black;
|
|
|
|
|
...
|
|
|
|
|
}
|
|
|
|
|
*/
|
2026-10-29 10:50:18 -06:00
|
|
|
|
|
|
|
|
// Center content images.
|
|
|
|
|
//
|
|
|
|
|
// The theme ships `img { max-width: 100%; height: auto }` (caps width, never
|
|
|
|
|
// stretches) and images are inline under `text-align: start`, so any image
|
|
|
|
|
// narrower than the content column hugs the left edge instead of centering,
|
|
|
|
|
// and full-width images reach the column edge (reads as "flowing off").
|
|
|
|
|
//
|
|
|
|
|
// Display images (markdown `` — headers, artwork, banner) carry NO
|
|
|
|
|
// width attribute; inline icons (e.g. the donation crypto icons) DO carry
|
|
|
|
|
// width/height attributes plus inline text. Keying on `:not([width])` centers
|
|
|
|
|
// the display images and leaves the icon+label layout untouched.
|
|
|
|
|
//
|
|
|
|
|
// `display: block` + auto left/right margins centers horizontally; the small
|
|
|
|
|
// vertical margin restores the line gap between stacked images (a header and
|
|
|
|
|
// its artwork share one <p>) so they don't sit flush.
|
|
|
|
|
.markdown img:not([width]) {
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 0.75em auto;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
}
|