summaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-06 23:09:56 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-06 23:10:38 +0100
commit29ec9e1dc226268b08528bc4e28eb69967b4ff19 (patch)
tree03929b9f74a79af7976a6cea1deb432c210bd1e3 /stylesheets
parent8ef174bc3a391b3ecad62b0390f5d4c4d176f8a2 (diff)
downloadquatuorbellefeuille.com-29ec9e1dc226268b08528bc4e28eb69967b4ff19.tar.xz
Make layout of contact page more robust
Prevent #partners from overflowing into sidebar.
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/contact.css9
1 files changed, 6 insertions, 3 deletions
diff --git a/stylesheets/contact.css b/stylesheets/contact.css
index 75bb458..221df09 100644
--- a/stylesheets/contact.css
+++ b/stylesheets/contact.css
@@ -16,9 +16,10 @@ main h1 {
border-right: solid 1px #e05a00;
/* Try to set this so that border does not go too far below photo. */
height: 28em;
+ padding-right: 2em;
}
- #contact-us, #partners {
- margin: 2em;
+ #partners {
+ padding-left: 2em;
}
#contact-us dl:not(:first) {
@@ -36,14 +37,16 @@ main h1 {
#contact-us figure {
margin-left: 0;
+ max-width: 80%;
}
#contact-us figure img {
- max-width: 30em;
+ max-width: 100%;
}
#partners ul {
display: flex;
+ flex-wrap: wrap;
align-items: center;
margin-top: 3em;
padding-left: 0;