diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-10 00:27:55 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-10 00:27:55 +0100 |
| commit | 08765b8f45ca05fc790cbbb79ee94fb3b85dbb5c (patch) | |
| tree | 7485218ce0b972abf9ce238e954d42639b7b14bb /stylesheets | |
| parent | c2fd4a151a7e5a5d87d36c1a5527b46baf3db518 (diff) | |
| download | quatuorbellefeuille.com-08765b8f45ca05fc790cbbb79ee94fb3b85dbb5c.tar.xz | |
Stick portraits to bottom right corner
Diffstat (limited to 'stylesheets')
| -rw-r--r-- | stylesheets/membre.css | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/stylesheets/membre.css b/stylesheets/membre.css index adf11f4..fbd3d28 100644 --- a/stylesheets/membre.css +++ b/stylesheets/membre.css @@ -27,8 +27,18 @@ main { margin-bottom: 0.2em; } +#photo { + position: fixed; + bottom: 0; + right: 0; + width: 40vw; + height: 40vw; + z-index: -1; +} + #photo img { - width: 100%; - height: 100%; + position: absolute; + bottom: 0; + right: 0; object-fit: contain; } |
