summaryrefslogtreecommitdiff
path: root/commun.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-04 00:35:49 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-17 21:21:51 +0100
commit05c9daf01f4a7bb122bb81b915038582e182b9ef (patch)
tree57a2f4be88d34c4820fa5634b70b59bd5a7d7fec /commun.css
parent24c47ae95e0ab1dbf70a522351d5eb07b2880fe7 (diff)
downloadquatuorbellefeuille.com-05c9daf01f4a7bb122bb81b915038582e182b9ef.tar.xz
Try to make content scrollable
couldn't find a way to make #photos and #bio backgrounds extend to the bottom of .main, for some reason. flex-grow is necessary on .main, otherwise the footer will pick up excess height when zoomed out. use flex: 1/2 for #photos/#bio, instead of percentages with flex-shrink: 0.
Diffstat (limited to 'commun.css')
-rw-r--r--commun.css4
1 files changed, 1 insertions, 3 deletions
diff --git a/commun.css b/commun.css
index 9b52d45..16531a9 100644
--- a/commun.css
+++ b/commun.css
@@ -34,15 +34,13 @@ nav ol li {
}
body {
- height: 100%;
display: flex;
flex-direction: column;
margin: 0;
}
.main {
- flex-grow: 1;
- background: #ccc;
+ background: #f00;
}
footer {