MediaWiki:Gadget-Backtotop.css:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的1个中间版本) | |||
| 第1行: | 第1行: | ||
.page-scroll-controls { | .page-scroll-controls { | ||
position: fixed; | position: fixed; | ||
right: | right: 1px; | ||
bottom: 1.5rem; | bottom: 1.5rem; | ||
z-index: 100; | z-index: 100; | ||
| 第10行: | 第10行: | ||
.page-scroll-button { | .page-scroll-button { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-radius: | border-radius: 5px; | ||
background: # | background: #000000; | ||
color: # | color: #ffffff; | ||
font: inherit; | font: inherit; | ||
cursor: pointer; | cursor: pointer; | ||
box-shadow: 0 2px 6px rgb(0 0 0 / 18%); | box-shadow: 0 2px 6px rgb(0 0 0 / 18%); | ||
font-size: 12px; | |||
width: 26px; | |||
height: 26px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
.page-scroll-button:hover { | .page-scroll-button:hover { | ||
background: # | background: #000000; | ||
} | } | ||
| 第31行: | 第36行: | ||
.page-scroll-button[hidden] { | .page-scroll-button[hidden] { | ||
display: none; | display: none; | ||
} | } | ||
2026年11月29日 (日) 16:27的最新版本
.page-scroll-controls {
position: fixed;
right: 1px;
bottom: 1.5rem;
z-index: 100;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.page-scroll-button {
border: 1px solid #a2a9b1;
border-radius: 5px;
background: #000000;
color: #ffffff;
font: inherit;
cursor: pointer;
box-shadow: 0 2px 6px rgb(0 0 0 / 18%);
font-size: 12px;
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
}
.page-scroll-button:hover {
background: #000000;
}
.page-scroll-button:focus-visible {
outline: 2px solid #36c;
outline-offset: 2px;
}
.page-scroll-button[hidden] {
display: none;
}
No categories