Refactor math chapter structure and styling: Update .gitignore to exclude specific CSS directories, enhance CONTRIBUTING.md with new guidelines for subject-specific assets, and streamline chapter content organization. Modify curriculum data to include new chapter dependencies and improve frontend logic for loading shared styles and scripts. Adjust styles for better visual consistency across math chapters.

This commit is contained in:
Hananoshika Yomaru 2026-05-20 18:07:39 -07:00
parent 5175811579
commit a2679aa4de
24 changed files with 2104 additions and 530 deletions

View file

@ -37,34 +37,7 @@
color: var(--muted);
}
// Dot pictures for compare chains (same idea as counting chapter)
.notation-dots {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
vertical-align: middle;
}
.notation-dots__dot {
display: block;
width: 10px;
height: 10px;
border-radius: 50%;
background: #0f766e;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
flex-shrink: 0;
}
.notation-dots--chain {
max-width: 88px;
justify-content: center;
}
.notation-dots--decimal .notation-dots__dot {
width: 14px;
height: 14px;
}
// notation-dots: content/math/subject.scss
.notation-compare-chain {
margin: 1.25rem 0;