-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilos.css
182 lines (152 loc) · 3.34 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
}
/*Barra de navegacion*/
.navbar {
border-bottom: 7px solid #2E2E2E;
border-radius: .8rem;
}
/*Estilos para el menu de Lecciones*/
.lateral, .central {
position: absolute;
}
.sidebar {
border-radius: .8rem;
background-color: #2E2E2E;
width: 250px;
padding: 20px;
overflow-y: auto;
}
/* Estilos para los botones */
.sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar li {
margin-bottom: 10px;
}
/* Estilos para el enlace convertido en botón */
.sidebar a {
display: block;
text-decoration: none;
color: #333;
padding: 10px;
background-color: #007bff;
color: #fff;
border-radius: .8rem;
}
/* Efecto al pasar el mouse sobre el botón */
.sidebar a:hover {
background-color: #c7c41d;
}
/* Estilo para el botón activo */
.sidebar a:active {
background-color: #0056b3;
font-weight: bold;
}
/*Estilos para el contenido de las lecciones*/
.content {
float: left;
display: block;
margin-left: 280px;
}
/*Estilos para el pie de página*/
footer {
position: sticky;
bottom: auto;
}
/*Colores para el nav-bar*/
/*Iinicio*/
.nav-item:nth-child(1) .nav-link:hover {
background: linear-gradient(90deg, #4bc5ce 50%, #911b1b 50%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/*HTML y CSS*/
.nav-item:nth-child(2) .nav-link:hover {
background: linear-gradient(90deg, #E34F26 50%, #1572B6 50%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/*Java*/
.nav-item:nth-child(3) .nav-link:hover {
background: linear-gradient(90deg, #F00 50%, #00F 50%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/*JavaScript*/
.nav-item:nth-child(4) .nav-link:hover {
background: linear-gradient(90deg, #F7DF1E 50%, #F7DF1E 50%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/*Python*/
.nav-item:nth-child(5) .nav-link:hover {
background: linear-gradient(90deg, #306998 50%, #306998 50%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/* React */
.nav-item:nth-child(7) .nav-link:hover {
background: linear-gradient(90deg, #6ba9eb 30%, #181717 70%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/* mySQL */
.nav-item:nth-child(8) .nav-link:hover {
background: linear-gradient(90deg, #4b4dda 30%, #181717 70%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/* Generador de Ejercicios */
.nav-item:nth-child(9) .nav-link:hover {
background: linear-gradient(90deg, #1fdd39 30%, #181717 70%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/*Sobre Nosotros*/
.nav-item:nth-child(10) .nav-link:hover {
background: linear-gradient(90deg, #860876 30%, #181717 70%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f7f7f7;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
background-color: white;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
h1,
h2 {
color: #343a40;
}
ul {
list-style: disc;
margin-left: 1.5rem;
}
pre {
background-color: #f7f7f7;
padding: 1rem;
border: 1px solid #ccc;
overflow-x: auto;
}