mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 18:18:42 -05:00
- Create shared/ directory with centralized SCSS partials and site-head.html so site subsites (about, community, newsletter) no longer duplicate inline header config or reference book-only styles - Fix subscribe modal: change script src from broken relative path (../../book/quarto/assets/scripts/subscribe-modal.js) to absolute URL (https://mlsysbook.ai/vol1/assets/scripts/subscribe-modal.js) which the rewrite-dev-urls.sh script converts for dev preview automatically
31 lines
697 B
SCSS
31 lines
697 B
SCSS
// =============================================================================
|
|
// LINK STYLES — Global and content links
|
|
// =============================================================================
|
|
|
|
// Link styles
|
|
a {
|
|
color: $link-color;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
color: $link-hover-color;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
&:visited {
|
|
color: darken($accent, 10%);
|
|
}
|
|
}
|
|
|
|
// Content area link styles - balanced with navigation
|
|
.content a {
|
|
color: $link-color;
|
|
font-weight: 400; // Normal weight - content should be primary focus
|
|
|
|
&:hover {
|
|
color: $link-hover-color;
|
|
font-weight: 500; // Medium weight on hover
|
|
text-decoration: underline;
|
|
}
|
|
}
|