User:Irukaza/common.css:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
(未显示同一用户的49个中间版本) | |||
第1行: | 第1行: | ||
#sidebarHidden-logo-link { | |||
opacity: 0. | z-index: 999; | ||
background-image: | opacity: 0; | ||
background-position: | pointer-events: none; | ||
background- | transition: .37s ease-in-out all; | ||
position: absolute; | |||
top: 60px; | |||
cursor: pointer; | |||
height: 40px; | |||
width: 0; | |||
left: 10em; | |||
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; | |||
overflow-x: hidden; | |||
} | |||
body.sidebarHidden #sidebarHidden-logo-link { | |||
opacity: 1; | |||
pointer-events: all; | |||
width: 9em; | |||
left: 1em; | |||
} | |||
@media screen and (min-width: 982px) { | |||
#sidebarHidden-logo-link { | |||
left: 11em; | |||
} | |||
body.sidebarHidden #sidebarHidden-logo-link { | |||
width: 10em; | |||
left: 1em; | |||
} | |||
} | |||
#sidebarHidden-logo { | |||
transition: .37s ease-in-out all; | |||
height: 100%; | |||
width: auto; | |||
position: absolute; | |||
transform: translateX(-50%); | |||
left: 50%; | |||
bottom: 0; | |||
} | |||
#sidebarHidden-arrow { | |||
transition: .37s ease-in-out all; | |||
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-left, | |||
#sidebarHidden-arrow-right { | |||
position: absolute; | |||
top: .3em; | |||
left: .3em; | |||
right: .3em; | |||
bottom: .3em; | |||
pointer-events: none; | |||
transition: .37s ease-in-out all; | |||
} | |||
body.sidebarHidden #sidebarHidden-arrow-left, | |||
body:not(.sidebarHidden) #sidebarHidden-arrow-right { | |||
opacity: 0; | |||
} | |||
body:not(.sidebarHidden) #sidebarHidden-arrow-left, | |||
body.sidebarHidden #sidebarHidden-arrow-right { | |||
opacity: 1; | |||
} | |||
#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; | |||
} | |||
#content, | |||
#footer { | |||
transition-duration: .37s; | |||
transition-timing-function: ease-in-out; | |||
transition-property: margin-left; | |||
} | |||
#mw-panel { | |||
transition-duration: .37s; | |||
transition-timing-function: ease-in-out; | |||
transition-property: z-index, opacity; | |||
z-index: 1; | |||
opacity: 1; | |||
} | |||
body.sidebarHidden #content, | |||
body.sidebarHidden #footer { | |||
margin-left: 1em !important; | |||
} | |||
body.sidebarHidden #mw-panel { | |||
z-index: -999; | |||
opacity: 0; | |||
pointer-events: none; | |||
} | } |
2021年3月30日 (二) 21:12的版本
#sidebarHidden-logo-link {
z-index: 999;
opacity: 0;
pointer-events: none;
transition: .37s ease-in-out all;
position: absolute;
top: 60px;
cursor: pointer;
height: 40px;
width: 0;
left: 10em;
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;
overflow-x: hidden;
}
body.sidebarHidden #sidebarHidden-logo-link {
opacity: 1;
pointer-events: all;
width: 9em;
left: 1em;
}
@media screen and (min-width: 982px) {
#sidebarHidden-logo-link {
left: 11em;
}
body.sidebarHidden #sidebarHidden-logo-link {
width: 10em;
left: 1em;
}
}
#sidebarHidden-logo {
transition: .37s ease-in-out all;
height: 100%;
width: auto;
position: absolute;
transform: translateX(-50%);
left: 50%;
bottom: 0;
}
#sidebarHidden-arrow {
transition: .37s ease-in-out all;
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-left,
#sidebarHidden-arrow-right {
position: absolute;
top: .3em;
left: .3em;
right: .3em;
bottom: .3em;
pointer-events: none;
transition: .37s ease-in-out all;
}
body.sidebarHidden #sidebarHidden-arrow-left,
body:not(.sidebarHidden) #sidebarHidden-arrow-right {
opacity: 0;
}
body:not(.sidebarHidden) #sidebarHidden-arrow-left,
body.sidebarHidden #sidebarHidden-arrow-right {
opacity: 1;
}
#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;
}
#content,
#footer {
transition-duration: .37s;
transition-timing-function: ease-in-out;
transition-property: margin-left;
}
#mw-panel {
transition-duration: .37s;
transition-timing-function: ease-in-out;
transition-property: z-index, opacity;
z-index: 1;
opacity: 1;
}
body.sidebarHidden #content,
body.sidebarHidden #footer {
margin-left: 1em !important;
}
body.sidebarHidden #mw-panel {
z-index: -999;
opacity: 0;
pointer-events: none;
}