diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-06 23:09:56 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-06 23:10:38 +0100 |
| commit | 29ec9e1dc226268b08528bc4e28eb69967b4ff19 (patch) | |
| tree | 03929b9f74a79af7976a6cea1deb432c210bd1e3 /stylesheets/contact.css | |
| parent | 8ef174bc3a391b3ecad62b0390f5d4c4d176f8a2 (diff) | |
| download | quatuorbellefeuille.com-29ec9e1dc226268b08528bc4e28eb69967b4ff19.tar.xz | |
Make layout of contact page more robust
Prevent #partners from overflowing into sidebar.
Diffstat (limited to 'stylesheets/contact.css')
| -rw-r--r-- | stylesheets/contact.css | 9 |
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; |
