MediaWiki:Common.css: различия между версиями
User (обсуждение | вклад) Нет описания правки |
User (обсуждение | вклад) Нет описания правки |
||
| Строка 31: | Строка 31: | ||
height: 100%; | height: 100%; | ||
padding: 12px 7px; | padding: 12px 7px; | ||
display: | display: block; | ||
} | } | ||
.custom-top-menu li { | .custom-top-menu li { | ||
Версия от 14:39, 14 мая 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 a {
width: 100%;
height: 100%;
padding: 12px 7px;
display: block;
}
.custom-top-menu li {
display: inline-block;
margin: 0;
}
.custom-top-menu li:first-child a {
padding-left: 14px;
}
.custom-top-menu li:hover {
box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
background-color: #1e8449;
box-shadow: rgba(0, 1, 0, .2) 0 2px 8px;
}
.a-current {
box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
background-color: #1e8449;
box-shadow: rgba(0, 1, 0, .2) 0 2px 8px;
}
.custom-top-menu li:active {
box-shadow: rgba(0,0,0,0.5) 0px 0px 4px 1px;
}
.custom-top-menu li:focus {
outline: 0;
}
.custom-top-menu {
margin: 0;
padding: 0;
background: #0c672f;
}