Verskil tüsken versys van "Mal:Vöärblad/styles.css"

301 bytes verwijderd ,  1 jaar geleden
geen bewarkingssamenvatting
.parent {
/* SECTIONS */
display: blockgrid;
.section {
grid-template-columns: repeat(2, 1fr);
clear: both;
grid-template-rows: repeat(2, 1fr);
padding: 0px;
grid-column-gap: 1.6px;
margin: 0px;
grid-row-gap: 1.6px;
}
 
.div1 { grid-area: 1 / 1 / 2 / 2; }
/* COLUMN SETUP */
.div2 { grid-area: 2 / 1 / 3 / 2; }
.col {
.div3 { grid-area: 1 / 2 / 2 / 3; }
display: block;
.div4 { grid-area: 2 / 2 / 3 / 3; }
float:left;
margin: 1% 0 1% 1.4%;
}
.col:first-child { margin-left: 0; }
 
/* GROUPING */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
/* GRID OF TWO */
.span_2_of_2 {
width: 100%;
}
.span_1_of_2 {
width: 49.2%;
}
 
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
 
@media only screen and (max-width: 480px) {
.col {
margin: 1% 0 1% 0%;
}
}
 
@media only screen and (max-width: 480px) {
.span_2_of_2, .span_1_of_2 { width: 100%; }
}
7.963

bewarkingen