MediaWiki:Common.css: различия между версиями
Материал из Свободное время
Андрей (обсуждение | вклад) Нет описания правки |
Андрей (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/*ТУТ ПРО ЛОГОТИП */ | /*ТУТ ПРО ЛОГОТИП */ | ||
/* | /* Полное скрытие ВСЕХ текстов названия */ | ||
#mw-head-base * h1, | |||
#mw-head-base h1, | #mw-head-base h1, | ||
#firstHeading, | #firstHeading, | ||
.mw-h1-title, | .mw-h1-title, | ||
.siteTitle, | .siteTitle, | ||
.mw-body-content h1 { | .mw-body-content h1, | ||
.mw-logo-container h1, | |||
.mw-logo-container span, | |||
.mw-logo-container a span { | |||
display: none !important; | display: none !important; | ||
visibility: hidden !important; | |||
font-size: 0 !important; | |||
height: 0 !important; | |||
width: 0 !important; | |||
overflow: hidden !important; | |||
opacity: 0 !important; | |||
} | } | ||
/* Большой логотип */ | /* Большой логотип БЕЗ текста */ | ||
.mw-logo-container { | .mw-logo-container { | ||
width: 160px !important; | width: 160px !important; | ||
| Строка 17: | Строка 27: | ||
align-items: center !important; | align-items: center !important; | ||
justify-content: center !important; | justify-content: center !important; | ||
position: relative !important; | |||
} | |||
.mw-logo-container::before { | |||
content: '' !important; | |||
position: absolute !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
right: 0 !important; | |||
bottom: 0 !important; | |||
z-index: 10 !important; | |||
} | } | ||
| Строка 27: | Строка 48: | ||
height: 150px !important; | height: 150px !important; | ||
min-height: 150px !important; | min-height: 150px !important; | ||
z-index: 20 !important; | |||
position: relative !important; | |||
} | } | ||
Версия от 15:05, 30 декабря 2025
/*ТУТ ПРО ЛОГОТИП */
/* Полное скрытие ВСЕХ текстов названия */
#mw-head-base * h1,
#mw-head-base h1,
#firstHeading,
.mw-h1-title,
.siteTitle,
.mw-body-content h1,
.mw-logo-container h1,
.mw-logo-container span,
.mw-logo-container a span {
display: none !important;
visibility: hidden !important;
font-size: 0 !important;
height: 0 !important;
width: 0 !important;
overflow: hidden !important;
opacity: 0 !important;
}
/* Большой логотип БЕЗ текста */
.mw-logo-container {
width: 160px !important;
height: 160px !important;
min-height: 160px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
position: relative !important;
}
.mw-logo-container::before {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
z-index: 10 !important;
}
.mw-logo {
background-image: url('https://svremya.org/images/logo.png') !important;
background-size: 150px 150px !important;
background-repeat: no-repeat !important;
background-position: center !important;
width: 150px !important;
height: 150px !important;
min-height: 150px !important;
z-index: 20 !important;
position: relative !important;
}
/*ДАЛЕЕ НЕ ПРО ЛОГОТИП */
.extimg-400 img {
width: 400px !important;
height: auto;
display: block;
}
.ext-right {
float: right;
margin: 0 0 1em 1em;
clear: right;
}
