Skip to content

Commit 1485084

Browse files
cuarto commit
1 parent 5598c21 commit 1485084

File tree

1 file changed

+103
-43
lines changed

1 file changed

+103
-43
lines changed

index.css

Lines changed: 103 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,11 @@ html{
99
body{margin: 0;}
1010

1111
/* tamaños generales */
12-
h1 {
13-
font-size: clamp(2.5rem, 6vw, 4rem);
14-
}
15-
16-
h2 {
17-
font-size: clamp(2rem, 5vw, 3rem);
18-
}
19-
20-
h3 {
21-
font-size: clamp(1.5rem, 4vw, 2.5rem);
22-
}
23-
24-
h4 {
25-
font-size: clamp(1.25rem, 3.5vw, 2rem);
26-
}
27-
28-
p {
29-
font-size: clamp(1rem, 2.5vw, 1.5rem);
30-
}
31-
32-
li {
33-
font-size: clamp(1rem, 2.5vw, 1.5rem);
34-
}
12+
h1 { font-size: clamp(1.8rem, 5vw, 4rem); }
13+
h2 { font-size: clamp(1.5rem, 4.5vw, 3rem); }
14+
h3 { font-size: clamp(1.25rem, 4vw, 2.5rem); }
15+
h4 { font-size: clamp(1rem, 3.5vw, 2rem); }
16+
p, li { font-size: clamp(0.9rem, 2.5vw, 1.5rem); }
3517

3618
/* fuentes */
3719
#lema, h4 {font-family: "Open Sans";}
@@ -41,7 +23,7 @@ h2, h3{font-family: "Chau Philomene One";font-style:normal;}
4123
/* botones */
4224
button{
4325
font-family: "Open Sans";
44-
font-size: 1.25em;
26+
font-size: clamp(1rem, 2.5vw, 1.5rem);
4527
font-weight: bold;
4628
color: white;
4729
padding: 4px 7px;
@@ -100,7 +82,7 @@ header .logo{
10082
align-items: center;
10183
}
10284
#lema{
103-
font-size: 7px;
85+
font-size: clamp(0.75rem, 2vw, 1rem);
10486
text-align: center;
10587
align-items: center;
10688
}
@@ -116,7 +98,7 @@ header a{
11698
text-decoration: none;
11799
font-weight: bold;
118100
color: #6d6767;
119-
font-size: 5px;
101+
font-size: 0.75rem;
120102
align-items: center;
121103
}
122104
header a:hover {
@@ -137,7 +119,7 @@ header a:hover {
137119
justify-content: center;
138120
text-align: center;
139121
flex-direction: column;
140-
height: 100vh;
122+
height: 100dvh;
141123
background-image:
142124
linear-gradient(0deg, rgba(0,0,0,0.5),
143125
rgba(0,0,0,0.5)), url(img/alfombra.jpg);
@@ -147,6 +129,7 @@ header a:hover {
147129
font-size: 1.25em;
148130
}
149131
#hero h1{
132+
font-size: clamp(2rem, 6vw, 5em);
150133
color: white;
151134
}
152135

@@ -186,7 +169,7 @@ header a:hover {
186169
}
187170
#que-es li{
188171
padding-inline: 0px;
189-
margin: 0x 0px;
172+
margin: 0px 0px;
190173
text-align: left;
191174
list-style-type: circle;
192175
}
@@ -225,23 +208,20 @@ header a:hover {
225208
h4{
226209
margin-bottom: 5px;
227210
margin-top: 5px;
228-
display: flex;
229-
flex-direction: column;
230211
text-align: center;
231212
align-items: center;
232-
font-size: clamp(0rem);
213+
font-size: clamp(1rem, 2.5vw, 2rem);
233214
}
234215
#nube p{
235216
display: none;
236217
}
237218
.sub{
238219
font-family: "Open-Sans";
239-
font-size: 7px;
220+
font-size: 0.75rem;
240221
}
241222

242223
/* ajustes de cartas seccion #programas */
243224
#nube .cartas {
244-
background-position: center;
245225
background-size: cover;
246226
background-position: center center;
247227
padding: 10px 30px;
@@ -321,12 +301,12 @@ h4{
321301
border-radius: 17px;
322302
}
323303
#final h2{
324-
font-size: 2.2em;
304+
font-size: clamp(1.5rem, 5vw, 2.5rem);
325305
padding: 0px;
326306
color: white;
327307
}
328308
#final button{
329-
font-size: 3vh;
309+
font-size: clamp(1rem, 3vh, 2rem);
330310
}
331311

332312
/* ajustes footer */
@@ -365,7 +345,7 @@ footer a, footer p{
365345
text-decoration: none;
366346
font-weight: bold;
367347
color: #6d6767;
368-
font-size: 7px;
348+
font-size: clamp(0.50rem, 1vw, 0.5rem);
369349
align-items: center;
370350
}
371351
footer a:hover {
@@ -377,7 +357,7 @@ footer #copy{
377357

378358

379359
/* version desktop */
380-
@media(min-width: 1200px )
360+
@media(min-width: 601px )
381361
{
382362
/*header desktop */
383363
header{
@@ -400,7 +380,7 @@ footer #copy{
400380

401381
/* #hero desktop */
402382
#hero button{
403-
font-size: 7vh;
383+
font-size: clamp(1.5rem, 5vw, 3rem);
404384
border-radius: 30px;
405385
}
406386
#hero h1{
@@ -450,11 +430,7 @@ footer #copy{
450430
padding:30px;
451431
padding-top: 20px;
452432
}
453-
#que-es .container .container{
454-
padding: 0px;
455-
456433

457-
}
458434
#que-es .parrafo{
459435
text-align: left;
460436
padding: 0px;
@@ -526,4 +502,88 @@ footer #copy{
526502
padding-left: 30px;
527503
}
528504

529-
}
505+
}
506+
507+
/* versión tablet / pantallas medianas */
508+
@media (min-width: 400px) and (max-width: 600px)
509+
510+
{
511+
/* header tablet */
512+
header .container {
513+
flex-direction: row;
514+
justify-content: space-between;
515+
align-items: center;
516+
}
517+
header nav {
518+
display: flex;
519+
gap: 10px;
520+
}
521+
header a {
522+
font-size: 1rem;
523+
}
524+
525+
/* hero tablet */
526+
#hero h1 {
527+
font-size: clamp(2.5rem, 6vw, 4rem);
528+
}
529+
#hero button {
530+
font-size: clamp(1.2rem, 4vw, 2rem);
531+
}
532+
533+
/* quienes somos tablet */
534+
#quienes-somos .container {
535+
display: flex;
536+
flex-direction: row;
537+
justify-content: space-around;
538+
align-items: center;
539+
padding: 60px 20px;
540+
}
541+
#quienes-somos .texto {
542+
width: 60%;
543+
max-width: 500px;
544+
text-align: left;
545+
}
546+
#quienes-somos .img-container {
547+
width: 250px;
548+
height: 250px;
549+
}
550+
551+
/* que es tablet */
552+
#que-es .parrafo {
553+
display: flex;
554+
flex-direction: row;
555+
gap: 20px;
556+
}
557+
#que-es ul {
558+
padding-left: 20px;
559+
}
560+
561+
/* programas tablet */
562+
#nube .orden, .orden2 {
563+
display: flex;
564+
flex-wrap: wrap;
565+
justify-content: center;
566+
gap: 20px;
567+
}
568+
#nube .cartas {
569+
flex: 1 1 45%;
570+
margin: 10px;
571+
}
572+
573+
/* final tablet */
574+
#final .container {
575+
padding-inline: 60px;
576+
padding-block: 20px;
577+
}
578+
579+
/* footer tablet */
580+
footer .container {
581+
flex-direction: row;
582+
justify-content: space-between;
583+
align-items: center;
584+
padding-inline: 20px;
585+
}
586+
footer a, footer p {
587+
font-size: 0.7rem;
588+
}
589+
}

0 commit comments

Comments
 (0)