From 257e889bac26425e61dc207334cc42e7b139750b Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 10 Aug 2023 16:51:04 +0300 Subject: [PATCH] dedup a bunch of css --- files/assets/css/main.css | 40 ++++++--------------------------------- 1 file changed, 6 insertions(+), 34 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 924eb6fd7..c1aef3ca2 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -4082,10 +4082,7 @@ small, .small { .profile-pic { width: 50px; height: 50px; - border-radius: 50%; margin: auto; - text-align: center; - object-fit: cover; color: var(--white); } .navbar .navbar-nav .profile-pic { @@ -4097,58 +4094,34 @@ small, .small { margin-right: 0.25rem !important; width: 20px; height: 20px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-25 { width: 25px; height: 25px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-30 { width: 30px; height: 30px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-35 { width: 35px; height: 35px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-50 { width: 50px; height: 50px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-65 { width: 65px; height: 65px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-75 { width: 75px; height: 75px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-100 { width: 100px; height: 100px; - border-radius: 50%; - text-align: center; - object-fit: cover; } .profile-pic-20-wrapper, @@ -4825,9 +4798,6 @@ ul.comment-section { border-radius: .35rem; overflow: hidden; } -.rounded-circle { - border-radius: 50%; -} @media (min-width: 768px) { .border-md { border: 1px solid var(--gray-400) !important; @@ -5587,10 +5557,6 @@ img[src$="/i/talking.webp"]+img[src$="/i/hand.webp"] { img[src$="/i/talking.webp"]+img[src$="/i/hand.webp"]+img { margin-top: 20%; } -img[src$="/i/hand.webp"]+img[src^="/pp/"], img[src$="/i/hand.webp"]+img[src$="/pic"], img[src$="/i/talking.webp"]+img[src^="/pp/"], img[src$="/i/talking.webp"]+img[src$="/pic"] { - border-radius: 50%; - object-fit: cover; -} .love-preview { bottom: calc(2px + 2%) !important; @@ -7711,3 +7677,9 @@ body { max-height: 50px; overflow-y: auto; } + +img[src^="/pp/"], img[src^="/uid/"], img[src$="/pic"] { + border-radius: 50%; + text-align: center; + object-fit: cover; +}