MediaWiki:Common.css: различия между версиями
Tsostik (обсуждение | вклад) мНет описания правки |
Tsostik (обсуждение | вклад) мНет описания правки |
||
| (не показано 36 промежуточных версий этого же участника) | |||
| Строка 53: | Строка 53: | ||
.flag-icon { | .flag-icon { | ||
/* display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
overflow: hidden; | |||
width: 15px; | |||
background-color: white; | height: 10px; | ||
background-color: white; цвет пустого пространства */ | |||
} | } | ||
.flag-icon img { | .flag-icon img { | ||
width: | width: 15px !important; | ||
height: 10px !important; | |||
margin-right: 1px; | |||
transform: translateY(-2px); | |||
} | |||
/* Fix the left panel so it doesn't scroll */ | |||
#mw-panel { | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
height: 100%; | height: 100%; | ||
overflow: auto; | |||
display: | 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 */ | |||
} | } | ||