summaryrefslogtreecommitdiff
path: root/stylesheets/contact.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/contact.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/contact.css')
-rw-r--r--stylesheets/contact.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/stylesheets/contact.css b/stylesheets/contact.css
index fd75a7c..7921991 100644
--- a/stylesheets/contact.css
+++ b/stylesheets/contact.css
@@ -62,7 +62,7 @@ main h1 {
}
}
-@media (max-width: 50em) {
+@media not all and (min-width: 50em) {
main dl, main ul {
text-align: center;
}