summaryrefslogtreecommitdiff
path: root/stylesheets/membre.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-22 22:27:33 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-22 22:27:33 +0100
commit476d314bb48a643a6123e9dcb11943dbd00048db (patch)
tree338b85d9e7781bf2ab2c16ef414d286b6d955f22 /stylesheets/membre.css
parent3b781d3c8e12750a4dd771f193b473abe6ab3b55 (diff)
downloadquatuorbellefeuille.com-476d314bb48a643a6123e9dcb11943dbd00048db.tar.xz
Try to fix breakpoints in CSS media queries
(min-width: XXem) and (max-width: XXem) mean ≥XXem and ≤XXem, respectively. So we get a bunch of bugs when <body> is *exactly* XXem: - in individual portraits, the image keeps hovering over the text, - sometimes the menu bar disappears, and no menu button shows up, - etc. not all and (min-width: XXem) is the closest thing I've found to <XXem.
Diffstat (limited to 'stylesheets/membre.css')
-rw-r--r--stylesheets/membre.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/stylesheets/membre.css b/stylesheets/membre.css
index 5025c13..1b6d7e1 100644
--- a/stylesheets/membre.css
+++ b/stylesheets/membre.css
@@ -77,7 +77,7 @@ main > img {
}
}
-@media (max-width: 80em)
+@media not all and (min-width: 80em)
{
main {
align-items: center;
@@ -99,7 +99,7 @@ main > img {
}
}
-@media (max-width: 50em)
+@media not all and (min-width: 50em)
{
main > .bio-title > h1 {
font-size: 1.2em;