Комментарий #10444156

Barbaduk
добавление картинки поверх аватарок людей
.d-a {}

.b-comment[data-user_id="292471"] > a::after {
    background: url(https://desu.shikimori.one/system/images/original/139412.png?1707586080) no-repeat;
    background-size: 50px 30px;
    position: absolute;
    display: block;
    width: 50px !important;
    height: 30px !important;
    content: "";
    top: -20px;
    left: 0px;
    transform: rotate(0deg);
    z-index: 2;
}

.b-comment[data-user_id="292471"] > a {
	position: relative;
  	font-size: 0;
}

.b-comment.aside-expanded[data-user_id="292471"] > a::after {
	margin-left: -250px;
}  

@media screen and (max-width: 767px) {
.b-comment[data-user_id="292471"] > a::after {
	background-size: 22px 22px;
    width: 22px !important;
    height: 22px !important;
    top: -15px;
    left: 5px;
}
}
замена аватарок на форуме
.b-comment[data-user_id="755522"] > .inner > header > a::after {
    background: url(https://desu.shikimori.one/system/images/original/139399.png?1707495015) no-repeat;
    background-size: 48px 48px;
    position: absolute;
    display: block;
    width: 48px !important;
    height: 48px !important;
    content: "";
    top: 1px;
    z-index: 1;
}

.b-comment[data-user_id="755522"] > .inner > header > a {
	position: relative;
  	font-size: 0;
}

@media screen and (max-width: 767px) {

.b-comment[data-user_id="755522"] > .inner > header > a::after {
    background-size: 32px 32px;
    width: 32px !important;
    height: 32px !important;
    top: 1x;
}

}
замена никнеймов
.b-comment[data-user_id="521570"] .name {
  font-size: 0;
}
.b-comment[data-user_id="521570"] .name::before {
  content: "Барбадук";
  font-size: 13px;
}
отключение аватарок
.b-comment[data-user_id="185144"] .inner header img {
  display: none;
}
Ответы
_Just_Monika_95_
_Just_Monika_95_#
@Barbaduk, Спасибо за коды CSS
назад
Твой комментарий
Вернуться к редактированию
Предпросмотр
Скрыть