Files
Graphite/website/sass/layout/reading-material.scss
Keavon Chambers 7af60e02a3 Add the auto-generated node catalog to the website's user manual (#3662)
* Generate the MVP node catalog in the manual (with some placeholders)

* Implement nearly the rest of everything

* Move to the tools directory and make it generate nicer default values

* Add category descriptions

* Organize file structure and improve type naming

* Improve book table of contents code

* Add collapsing chapter navigation to the book template

* Add to build workflow

* Clean up site structure
2026-01-20 22:52:03 -08:00

51 lines
706 B
SCSS

.reading-material.reading-material {
font-size: 16px;
line-height: 1.625;
max-width: var(--max-width-reading-material);
article {
width: 100%;
h1,
h2,
h3,
h4,
h5,
h6 {
display: block;
margin-top: 80px;
&:first-child {
margin-top: 0;
}
}
// Captions below images in blog posts
p:has(> img) + center:has(> em) {
margin-top: 10px;
}
@media (min-width: 1200px) {
.wide {
margin-left: -140px;
margin-right: -140px;
}
}
p ~ img {
width: auto;
max-width: 100%;
}
hr {
margin-top: 40px;
margin-bottom: 40px;
}
+ hr {
margin-top: calc(80 * var(--variable-px));
margin-bottom: calc(40 * var(--variable-px));
}
}
}