-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
39 lines (32 loc) · 987 Bytes
/
Copy pathstyles.css
File metadata and controls
39 lines (32 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* css styles */
/* Navigation cards (home page + package list).
Colors are intentionally left to the active Bootswatch theme (flatly/darkly)
so cards stay legible in both light and dark modes. */
.nav-card {
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-card:hover,
.nav-card:focus-within {
transform: translateY(-3px);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
/* Card links: no underline until hover, inherit theme link color. */
.nav-card a {
text-decoration: none;
font-weight: 600;
}
.nav-card a:hover {
text-decoration: underline;
}
/* Tidy up spacing of card headings. */
.nav-card .card-body h4 {
margin-top: 0;
margin-bottom: 0.5rem;
}
/* Slightly bolder site title (text-only brand treatment). */
.navbar-brand {
font-weight: 700;
letter-spacing: 0.01em;
}
/* Note: link colors are set per-theme in theme-light.scss / theme-dark.scss
(Quarto swaps whole stylesheets for dark mode, so CSS alone can't target it). */