MediaWiki:Common.css: различия между версиями
Tsostik (обсуждение | вклад) Нет описания правки |
Tsostik (обсуждение | вклад) Нет описания правки |
||
| Строка 77: | Строка 77: | ||
overflow: auto; | overflow: auto; | ||
z-index: 1000; | z-index: 1000; | ||
} | |||
#scrollUpBtn { | |||
display: none; | |||
position: fixed; | |||
bottom: 20px; | |||
right: 20px; | |||
padding: 8px 12px; | |||
background-color: #007bff; | |||
opacity: 75%; | |||
color: #fff; | |||
border: none; | |||
border-radius: 4px; | |||
cursor: pointer; | |||
transition: background-color 0.3s ease; /* Smooth hover effect */ | |||
} | |||
#scrollUpBtn:hover { | |||
opacity:100%; | |||
background-color: #0056b3; /* Darker blue on hover */ | |||
} | } | ||