MediaWiki:Common.css: відмінності між версіями
Перейти до навігації
Перейти до пошуку
Wiki (обговорення | внесок) Немає опису редагування |
Wiki (обговорення | внесок) Немає опису редагування |
||
| Рядок 30: | Рядок 30: | ||
.mw-mmv-overlay { | .mw-mmv-overlay { | ||
background: rgba(0,0,0,0.95) !important; | background: rgba(0,0,0,0.95) !important; | ||
/* Стилі для нових елементів меню */ | |||
#p-navigation .toggle-list-item { | |||
border-bottom: 1px solid #333 !important; | |||
} | |||
#p-navigation .toggle-list-item:first-child { | |||
border-top: 1px solid #333 !important; | |||
} | |||
.menu__item--mainpage, | |||
.menu__item--randompage { | |||
display: flex !important; | |||
align-items: center !important; | |||
padding: 14px 16px !important; | |||
color: #ffffff !important; | |||
text-decoration: none !important; | |||
font-size: 16px !important; | |||
} | |||
.menu__item--mainpage:hover, | |||
.menu__item--randompage:hover { | |||
background-color: #2a2a2a !important; | |||
color: #ffcc00 !important; | |||
} | |||
.minerva-icon--home, | |||
.minerva-icon--die { | |||
width: 22px !important; | |||
height: 22px !important; | |||
margin-right: 12px !important; | |||
filter: brightness(0) invert(1) !important; | |||
} | |||
} | } | ||
Версія за 22:34, 26 вересня 2025
/* В MediaWiki:Common.css */
/* Принудительное отображение кнопки закрытия даже в режиме зума */
.mw-mmv-close {
display: block !important;
opacity: 1 !important;
visibility: visible !important;
z-index: 100000 !important; /* Максимальный z-index */
pointer-events: all !important;
}
/* Увеличение и выделение кнопки закрытия */
.mw-mmv-close {
width: 80px !important;
height: 80px !important;
background: rgba(255, 0, 0, 0.9) !important;
border: 3px solid white !important;
box-shadow: 0 0 20px rgba(0,0,0,0.8) !important;
}
.mw-mmv-close:before, .mw-mmv-close:after {
background: white !important;
width: 40px !important;
height: 6px !important;
top: 50% !important;
left: 50% !important;
margin-left: -20px !important;
}
/* Затемнение фона для лучшей видимости кнопки */
.mw-mmv-overlay {
background: rgba(0,0,0,0.95) !important;
/* Стилі для нових елементів меню */
#p-navigation .toggle-list-item {
border-bottom: 1px solid #333 !important;
}
#p-navigation .toggle-list-item:first-child {
border-top: 1px solid #333 !important;
}
.menu__item--mainpage,
.menu__item--randompage {
display: flex !important;
align-items: center !important;
padding: 14px 16px !important;
color: #ffffff !important;
text-decoration: none !important;
font-size: 16px !important;
}
.menu__item--mainpage:hover,
.menu__item--randompage:hover {
background-color: #2a2a2a !important;
color: #ffcc00 !important;
}
.minerva-icon--home,
.minerva-icon--die {
width: 22px !important;
height: 22px !important;
margin-right: 12px !important;
filter: brightness(0) invert(1) !important;
}
}