User:Irukaza/common.css
跳到导航
跳到搜索
注意:这类代码页面在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 按住
CTRL+SHIFT+DEL 或 ⌘-Shift-R
来清除缓存! - 或尝试在地址栏的地址最后添加代码
?_=1
来访问最新页面。 - 你还可以在设置中勾选小工具在页面右上角添加清除缓存按钮!
#sidebarHidden-logo-link {
display: none;
position: absolute;
top: 60px;
cursor: pointer;
height: 40px;
width: 9em;
left: 1em;
text-align: center;
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .3) 30%, rgba(255, 255, 255, .5)) !important;
background-color: transparent !important;
}
@media screen and (min-width: 982px) {
#sidebarHidden-logo-link {
width: 10em;
}
}
body.sidebarHidden #sidebarHidden-logo-link {
display: block;
}
#sidebarHidden-logo {
height: 100%;
width: auto;
position: absolute;
transform: translateX(-50%);
left: 50%;
bottom: 0;
}
#sidebarHidden-arrow {
position: fixed;
width: .8em;
height: .8em;
top: calc(2.5em + 60px);
cursor: pointer;
padding: .3em;
border-radius: 50%;
text-align: center;
border: 1px solid rgb(167, 215, 249);
background: rgb(255, 255, 255);
z-index: 99;
left: 9.3em;
}
#sidebarHidden-arrow:hover {
background-color: rgb(223, 245, 255);
}
@media screen and (min-width: 982px) {
#sidebarHidden-arrow {
left: 10.3em;
}
}
body.sidebarHidden #sidebarHidden-arrow {
left: 0.3em;
}
body.sidebarHidden #content,
body.sidebarHidden #footer {
margin-left: 1em !important;
}
body.sidebarHidden #mw-panel {
display: none !important;
}