Skip to content

Commit 0efb078

Browse files
authored
Update global.css
Signed-off-by: Aitor Alien <[email protected]>
1 parent 4dfb440 commit 0efb078

File tree

1 file changed

+3
-54
lines changed

1 file changed

+3
-54
lines changed

src/global.css

Lines changed: 3 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
/* Global styles */
21
html, body {
32
margin: 0;
43
padding: 0;
5-
height: 100%;
4+
min-height: 100vh;
65
width: 100%;
7-
overflow-x: hidden;
8-
}
9-
10-
body {
11-
font-family: 'Exo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
126
background-color: #000;
137
color: #fff;
8+
overflow-x: hidden;
149
}
1510

1611
#root {
@@ -19,27 +14,16 @@ body {
1914
flex-direction: column;
2015
}
2116

22-
/* Layout fixes */
23-
.container {
24-
width: 100%;
25-
max-width: 1200px;
26-
margin: 0 auto;
27-
padding: 0 1rem;
28-
}
29-
30-
/* Make sure content is visible */
3117
main {
3218
flex: 1;
3319
position: relative;
34-
padding-top: 8rem; /* Increased padding to prevent menu overlap */
20+
padding-top: 8rem;
3521
}
3622

37-
/* Add text glow effect */
3823
.text-glow {
3924
text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
4025
}
4126

42-
/* Card border effect - improved to avoid unwanted backgrounds */
4327
.card-border {
4428
border: 1px solid rgba(255, 215, 0, 0.2);
4529
border-radius: 10px;
@@ -48,42 +32,7 @@ main {
4832
position: relative;
4933
z-index: 1;
5034
}
51-
5235
.card-border:hover {
5336
border-color: rgba(255, 215, 0, 0.4);
5437
box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
5538
}
56-
57-
/* NASALIZATION FONT: Carga desde archivo local */
58-
@font-face {
59-
font-family: 'Nasalization';
60-
src: url('/fonts/NasalizationRg.otf') format('opentype');
61-
font-weight: 400;
62-
font-style: normal;
63-
font-display: swap;
64-
}
65-
66-
/* IMPORTANTE: Aplicar fuente a TODOS los encabezados con !important para forzar */
67-
h1, h2, h3, h4, h5, h6 {
68-
font-family: 'Nasalization', sans-serif !important;
69-
letter-spacing: 0.5px !important;
70-
font-weight: 400 !important;
71-
}
72-
73-
/* Clase estandarizada para la fuente - usar solo 'font-nasalization' */
74-
.font-nasalization {
75-
font-family: 'Nasalization', sans-serif !important;
76-
font-weight: 400 !important;
77-
font-style: normal !important;
78-
letter-spacing: 0.5px !important;
79-
}
80-
81-
/* Alignment correction for sections */
82-
.section-center {
83-
display: flex;
84-
flex-direction: column;
85-
align-items: center;
86-
justify-content: center;
87-
width: 100%;
88-
text-align: center;
89-
}

0 commit comments

Comments
 (0)