🚧 [minimal] New flex layout components

This commit is contained in:
Manuel Cillero 2023-08-13 10:53:12 +02:00
parent ef3592f08a
commit 063ae2aae8
5 changed files with 328 additions and 3 deletions

View file

@ -1,4 +1,34 @@
/* SiteBranding component */
/* Flex components */
.flex {
display: flex;
flex-direction: column;
}
@media (min-width: 768px) {
.flex {
flex-direction: row;
}
}
/* Grid components */
.row .row {
margin: 0 -1.5em;
}
.col {
padding: 0 1.5em;
}
.row:after {
content: "";
clear: both;
display: table;
}
@media only screen {
.col {
float: left;
width: 100%;
box-sizing: border-box;
}
}
/* SiteBranding component */ /*
#site-branding {
float: left;
}
@ -32,7 +62,7 @@
display: block;
}
}
*/
/* PoweredBy component */
#powered-by {
text-align: center;