From 08765b8f45ca05fc790cbbb79ee94fb3b85dbb5c Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 10 Feb 2021 00:27:55 +0100 Subject: Stick portraits to bottom right corner --- stylesheets/membre.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'stylesheets/membre.css') 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; } -- cgit v1.2.3