MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Shihov (обсуждение | вклад) Нет описания правки |
Shihov (обсуждение | вклад) Нет описания правки |
||
Строка 1: | Строка 1: | ||
.tagcloud | .category-tagcloud { | ||
border: 2px solid #cccccc; | |||
border: | border-radius: 10px; | ||
padding: 1em; | padding: 1em; | ||
text-align: center; | |||
background: #fff; | |||
max-width: | max-width: 500px; | ||
margin: 1em auto; | margin: 1em auto; | ||
font-family: Arial, sans-serif; | |||
} | } | ||
. | .category-tagcloud-links a { | ||
display: inline-block; | |||
margin: 0.4em; | |||
color: #1a237e; | |||
text-decoration: none; | text-decoration: none; | ||
font-weight: bold; | |||
transition: transform 0.2s; | |||
transition: | |||
} | } | ||
. | .category-tagcloud-links a:hover { | ||
color: # | color: #0d47a1; | ||
transform: scale(1.1); | transform: scale(1.1); | ||
} | } |
Версия от 14:27, 9 июля 2025
.category-tagcloud {
border: 2px solid #cccccc;
border-radius: 10px;
padding: 1em;
text-align: center;
background: #fff;
max-width: 500px;
margin: 1em auto;
font-family: Arial, sans-serif;
}
.category-tagcloud-links a {
display: inline-block;
margin: 0.4em;
color: #1a237e;
text-decoration: none;
font-weight: bold;
transition: transform 0.2s;
}
.category-tagcloud-links a:hover {
color: #0d47a1;
transform: scale(1.1);
}
#p-categorytree-portlet.category-hidden {
visibility: hidden;
}
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
@media (max-width: 767px) { /* Adjust the max-width value as needed */
.mw-mf .mw-category-generated {
display: none;
}
}
#back-to-top {
position: fixed;
bottom: 50px;
right: 20px;
background: rgba(0, 0, 0, 0.6);
color: white;
padding: 10px 15px;
border-radius: 5px;
font-size: 14px;
cursor: pointer;
display: none; /* Скрыто по умолчанию */
z-index: 9999;
}
#back-to-top:hover {
background: rgba(0, 0, 0, 0.8);
}
/*скрытие категорий на странице вход */
body.page-Служебная_Вход #p-categorytree-portlet {
display: none !important;
}
body.mw-special-Userlogin #p-categorytree-portlet {
display: none !important;
}