MediaWiki:Common.css: различия между версиями
Tsostik (обсуждение | вклад) Нет описания правки |
Tsostik (обсуждение | вклад) мНет описания правки |
||
| (не показаны 24 промежуточные версии этого же участника) | |||
| Строка 53: | Строка 53: | ||
.flag-icon { | .flag-icon { | ||
/* display: inline-flex; | |||
align-items: center; | align-items: center; | ||
justify-content: center; | |||
overflow: hidden; | overflow: hidden; | ||
width: 15px; | width: 15px; | ||
height: 10px; | height: 10px; | ||
background-color: white; | background-color: white; цвет пустого пространства */ | ||
} | } | ||
.flag-icon img { | .flag-icon img { | ||
width: | width: 15px !important; | ||
height: | height: 10px !important; | ||
margin-right: 1px; | |||
transform: translateY(-2px); | |||
} | } | ||
| Строка 77: | Строка 78: | ||
overflow: auto; | overflow: auto; | ||
z-index: 1000; | z-index: 1000; | ||
} | |||
#mw-panel a[href="https://helpua.rubikus.de/#helpus"] { | |||
background: #fff500; /* светлый фон */ | |||
color: #0085ff; | |||
border-radius: 6px; | |||
padding: 3px 6px; | |||
font-weight: bold; | |||
text-decoration: none; | |||
} | |||
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:visited { | |||
color: #0085ff; | |||
} | |||
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:hover { | |||
background: #ffe066; | |||
} | |||
#scrollUpBtn { | |||
display: none; | |||
position: fixed; | |||
bottom: 20px; | |||
right: 20px; | |||
padding: 8px 12px; | |||
background-color: #007bff; | |||
opacity: 60%; | |||
color: #fff; | |||
border: none; | |||
border-radius: 6px; | |||
cursor: pointer; | |||
transition: background-color 0.3s ease; /* Smooth hover effect */ | |||
} | |||
#scrollUpBtn:hover { | |||
opacity:100%; | |||
background-color: #0056b3; /* Darker blue on hover */ | |||
} | } | ||