summaryrefslogtreecommitdiff
path: root/quatuor.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-31 14:20:49 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-31 14:20:49 +0100
commit02bbe5b0c85cab29cc072a68d191eb4d1e85e7d7 (patch)
treeaa51febe956159f0218ec09ec7fc57836acb0f2b /quatuor.css
parent55d6ead1b3cb89ae34dd0468c59f63970a06bcbd (diff)
downloadquatuorbellefeuille.com-02bbe5b0c85cab29cc072a68d191eb4d1e85e7d7.tar.xz
Allow <body> to overflow
Diffstat (limited to 'quatuor.css')
-rw-r--r--quatuor.css12
1 files changed, 5 insertions, 7 deletions
diff --git a/quatuor.css b/quatuor.css
index 168caf5..f3d942e 100644
--- a/quatuor.css
+++ b/quatuor.css
@@ -13,13 +13,7 @@ main #photos {
position: sticky;
top: 0;
-
- /* ⚠ Keep this bigger than vertical displacement of lowest photo,
- otherwise Firefox glitches: it shows a scrollbar for <main>,
- yet refuses to scroll #photos; #bio scrolls into infinite
- emptiness… */
- padding-top: 2em;
- padding-bottom: 2em;
+ max-height: 80vh;
}
#photos > * {
@@ -66,3 +60,7 @@ main #photos {
#photos > *:nth-of-type(4) {
top: 0.4em;
}
+
+#bio > *:first-child {
+ margin-top: 0;
+}