-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilos.css
165 lines (142 loc) · 3.57 KB
/
estilos.css
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
/*:root {
--background-color-dark: #0c192c;
--primary-color-dark: #4fc3dc;
--secondary-color-dark: #ff2d75;
--background-color-light: #ffffff;
--primary-color-light: #333333;
--secondary-color-light: #ffcc00;
}*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
min-height: 100vh;
/*background: var(--background-color-dark); /* Usando el color de fondo oscuro predeterminado */
background: #0c192c;
transition: background-color 0.3s ease;
}
header{
position: sticky;
top: 0;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Estilos para el navbar */
.navbar {
/*background-color: #333; /* Color de fondo del navbar */
padding: 10px 0; /* Espaciado interno del navbar */
}
.navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
.navbar ul li {
display: inline;
}
.navbar ul li a {
display: inline-block;
padding: 10px 20px;
color: #fff; /* Color de texto de los enlaces */
text-decoration: none;
transition: background-color 0.3s;
transition: 1s;
}
.navbar ul li a:hover {
color: rgb(147, 5, 74); /* Cambio de color al pasar el mouse */
}
/* Para el resto del CSS, utiliza las variables apropiadas dependiendo del modo */
.container{
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
}
.text-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.text-container h1 {
font-size: 36px; /* Tamaño de fuente personalizable */
color: #ffffff; /* Color de texto personalizable */
}
.text-container p {
font-size: 24px; /* Tamaño de fuente personalizable */
color: #ffffff; /* Color de texto personalizable */
}
.bubbles{
position: relative;
display: flex;
z-index: -100;
}
/* Para el modo oscuro */
.bubbles span{
position: relative;
width: 30px;
height: 30px;
background: #4fc3dc;
margin: 0 4px;
border-radius: 50%;
box-shadow: 0 0 0 10px #4fc3dc44,
0 0 50px #4fc3dc,
0 0 100px #4fc3dc;
animation: animate 30s linear infinite;
animation-duration: calc(125s / var(--i));
/*background: var(--primary-color-dark);*/
/*box-shadow: 0 0 0 10px var(--primary-color-dark),*/
/*0 0 50px var(--primary-color-dark),
0 0 100px var(--primary-color-dark);*/
}
.bubbles span:nth-child(even) {
/*background: var(--secondary-color-dark);
box-shadow: 0 0 0 10px var(--secondary-color-dark),
0 0 50px var(--secondary-color-dark),
0 0 100px var(--secondary-color-dark);*/
background: #ff2d75;
box-shadow: 0 0 0 10px #ff2d7544,
0 0 50px #ff2d75,
0 0 100px #ff2d75;
}
@keyframes animate {
0%{
transform: translateY(100vh) scale(0);
}
100% {
transform: translateY(-10vh) scale(1);
}
}
@media screen and (max-width: 1050px){
.bubbles span{
position: relative;
width: 30px;
height: 30px;
margin: 0 4px;
border-radius: 50%;
}
}
@media screen and (max-width: 900px){
.bubbles span{
position: relative;
width: 30px;
height: 30px;
margin: 0 4px;
border-radius: 50%;
}
}
@media screen and (max-width: 780px){
.bubbles span{
position: relative;
width: 30px;
height: 30px;
margin: 0 4px;
border-radius: 50%;
}
}