MediaWiki:Common.css: различия между версиями
User (обсуждение | вклад) Нет описания правки |
User (обсуждение | вклад) Нет описания правки |
||
| Строка 31: | Строка 31: | ||
padding: 12px 7px; | padding: 12px 7px; | ||
margin: 0; | margin: 0; | ||
} | |||
.custom-top-menu li:first-child { | |||
padding-left: 14px; | |||
} | } | ||
.custom-top-menu li:hover { | .custom-top-menu li:hover { | ||
Версия от 18:01, 13 мая 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.mw-logo-container {
display: none;
}
.mw-logo {
position: relative;
}
.mw-logo-icon {
display: none;
}
.mw-logo:before {
content: '';
background-image: url(/images/custom/wiki.png);
width: 100%;
height: 100px;
background-repeat: no-repeat;
}
.srf-listwidget-navigation .ln-letters a {
padding: 0.5rem;
}
.custom-top-menu li a,
.custom-top-menu li a:hover,
.custom-top-menu li a:visited,
.custom-top-menu li a:active {
text-decoration: none;
color: #fff;
}
.custom-top-menu li {
display: inline-block;
padding: 12px 7px;
margin: 0;
}
.custom-top-menu li:first-child {
padding-left: 14px;
}
.custom-top-menu li:hover {
box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
background-color: #1e8449;
opacity: 1;
transform: translateY(0);
transition-duration: .35s;
}
.custom-top-menu li:active {
transform: translateY(2px);
transition-duration: .35s;
}
.custom-top-menu {
margin: 0;
padding: 0;
background: #0c672f;
}