page: add a basic grid

parent 36d3d97a
This diff is collapsed.
......@@ -22,18 +22,24 @@ div.page {
div.row {
border-top: 1px dotted mix(#fff, $color_warm_gray, 40%);
padding: 2em;
padding: 2em 1em;
display: flex;
&:first-child {
border-top: 0;
}
& > *:first-child {
margin-top: 0 !important;
}
div.col {
flex: 1;
margin: 0 1em;
& > *:first-child {
margin-top: 0 !important;
}
& > *:last-child {
margin-bottom: 0 !important;
& > *:last-child {
margin-bottom: 0 !important;
}
}
}
......@@ -41,7 +47,15 @@ div.page {
border-radius: 0;
div.row {
padding: 2em 1em;
display: block;
div.col {
margin: 2em 0 0 0;
&:first-child {
margin-top: 0;
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment