dedup a bunch of css

pull/187/head
Aevann 2023-08-10 16:51:04 +03:00
parent f0ac2fba2f
commit 257e889bac
1 changed files with 6 additions and 34 deletions

View File

@ -4082,10 +4082,7 @@ small, .small {
.profile-pic { .profile-pic {
width: 50px; width: 50px;
height: 50px; height: 50px;
border-radius: 50%;
margin: auto; margin: auto;
text-align: center;
object-fit: cover;
color: var(--white); color: var(--white);
} }
.navbar .navbar-nav .profile-pic { .navbar .navbar-nav .profile-pic {
@ -4097,58 +4094,34 @@ small, .small {
margin-right: 0.25rem !important; margin-right: 0.25rem !important;
width: 20px; width: 20px;
height: 20px; height: 20px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-25 { .profile-pic-25 {
width: 25px; width: 25px;
height: 25px; height: 25px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-30 { .profile-pic-30 {
width: 30px; width: 30px;
height: 30px; height: 30px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-35 { .profile-pic-35 {
width: 35px; width: 35px;
height: 35px; height: 35px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-50 { .profile-pic-50 {
width: 50px; width: 50px;
height: 50px; height: 50px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-65 { .profile-pic-65 {
width: 65px; width: 65px;
height: 65px; height: 65px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-75 { .profile-pic-75 {
width: 75px; width: 75px;
height: 75px; height: 75px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-100 { .profile-pic-100 {
width: 100px; width: 100px;
height: 100px; height: 100px;
border-radius: 50%;
text-align: center;
object-fit: cover;
} }
.profile-pic-20-wrapper, .profile-pic-20-wrapper,
@ -4825,9 +4798,6 @@ ul.comment-section {
border-radius: .35rem; border-radius: .35rem;
overflow: hidden; overflow: hidden;
} }
.rounded-circle {
border-radius: 50%;
}
@media (min-width: 768px) { @media (min-width: 768px) {
.border-md { .border-md {
border: 1px solid var(--gray-400) !important; 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 { img[src$="/i/talking.webp"]+img[src$="/i/hand.webp"]+img {
margin-top: 20%; 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 { .love-preview {
bottom: calc(2px + 2%) !important; bottom: calc(2px + 2%) !important;
@ -7711,3 +7677,9 @@ body {
max-height: 50px; max-height: 50px;
overflow-y: auto; overflow-y: auto;
} }
img[src^="/pp/"], img[src^="/uid/"], img[src$="/pic"] {
border-radius: 50%;
text-align: center;
object-fit: cover;
}