Commit 3e27961c authored by Pietro Albini's avatar Pietro Albini

page: add a basic grid

parent 36d3d97a
This diff is collapsed.
...@@ -22,18 +22,24 @@ div.page { ...@@ -22,18 +22,24 @@ div.page {
div.row { div.row {
border-top: 1px dotted mix(#fff, $color_warm_gray, 40%); border-top: 1px dotted mix(#fff, $color_warm_gray, 40%);
padding: 2em; padding: 2em 1em;
display: flex;
&:first-child { &:first-child {
border-top: 0; border-top: 0;
} }
& > *:first-child { div.col {
margin-top: 0 !important; flex: 1;
} margin: 0 1em;
& > *:first-child {
margin-top: 0 !important;
}
& > *:last-child { & > *:last-child {
margin-bottom: 0 !important; margin-bottom: 0 !important;
}
} }
} }
...@@ -41,7 +47,15 @@ div.page { ...@@ -41,7 +47,15 @@ div.page {
border-radius: 0; border-radius: 0;
div.row { 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