🚧 [minimal] New flex layout components
This commit is contained in:
parent
ef3592f08a
commit
063ae2aae8
5 changed files with 328 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue