-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
227 lines (189 loc) · 4.02 KB
/
Copy pathstyles.css
File metadata and controls
227 lines (189 loc) · 4.02 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/* css styles */
/* right-hand table of contents */
.sidebar nav[role="doc-toc"] ul > li > a {
color: grey !important;
}
/* highlighting currently active entry */
.sidebar nav[role="doc-toc"] ul > li > a.active {
font-weight: bold;
background-color: #f3fae9;
}
b,strong {
font-weight: bold;
color: black;
}
.navbar-logo {
width: 100%;
max-height: 100%;
align-items: baseline;
}
.nav-link{
color:white !important;
text-color:white !important;
}
.navbar{
text-color: white;
background-image: linear-gradient(to right,white,#0087af,#18a603);
}
/* unfold hamburger menu on the right */
.navbar-collapse {
text-align: right;
}
/* footer text-color & background */
.nav-footer{
padding-top: 0rem;
padding-bottom: 0rem;
align-items: center;
color: black !important;
background-image: linear-gradient(to right,white,#ebf4f7,#0087af);
}
/* footer icons */
.nav-footer li.nav-item a.nav-link{
color: black !important;
}
/* footer links */
.nav-footer a:link{
color: black !important;
}
/* vertically center, from https://github.com/quarto-dev/quarto-cli/discussions/1386 */
.v-center-container {
display: flex !important;
justify-content: center;
align-items: center;
height: 90%;
}
.deadline {
color: #d73027;
font-size: 1.15em;
font-weight: 600;
}
img.speaker {
width: 200px;
height: 200px;
object-fit: cover;
}
.sponsor-link { display: block; text-align: center; }
.sponsor-logo{
display:block;
margin:0 auto;
max-height:200px;
width:auto;
height:auto;
max-width:100%;
}
.sponsor-name {
margin-top: 0.6rem;
text-align: center;
font-size: 0.95rem;
line-height: 1.25;
}
details.schedule-details {
margin: 0;
}
details.schedule-details summary {
list-style: none;
cursor: pointer;
font-weight: 400;
font-size: 1em;
line-height: 1.45;
display: block; /* IMPORTANT */
position: relative; /* for absolute arrow */
padding-right: 1.8rem; /* space for arrow */
}
details.schedule-details summary::-webkit-details-marker {
display: none;
}
details.schedule-details summary::marker {
content: "";
}
/* RIGHT-ALIGNED CHEVRON */
details.schedule-details summary::after {
content: "›";
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
font-size: 1.3em;
color: #8a8a8a;
}
/* OPEN STATE */
details.schedule-details[open] summary::after {
content: "⌄";
}
/* Card styling */
.instructor-card {
background: white;
border-radius: 14px;
padding: 1rem;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
height: 100%;
display: flex;
flex-direction: column;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.instructor-card {
max-width: 240px;
margin: 0 auto;
}
.instructor-card h3 {
font-size: 1rem;
margin: 0.25rem 0 0.3rem 0;
/* key fixes */
line-height: 1.2;
word-break: break-word;
overflow-wrap: anywhere;
}
.instructor-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
/* Image consistency trick */
.instructor-img-wrapper {
width: 100%;
aspect-ratio: 1 / 1; /* square looks better for compact grids */
overflow: hidden;
border-radius: 10px;
margin-bottom: 0.5rem;
}
.instructor-img-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
}
.instructor-card {
background: white;
border-radius: 12px;
padding: 0.75rem;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
height: 100%;
display: flex;
flex-direction: column;
transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.instructor-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.instructor-bio {
font-size: 0.95rem;
color: #555;
line-height: 1.4;
}
.promo-banner {
background: linear-gradient(135deg, #0087af, #18a603);
color: white;
padding: 1.2rem 1.5rem;
border-radius: 14px;
margin-bottom: 2rem;
box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.promo-banner h2,
.promo-banner h3 {
color: white;
margin-top: 0;
}
.promo-banner a {
color: white;
font-weight: 600;
text-decoration: underline;
}