Add page-specific CSS support
Add helper function to find page-specific CSS files Add CSS loading to base template Update rendering functions to include page CSS Update router to include page CSS for static pages
This commit is contained in:
parent
0b84615bf9
commit
6879fad5fb
7 changed files with 110 additions and 0 deletions
19
app/default/content/about/styles.css
Normal file
19
app/default/content/about/styles.css
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* Page-specific styles for About page */
|
||||
|
||||
article {
|
||||
border-left: 4px solid oklch(0.65 0.15 250);
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
|
||||
article h2 {
|
||||
color: oklch(0.50 0.12 250);
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
aside {
|
||||
background-color: oklch(0.95 0.02 250);
|
||||
padding: 1.5rem;
|
||||
border-radius: 0.5rem;
|
||||
margin-top: 2rem;
|
||||
border: 2px solid oklch(0.85 0.05 250);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue