Skip to content

Commit b6dc851

Browse files
authored
Update index.css
Signed-off-by: Aitor Alien <[email protected]>
1 parent 069aaba commit b6dc851

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

src/index.css

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
21
@tailwind base;
32
@tailwind components;
43
@tailwind utilities;
54

6-
/* NASALIZATION FONT: Carga directa sin @import para mejor rendimiento */
5+
/* NASALIZATION FONT: Carga directa con múltiples formatos para compatibilidad */
76
@font-face {
87
font-family: 'Nasalization';
98
font-style: normal;
109
font-weight: 400;
1110
font-display: swap;
12-
src: url('/fonts/NasalizationRg.otf') format('truetype');
11+
src: url('/fonts/Nasalization.woff2') format('woff2'),
12+
url('/fonts/Nasalization.woff') format('woff'),
13+
url('/fonts/Nasalization.otf') format('opentype');
1314
}
1415

1516
@layer base {
@@ -54,11 +55,11 @@
5455
--sidebar-ring: 48 83% 72%;
5556
}
5657

57-
/* IMPORTANTE: Declaraciones de fuente prioritarias con !important */
58+
/* IMPORTANTE: Declaraciones de fuente prioritarias */
5859
h1, h2, h3, h4, h5, h6 {
59-
font-family: 'Nasalization', sans-serif !important;
60-
font-weight: 400 !important;
61-
letter-spacing: 0.5px !important;
60+
font-family: 'Nasalization', sans-serif;
61+
font-weight: 400; /* Asegurado que no esté en bold */
62+
letter-spacing: 0.5px;
6263
}
6364

6465
body, p, span, div, a, button {
@@ -67,9 +68,9 @@
6768

6869
/* Clase estándar para fuente Nasalization */
6970
.font-nasalization {
70-
font-family: 'Nasalization', sans-serif !important;
71-
font-weight: 400 !important;
72-
letter-spacing: 0.5px !important;
71+
font-family: 'Nasalization', sans-serif;
72+
font-weight: 400;
73+
letter-spacing: 0.5px;
7374
}
7475
}
7576

@@ -139,7 +140,7 @@
139140
pointer-events: none;
140141
}
141142

142-
/* Star Wars scrolling text effect - improved */
143+
/* Star Wars scrolling text effect */
143144
.star-wars-crawl {
144145
perspective: 400px;
145146
overflow: hidden;
@@ -171,20 +172,20 @@
171172
}
172173
}
173174

174-
/* Parallax effect for stars */
175+
/* Parallax effect */
175176
.parallax {
176177
background-attachment: fixed;
177178
background-position: center;
178179
background-repeat: no-repeat;
179180
background-size: cover;
180181
}
181182

182-
/* Background gradient - REMOVED the yellow tint */
183+
/* Background gradient */
183184
.bg-glow-radial {
184185
background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
185186
}
186187

187-
/* Cosmic grid for backgrounds - UPDATED to be more subtle */
188+
/* Cosmic grid */
188189
.cosmic-grid {
189190
position: relative;
190191
}
@@ -215,7 +216,7 @@
215216
}
216217
}
217218

218-
/* Additional corrections for font consistency */
219+
/* Additional corrections */
219220
.section-center {
220221
display: flex;
221222
flex-direction: column;

0 commit comments

Comments
 (0)