diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-13 21:50:53 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-13 21:50:53 +0100 |
| commit | ce8851efc5ab26e6e40bcafd4d0ae2b6c3fac839 (patch) | |
| tree | e044a9a95c917ca63a481de0ef7b902cf058b2d1 /stylesheets | |
| parent | 8793ea58d8b3586f2444f8f7bf325347fca7caeb (diff) | |
| download | quatuorbellefeuille.com-ce8851efc5ab26e6e40bcafd4d0ae2b6c3fac839.tar.xz | |
Do the strict minimum for ensemble bio on mobile
Diffstat (limited to 'stylesheets')
| -rw-r--r-- | stylesheets/commun.css | 2 | ||||
| -rw-r--r-- | stylesheets/quatuor.css | 25 |
2 files changed, 14 insertions, 13 deletions
diff --git a/stylesheets/commun.css b/stylesheets/commun.css index 6fe4dfb..135fec5 100644 --- a/stylesheets/commun.css +++ b/stylesheets/commun.css @@ -253,7 +253,7 @@ footer.legal { main { grid-row: 3; grid-column: 1 / -1; - padding: 0.8em; + padding: 0.8em; /* TODO: remove? */ } header.menu { diff --git a/stylesheets/quatuor.css b/stylesheets/quatuor.css index cc79f60..97aa2f1 100644 --- a/stylesheets/quatuor.css +++ b/stylesheets/quatuor.css @@ -57,29 +57,30 @@ filter: none; transform: scale(1.05); } - - #photos p { - margin: 0; - } } @media (max-width: 40em) { #photos { display: grid; - grid-template-columns: repeat(4, 20%); + grid-template-columns: repeat(auto-fit, minmax(20%, 50%)); justify-content: space-evenly; width: 100%; } - #photos > * { - width: 100%; - height: 50vh; + #photos > a.member { + display: block; + text-decoration: none; } #photos img.portrait { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center; + display: block; + margin-left: auto; + margin-right: auto; + max-height: 60vh; + } + + #photos p { + margin: 0; + text-align: center; } } |
