-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyles.css
More file actions
196 lines (166 loc) · 5.32 KB
/
styles.css
File metadata and controls
196 lines (166 loc) · 5.32 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
/* ==========================================================================
ESTILOS PERSONALIZADOS - RSE ARGENTINA
Color Principal: #702552 (Rosa RSE)
========================================================================== */
/* 1. VARIABLES Y CONFIGURACIÓN BASE
========================================================================== */
:root {
--rse-primary: #702552; /* Color Principal / Fuerza */
--rse-secondary: #2c3e50; /* Azul oscuro para contraste */
--rse-accent: #e74c3c;
--rse-success: #27ae60;
--rse-warning: #f39c12;
--rse-light: #ecf0f1;
--rse-dark: #34495e;
--rse-white: #ffffff;
/* Sobrescribir variables de Bootstrap para Quarto */
--bs-primary: var(--rse-primary) !important;
--bs-link-color: var(--rse-primary) !important;
--bs-link-hover-color: var(--rse-secondary) !important;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
line-height: 1.6;
transition: background-color 0.3s ease;
}
/* 2. TIPOGRAFÍA Y ENLACES
========================================================================== */
h1, h2, h3, h4, h5, h6 {
font-weight: 600 !important;
margin-top: 2rem;
margin-bottom: 1rem;
}
h1, .quarto-html h1 {
color: var(--rse-secondary) !important;
border-bottom: 3px solid var(--rse-primary) !important;
padding-bottom: 0.5rem;
}
h2 { color: var(--rse-dark) !important; margin-top: 2.5rem; }
a, .quarto-html a:not(.nav-link) {
color: var(--rse-primary) !important;
text-decoration: none;
transition: all 0.3s ease;
}
a:hover {
color: var(--rse-secondary) !important;
text-decoration: underline;
}
/* 3. NAVEGACIÓN (NAVBAR)
========================================================================== */
.navbar {
box-shadow: 0 2px 4px rgba(0,0,0,.1);
padding: 1rem 0;
background-color: var(--rse-white) !important;
}
.navbar-brand, .navbar-title {
font-weight: 700 !important;
font-size: 1.5rem !important;
color: var(--rse-primary) !important;
}
.navbar-nav .nav-link {
color: var(--rse-dark) !important;
}
.navbar-nav .nav-link:hover {
color: var(--rse-primary) !important;
}
/* 4. COMPONENTES (BOTONES, CARDS, CALLOUTS)
========================================================================== */
/* Botones */
.btn-primary, .quarto-html .btn-primary {
background-color: var(--rse-primary) !important;
border-color: var(--rse-primary) !important;
font-weight: 600;
padding: 0.75rem 1.5rem;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: var(--rse-secondary) !important;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,.2);
}
/* Hex Card Personalizada */
.hex-card {
background: linear-gradient(135deg, #ffffff, #fdf1f4);
border-radius: 20px;
padding: 25px;
margin: 30px 0;
max-width: 500px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border: 2px solid var(--rse-primary);
}
/* Variante horizontal amplia de la hex-card */
.hex-card-wide {
background: linear-gradient(135deg, #ffffff, #fdf1f4);
border-radius: 20px;
padding: 30px;
margin: 20px 0;
width: 100%; /* Ocupa todo el ancho del contenedor */
display: flex; /* Permite alinear contenido horizontalmente si quieres */
flex-direction: column;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border: 2px solid var(--rse-primary);
}
/* Callouts (Avisos) */
.callout {
margin: 2rem 0;
padding: 1.5rem;
border-radius: 0.5rem;
border-left: 4px solid !important;
}
.callout-note { background-color: #f3e5ef !important; border-left-color: var(--rse-primary) !important; }
.callout-tip { background-color: #e8f5e9 !important; border-left-color: var(--rse-success) !important; }
.callout-warning { background-color: #fff3cd !important; border-left-color: var(--rse-warning) !important; }
/* 5. SECCIÓN HERO (HOMEPAGE)
========================================================================== */
.hero {
background: linear-gradient(135deg, var(--rse-secondary) 0%, var(--rse-primary) 100%);
color: white;
padding: 4rem 0;
margin: -2rem -2rem 2rem -2rem;
text-align: center;
}
.hero h1 {
color: white !important;
border: none !important;
font-size: 2.5rem;
}
/* Color principal para las negritas */
strong, b {
color: var(--rse-primary) !important;
font-weight: 700; /* Asegura que se vea bien robusto */
}
/* 6. ELEMENTOS DE CONTENIDO (TABLAS, CÓDIGO)
========================================================================== */
code:not(pre > code) {
background-color: #f8f9fa;
color: var(--rse-primary) !important;
padding: 0.2rem 0.4rem;
border-radius: 0.25rem;
}
table th {
background-color: var(--rse-light);
border-bottom: 2px solid var(--rse-primary) !important;
}
/* TOC (Tabla de contenidos Quarto) */
.sidebar nav[role="doc-toc"] ul > li > a.active {
border-left-color: var(--rse-primary) !important;
color: var(--rse-primary) !important;
}
/* 7. RESPONSIVIDAD Y MODO OSCURO
========================================================================== */
/* Grid Adaptable */
.grid {
display: grid;
gap: 2rem;
margin: 2rem 0;
}
@media (min-width: 768px) {
.grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
/* Ajustes Móvil */
@media (max-width: 768px) {
h1 { font-size: 1.75rem; }
.hero h1 { font-size: 2rem; }
}