@@ -168,7 +168,7 @@ body {
168168 .header .logo-wrapper {
169169 margin : 0 ;
170170 padding-left : 0.75rem ;
171- padding-right : 6 rem ;
171+ padding-right : 1.1 rem ;
172172 }
173173
174174 .header .logo-wrapper : hover {
@@ -269,26 +269,29 @@ display: none;
269269 color : var (--light-text-color );
270270}
271271
272-
273-
274-
275-
272+ /* General card */
276273.card {
277- display : block;
278- box-shadow : 0 4px 8px 0 var (--shadow-color );
279- transition : 0.3s ;
280- width : 40% ;
281274 padding : 10px ;
282- }
283-
284- .card > div > img {
285- width : 200px ;
275+ border : 1px solid var (--gray-3 );
276+ overflow : hidden;
277+ text-align : center;
278+ transition : all 0.2s ease-in-out;
279+ display : grid;
280+ box-shadow : 0 4px 8px 0 rgba (0 , 0 , 0 , 0.2 );
281+ background-color : var (--background-color );
286282}
287283
288284.card : hover {
289285 box-shadow : 0 8px 16px 0 var (--shadow-color );
290286}
291287
288+ .card img {
289+ object-fit : cover;
290+ width : 100% ;
291+ height : 100% ;
292+ }
293+
294+
292295.container {
293296 padding : 2px 16px ;
294297}
@@ -422,24 +425,12 @@ section > iframe {
422425 .caption {
423426 font-size : 0.8rem ;
424427 }
425- .card {
426- width : 100% ;
427- }
428- }
429-
430- @media (min-width : 30rem ) {
431- .card {
432- width : 100% ;
433- }
434428}
435429
436430@media (min-width : 40rem ) {
437431 .content-wrapper .content {
438432 padding : 1.5rem 2rem 2.3rem 2rem ;
439433 }
440- .card {
441- width : 100% ;
442- }
443434}
444435
445436@media (min-width : 63rem ) {
@@ -517,9 +508,6 @@ section > iframe {
517508 .caption {
518509 font-size : 0.8rem ;
519510 }
520- .card {
521- width : 100% ;
522- }
523511}
524512/*
525513Código de conducta
@@ -536,21 +524,12 @@ Código de conducta
536524/*
537525Ediciones Anteriores
538526*/
539-
540527.wrapper {
541528 display : grid;
542529 grid-template-columns : repeat (3 , 1fr );
543530 grid-gap : 20px ;
544531}
545532
546- .card {
547- border : 1px solid var (--gray-3 );
548- overflow : hidden;
549- text-align : center;
550- transition : all 0.2s ease-in-out;
551- background-color : var (--background-color );
552- }
553-
554533.card__image-container {
555534 position : relative;
556535 padding-top : 100% ; /* sets the height of the container equal to its width */
@@ -876,9 +855,6 @@ Sección de fotos polaroid
876855 .plans-table {
877856 font-size : 0.9rem ;
878857 }
879- .card {
880- width : 100% ;
881- }
882858}
883859
884860@media screen and (min-width : 50rem ) {
@@ -898,9 +874,6 @@ Sección de fotos polaroid
898874 .plans-table thead tr th .plan-title {
899875 display : none;
900876 }
901- .card {
902- width : 100% ;
903- }
904877}
905878
906879/* Patrocinios - add-ons */
@@ -944,6 +917,19 @@ Sección de fotos polaroid
944917}
945918
946919/* Organización*/
920+ .partners-grid {
921+ display : grid;
922+ grid-template-columns : repeat (auto-fit, 190px );
923+ grid-gap : 1rem ;
924+ margin : 1rem 0 ;
925+ justify-content : center;
926+ }
927+
928+ .partners-grid .organizer-figure {
929+ margin : 5px ;
930+ height : 100px ;
931+ }
932+
947933.list-item {
948934 flex-wrap : nowrap !important ;
949935 padding : 1.5rem !important ;
@@ -1139,57 +1125,55 @@ details p {
11391125
11401126
11411127
1142-
11431128/* Sponsor cards */
1144- .card {
1145- display : grid;
1146- /*grid-template-rows: max-content 100px;*/
1147- box-shadow : 0 4px 8px 0 rgba (0 , 0 , 0 , 0.2 );
1148- }
1149-
1150- .card img {
1151- object-fit : cover;
1152- width : 100% ;
1153- height : 100% ;
1154- }
11551129
11561130/* sponsor special */
11571131.special-grid {
11581132 display : grid;
1159- grid-template-columns : repeat (auto-fill , minmax ( 180 px , 10 % ) );
1133+ grid-template-columns : repeat (6 , 1 fr );
11601134 grid-gap : 20px ;
1135+ margin : 1rem 0 ;
11611136}
11621137
11631138/* Timanfaya */
11641139.timanfaya-grid {
11651140 display : grid;
1166- grid-template-columns : repeat (auto-fill , minmax ( 180 px , 10 % ) );
1141+ grid-template-columns : repeat (6 , 1 fr );
11671142 grid-gap : 20px ;
1143+ margin : 1rem 0 ;
11681144}
11691145
11701146/* Teneguía */
11711147.teneguia-grid {
11721148 display : grid;
1173- grid-template-columns : repeat (auto-fill , minmax ( 200 px , 20 % ) );
1149+ grid-template-columns : repeat (5 , 1 fr );
11741150 grid-gap : 20px ;
1151+ margin : 1rem 0 ;
11751152}
11761153
11771154/* Tamadaba */
11781155.tamadaba-grid {
11791156 display : grid;
1180- grid-template-columns : repeat (auto-fill , minmax ( 245 px , 30 % ) );
1157+ grid-template-columns : repeat (4 , 1 fr );
11811158 grid-gap : 20px ;
1159+ margin : 1rem 0 ;
11821160}
11831161
11841162/* Teide */
11851163.teide-grid {
11861164 display : grid;
1187- grid-template-columns : repeat (auto-fill , minmax ( 250 px , 40 % ) );
1165+ grid-template-columns : repeat (3 , 1 fr );
11881166 grid-gap : 20px ;
1167+ margin : 1rem 0 ;
11891168}
11901169
1191-
1192-
1170+ @media (max-width : 910px ) {
1171+ .special-grid { grid-template-columns : repeat (5 , 1fr ); }
1172+ .timanfaya-grid { grid-template-columns : repeat (5 , 1fr ); }
1173+ .teneguia-grid { grid-template-columns : repeat (4 , 1fr ); }
1174+ .tamadaba-grid { grid-template-columns : repeat (3 , 1fr ); }
1175+ .teide-grid { grid-template-columns : repeat (2 , 1fr ); }
1176+ }
11931177
11941178@media (max-width : 600px ) {
11951179 .special-grid { grid-template-columns : repeat (2 , 1fr ); }
@@ -1200,26 +1184,19 @@ details p {
12001184}
12011185
12021186.title-badge {
1203- display : inline-block;
12041187 font-size : 1.5rem ;
1205- margin-top : 2 % ;
1188+ margin-top : 2 rem ;
12061189}
12071190
12081191.title-badge img {
12091192 vertical-align : middle;
1210- width : 20 % ;
1193+ width : 5.5 rem ;
12111194}
12121195
12131196.sponsor-figure {
12141197 margin : 5px ;
12151198}
12161199
1217- .organizer-figure {
1218- width : 155px ;
1219- margin : 5px ;
1220- height : 100px ;
1221- }
1222-
12231200.special {
12241201 margin : 0 ;
12251202}
0 commit comments