app.css
3.7 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
@import "tailwindcss";
/* ============================================
TIPOGRAFÍAS INSTITUCIONALES
============================================ */
@font-face {
font-family: 'Qanelas';
src: url('/tipografia/Qanelas-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Qanelas';
src: url('/tipografia/Qanelas-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Qanelas';
src: url('/tipografia/Qanelas-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Qanelas';
src: url('/tipografia/Qanelas-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Qanelas';
src: url('/tipografia/Qanelas-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Archivo Condensed';
src: url('/tipografia/Archivo_Condensed-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Archivo Condensed';
src: url('/tipografia/Archivo_Condensed-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Archivo Condensed';
src: url('/tipografia/Archivo_Condensed-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
/* ============================================
TEMA PERSONALIZADO - TAILWIND v4
============================================ */
@theme {
/* Tipografía */
--font-sans: 'Qanelas', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-display: 'Archivo Condensed', 'Qanelas', system-ui, sans-serif;
/* Colores Institucionales MEFP */
--color-gold: #C9A751;
--color-gold-light: #D4B76A;
--color-gold-dark: #A88A3D;
--color-wine: #B91817;
--color-wine-light: #D42625;
--color-wine-dark: #8F1211;
--color-graphite: #363534;
--color-graphite-light: #4A4948;
--color-graphite-dark: #252423;
/* Colores Bandera Nacional */
--color-flag-red: #DB281C;
--color-flag-yellow: #F4E410;
--color-flag-green: #007C38;
/* Colores Secundarios */
--color-cream: #F3EAD8;
--color-cream-light: #FAF6EE;
--color-cream-dark: #E8DCC4;
--color-muted: #676767;
--color-muted-light: #8A8A8A;
--color-muted-dark: #4A4A4A;
}
/* ============================================
ESTILOS BASE
============================================ */
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-sans);
color: var(--color-graphite);
background-color: #FAFAFA;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Focus ring consistente con identidad */
*:focus-visible {
outline: 2px solid var(--color-gold);
outline-offset: 2px;
}
/* Selección de texto */
::selection {
background-color: var(--color-gold);
color: white;
}
/* ============================================
UTILIDADES PERSONALIZADAS
============================================ */
/* Gradiente de bandera (horizontal) */
.bg-flag-gradient {
background: linear-gradient(
to right,
var(--color-flag-red) 33.33%,
var(--color-flag-yellow) 33.33%,
var(--color-flag-yellow) 66.66%,
var(--color-flag-green) 66.66%
);
}
/* Línea decorativa dorada */
.border-gold-accent {
border-bottom: 3px solid var(--color-gold);
}
/* Texto con acento dorado */
.text-gold-accent {
color: var(--color-gold);
}
/* Fuente display (Archivo) */
.font-display {
font-family: var(--font-display);
}