MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Tsostik (обсуждение | вклад) Новая страница: «→Размещённый здесь CSS будет применяться ко всем темам оформления: .flag-box { display: inline-flex; width: 30px; height: 20px; align-items: center; justify-content: center; } .flag-box img { max-height: 20px; max-width: 30px; }» |
Tsostik (обсуждение | вклад) Нет описания правки |
||
| Строка 12: | Строка 12: | ||
max-height: 20px; | max-height: 20px; | ||
max-width: 30px; | max-width: 30px; | ||
} | |||
#back-to-top { | |||
position: fixed; | |||
right: 24px; | |||
bottom: 24px; | |||
z-index: 9999; | |||
padding: 8px 12px; | |||
border: 1px solid #888; | |||
border-radius: 6px; | |||
background: #f8f9fa; | |||
color: #202122; | |||
cursor: pointer; | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.2); | |||
} | |||
#back-to-top:hover { | |||
background: #eaecf0; | |||
} | } | ||
Версия от 19:18, 7 июня 2026
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.flag-box {
display: inline-flex;
width: 30px;
height: 20px;
align-items: center;
justify-content: center;
}
.flag-box img {
max-height: 20px;
max-width: 30px;
}
#back-to-top {
position: fixed;
right: 24px;
bottom: 24px;
z-index: 9999;
padding: 8px 12px;
border: 1px solid #888;
border-radius: 6px;
background: #f8f9fa;
color: #202122;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
#back-to-top:hover {
background: #eaecf0;
}