Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
112 lines (94 loc) · 2.54 KB
/
Copy pathstyles.css
File metadata and controls
112 lines (94 loc) · 2.54 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* css styles */
@font-face {
font-family: 'Montserrat';
src: url('fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('.ttf');
font-weight: 400;
font-style: normal;
}
/* Headings only */
h1, h2, h3, h4, h5, h6, .navbar-brand {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
}
body {
font-family: 'Montserrat', sans-serif;
}
/* navbar colors */
/* Check _quarto.yml file for background and foreground */
/* Center figure captions */
.figure, figure {
text-align: center; /* centers everything inside the figure block */
}
/* Specifically target caption text */
figcaption {
font-family: 'Montserrat', sans-serif;
text-align: center;
font-style: italic; /* optional: make caption text italic */
color: #555; /* optional: adjust caption color */
margin-top: 0.5em; /* spacing between figure and caption */
}
.btn, .btn-primary, .dropdown-toggle, .babelquarto-languages-button{
background-color: #377535 !important; /* green tone */
border: #377535;
color: #ffffff; /* e.g., #ffffff for white */
}
.nav-footer {
background-color: #377535 !important; /* green tone */
border: #377535;
color: #ffffff; !important;/* e.g., #ffffff for white */
}
a {
color: #377535;
}
a:hover {
color: #78a177;
}
/* Navbar link hover effects */
.navbar-nav .nav-link:hover {
color: #abb4bd !important;
background-color: transparent;
}
/* ---------- Thumbnail gallery (figs.qmd / figs.es.qmd) ---------- */
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
gap: 1.5rem 1.25rem;
margin: 1.5rem 0 2rem;
}
.gallery .quarto-figure,
.gallery figure,
.gallery figure p {
margin: 0;
}
.gallery a.lightbox {
display: block;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
transition: box-shadow 0.2s ease;
}
.gallery img {
display: block;
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover; /* crop to equal tiles; full image opens on click */
transition: transform 0.25s ease;
}
.gallery a.lightbox:hover,
.gallery a.lightbox:focus-visible {
box-shadow: 0 4px 14px rgba(55, 117, 53, 0.35);
}
.gallery a.lightbox:hover img,
.gallery a.lightbox:focus-visible img {
transform: scale(1.04);
}
.gallery figcaption {
font-size: 0.85rem;
font-style: normal;
color: #333;
line-height: 1.3;
margin-top: 0.5em;
}
/* Lightbox caption: left-aligned and readable */
.glightbox-clean .gslide-description { font-family: 'Montserrat', sans-serif; }
.glightbox-clean .gdesc-inner p { text-align: left; font-size: 0.9rem; }