-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
337 lines (278 loc) · 6.61 KB
/
style.css
File metadata and controls
337 lines (278 loc) · 6.61 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
/*CSS Reset / Normalize*/
/* Hemos disponibilizado el básico de reset de estilos. Si quieren, añadan más informaciones
en las secciones señaladas */
/*Já deixaremos o básico de reset de estilos. Caso queira adicionar mais informações
coloque nas sessões indicadas*/
:root{
/* Inserta la variable de los otros colores inspeccionando el exemplo de figma */
/*Se esforce para trabalhar com variáveis, é uma dica profissional valiosa*/
--color-fondo: #F5F5F5;
--color-link: #000;
--color-titulos: #464646; /* REVISAR COLOR */
--color-fondo-azul: #EAF2FD;
--color-cajas: #fbfbfb;
--azul-botones: #0A3871;
--color-botones: #0A3871;
}
body {
box-sizing: border-box;
background-color: var(--color-fondo);
font-family: 'Raleway';
margin: 0;
padding: 0;
line-height: 1;
}
ol, ul,li {
list-style: none;
}
a{
text-decoration: none;
color: var(--color-link);
}
/*En este desafío nosostros gustaríamos que ustedes intentaran utilizar la metodología BEM.
Lo que es el BEM?
BEM (Bloque, Elemento, Modificador) es un enfoque basado en componentes para el
desarrollo web. La idea detrás de esto es dividir la interfaz de usuario en bloques
independientes. Esto hace que el desarrollo de la interfaz sea fácil y rápido, incluso
con una interfaz de usuario compleja, y permite la reutilización del código existente sin copiar y pegar.
Enlace de la documentación oficial!
https://en.bem.info/methodology/quick-start/*/
/* SECCION MENU */
section.menu{
display: flex;
justify-content: space-between;
align-items: center;
align-content: flex-end;
height: 10vh;
margin: 20px 153px;
}
/* cabecera y espacio */
header.menu_header{
display: flex;
justify-content: space-between;
font-size: 16px;
font-weight: 700;
color: var(--color-titulos);
}
/* alineacion de imagen */
.img{
width: 80px;
height: 80px;
margin-top: 20px;
}
/* alineacion titulo */
section.menu h3.menu_title{
margin: 11% 10% 0 0;
text-align: center;
line-height: 20px;
}
/* items del menu */
section.menu nav ul.menu_list {
display: flex;
justify-content: space-between;
font-size: 16px;
width: 600px;
}
/* mouse over items menu */
.item_nav:hover{
color: #2a7ae4;
}
/* permite tomar solo un elemento de las clases y subclases */
section.menu nav ul.menu_list li:nth-child(6){
color: black;
font-weight: 800;
}
/* sección title */
section.title{
margin: 0 153px;
width: 80%;
color: var(--color-titulos);
}
/* alineacion titulo */
section.title div.title_div {
justify-content: space-between;
align-content: flex-start;
display: flex;
flex-direction: row-reverse; /* Cambia de posicion, para el otro lado */
}
/* titulo principal */
section.title div.title_container h2{
margin-top: 10%;
font-size: 50px;
font-weight: 700;
line-height: 61px;
}
/* imagen de perfil */
section.title img.title_profile {
margin-top: 8%;
width: 30%;
height: 30%;
}
/* alineacion contenedor texto debajo titulo */
section.title div.title_div div.title_container h3{
font-size: 17px;
line-height: 23px;
width: 90%;
margin-bottom: 30px;
line-height: 35px;
text-align: justify;
margin: 5% 0;
}
/* container link redes sociales */
section.title div.title_div div.title_container ul{
display: flex;
justify-content: space-between;
align-items: center;
padding: 5%;
width: 500px;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 16px;
text-align: center;
margin: 0 10%;
}
/* cambio color cuando se posiciona el mouse */
.item:hover{
color: #2a7ae4;
}
/* sección About */
section.about{
width: 1050px;
padding: 22px 153px;
background-color: var(--color-fondo-azul);
}
/* container seccion about */
section.about div.about_container{
width: 700px;
line-height: 35px;
}
/* titulo seccion about */
section.about h3.about_title{
font-size: 32px;
color: var(--color-titulos);
margin: 5% 0;
}
/* estilo texto parrafo */
section.about p.about_paragraph{
width: 1000px;
margin: 5% 0;
font-weight: 400;
font-size: 16px;
line-height: 50px;
text-align: justify;
}
/* alineacion de firma */
section.about img.firma{
width: 30%;
margin: 0 500px;
}
/* SECCION SKILLS TAMAÑO */
section.skills{
margin: 64px 100px;
}
/* titulo */
section.skills h3.skills_title{
font-size: 32px;
text-align: center;
color: var(--color-titulos);
margin: 5%;
}
/* alineacion de iconos */
section.skills div.skills_line{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
width: 100%;
}
/* cajas skills */
section.skills div.skills_box{
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 16px;
background-color: var(--color-cajas);
margin: 22px 15px 22px 0;
width: 150px;
height: 160px;
border-color: var(--color-botones);
border-style: outset;
border-width: 2px;
}
/* efecto al posicionar cursor */
section.skills div.skills_box:hover{
width: 180px;
height: 190px;
align-items: center;
cursor: pointer;
}
section.skills li.skills_img:hover{
margin: 0 0 20% 0;
}
/* listas de skills - propiedades de texto*/
section.skills div.skills_box ul{
margin: 0;
padding: 0;
}
/* HOBBIES */
section.hobbies{
margin: 64px 100px;
}
/* titulo de la seccion */
section.hobbies h3.hobbies_title{
font-size: 32px;
text-align: center;
color: var(--color-titulos);
margin: 5%;
}
/* alineacion de iconos */
section.hobbies div.hobbies_line{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
width: 100%;
}
/* cajas hobbies */
section.hobbies div.hobbies_box{
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
padding: 36px;
background-color: var(--color-cajas);
margin: 22px 15px 22px 0;
width: 150px;
height: 160px;
}
/* listas de hobbies - propiedades de texto*/
section.hobbies div.hobbies_box ul{
padding: 0;
font-weight: 600;
font-size: 16px;
line-height: 19px;
color: var(--color-titulos);
text-align: center;
}
/* Vamos a desafiarnos trabajando con responsividad?
Utiliza las referencias de los breakpoints @media abajo */
/*Tablet*/
@media (min-width: 768px) {
/* Menú */
/*title*/
/*Skills*/
/*Hobbies*/
/*Formación Académica*/
/*Experiencia Profesional*/
}
/*Mobile*/
@media (min-width: 425px) {
/*Menu*/
/*Titulo*/
/*Sección sobre mi*/
/*Skills*/
/*Hobbies*/
/*Formación Académica*/
/*Experiencia Profesional*/
/*Contacto*/
/*Footer*/
}