-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyles.css
More file actions
184 lines (173 loc) · 4.03 KB
/
Copy pathstyles.css
File metadata and controls
184 lines (173 loc) · 4.03 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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@font-face {
font-family: 'Kusanagi';
src: url('fonts/Kusanagi.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
:root {
--accent: #9d2449; /* guinda UNAM */
--ink: #212529;
--ink-muted: #6c757d;
--rule: #e9ecef;
--thumb-bg: #f8f9fa;
--thumb-border: #dee2e6;
}
/* Dark theme: Quarto alterna las clases .quarto-light / .quarto-dark en <body>
(no usa data-bs-theme en <html>). Redefinimos las variables ahí para que
el texto y los bordes contrasten contra el fondo oscuro del tema superhero. */
body.quarto-dark {
--accent: #d04267; /* guinda más luminoso para contrastar con fondo oscuro */
--ink: #e9ecef;
--ink-muted: #adb5bd;
--rule: #3a4856;
--thumb-bg: #1a2733;
--thumb-border: #3a4856;
}
body {
font-family: 'Inter', sans-serif;
color: var(--ink);
}
h1, h2, h3, h4 {
font-family: Kusanagi;
color: var(--ink);
}
/* "Finalistas" como eyebrow editorial: pequeño, en mayúsculas,
con mucho aire arriba y un hairline guinda que reemplaza el borde de Lux. */
h2 {
font-size: 1rem;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--ink-muted);
margin-top: 6rem;
margin-bottom: 2rem;
padding-bottom: 0.75rem;
border-bottom: none;
position: relative;
}
h2::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 2.5rem;
height: 1px;
background: var(--accent);
}
/* Nota meta debajo del eyebrow (e.g. "en orden alfabético"). */
.section-note {
display: block;
margin-top: -1rem;
margin-bottom: 2rem;
font-size: 0.85rem;
font-style: italic;
color: var(--ink-muted);
}
/* Acento único: enlaces en gris por defecto, guinda al hover.
Las únicas piezas con color permanente son los nombres de equipo del podio. */
a {
color: var(--ink);
text-decoration-color: var(--rule);
}
a:hover {
color: var(--accent);
text-decoration-color: var(--accent);
}
h3 a {
color: var(--accent);
}
h3 a:hover {
color: var(--accent);
opacity: 0.75;
}
.listing-description strong {
display: none;
}
/* Cada tarjeta del podio es una columna flex para alinear visualmente las tres
(mismo alto de título, mismo alto de miniatura, repositorio pegado al fondo).
Quarto envuelve thumb + integrantes + repo-link dentro de un <p>, así que
ese <p> también tiene que ser flex-column. */
#listing-podio .grid > div {
display: flex;
flex-direction: column;
}
#listing-podio h3 {
min-height: 2.4em;
margin-bottom: 0.75rem;
}
#listing-podio h3 .medalla {
margin-right: 0.25em;
}
#listing-podio .grid > div > p {
flex: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
margin: 0;
}
#listing-podio .tablero-thumb {
width: 100%;
aspect-ratio: 16 / 10;
display: flex;
align-items: center;
justify-content: center;
background: var(--thumb-bg);
}
#listing-podio .tablero-thumb img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
}
#listing-podio .integrantes {
margin-top: 0.75rem;
}
#listing-podio .repo-link {
margin-top: auto;
padding-top: 0.75rem;
}
/* Miniaturas estáticas para las menciones. */
.tablero-thumb {
display: block;
border: 1px solid var(--thumb-border);
border-radius: 8px;
overflow: hidden;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tablero-thumb:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.tablero-thumb img {
width: 100%;
height: auto;
display: block;
}
/* Nombre del equipo + integrantes + link al repo apilados debajo de cada miniatura. */
.tablero-name {
display: block;
margin-top: 0.5rem;
}
.integrantes {
display: block;
margin-top: 0.25rem;
font-size: 0.8rem;
line-height: 1.4;
color: var(--ink-muted);
}
.repo-link {
display: inline-flex;
align-items: center;
gap: 0.35em;
margin-top: 0.35rem;
font-size: 0.85rem;
color: var(--ink-muted);
text-decoration: none;
}
.repo-link:hover {
color: var(--accent);
}
.repo-link i {
font-size: 0.95em;
}