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
22
app/default/content/articles/styles.css
Normal file
22
app/default/content/articles/styles.css
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* Page-specific styles for Articles list */
|
||||
|
||||
.list-item {
|
||||
border: 2px solid oklch(0.85 0.05 250);
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.list-item:hover {
|
||||
border-color: oklch(0.65 0.15 250);
|
||||
}
|
||||
|
||||
.list-item h2 a {
|
||||
color: oklch(0.50 0.12 250);
|
||||
}
|
||||
|
||||
.list-item .date {
|
||||
background-color: oklch(0.95 0.02 250);
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 1rem;
|
||||
font-size: 0.85rem;
|
||||
display: inline-block;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue