Files
cs249r_book/shared/styles/partials/_links.scss
Vijay Janapa Reddi 4b840ff957 refactor(site): shared styles system and fix subscribe modal for subsites
- 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
2026-03-21 12:50:25 -04:00

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;
}
}