From d535327b5bb21bef1b73d1eeb418e487ac0d2352 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 17 Aug 2020 10:45:30 +0200 Subject: [PATCH] Add style for profile pics --- articles/static/style.css | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/articles/static/style.css b/articles/static/style.css index 9a67b9e..d3b5d19 100644 --- a/articles/static/style.css +++ b/articles/static/style.css @@ -31,9 +31,22 @@ a { transition: text-decoration .12s ease; } -/*.article-list a {*/ -/* text-decoration: underline var(--accent) 1px;*/ -/*}*/ +.pic-container { + display: flex; + justify-content: space-evenly; + flex-wrap: wrap; +} + +.pic-container .profile-pic { + max-width: 200px; + min-width: 100px; + max-height: 200px; + min-height: 100px; + border-radius: 10%; + padding: 1rem; + flex-shrink: 1; + flex-grow: 0; +} a:hover, a:focus { text-decoration: none; @@ -64,7 +77,7 @@ article.article-list h2 a { img { opacity: .75; - transition: opacity .5s ease-in-out; + transition: opacity .2s ease-in-out; } img:hover {