diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-13 18:24:43 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-13 18:24:43 +0100 |
| commit | 42d88baa30baa72f60832ddee3b30144bdf99036 (patch) | |
| tree | e1f7420ee261bf8dda9ea0bb7a254c1f21b0b317 /stylesheets | |
| parent | 84025a026a5ba791c66967fce9903bdd684f7446 (diff) | |
| download | quatuorbellefeuille.com-42d88baa30baa72f60832ddee3b30144bdf99036.tar.xz | |
Tweak portrait layout, add leaf backgrounds
Diffstat (limited to 'stylesheets')
| -rw-r--r-- | stylesheets/membre.css | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/stylesheets/membre.css b/stylesheets/membre.css index 0d56a33..2f52b7b 100644 --- a/stylesheets/membre.css +++ b/stylesheets/membre.css @@ -1,9 +1,12 @@ main { display: grid; - grid-template-columns: 60% 40%; + grid-template-columns: 3fr 2fr; align-items: center; - justify-self: center; - width: 80%; +} + +main > * { + margin-left: 2em; + margin-right: 2em; } #bio { @@ -31,18 +34,7 @@ main { margin-bottom: 0.2em; } -#photo { - position: fixed; - bottom: 0; - right: 0; - width: 70vh; - height: 70vh; - z-index: -1; -} - #photo img { - position: absolute; - bottom: 0; - right: 0; - object-fit: contain; + width: 100%; + background-size: cover; } |
