用户:Staf Irity/Sandbox.css:修订间差异
来自Limbo Wiki Mirror
小无编辑摘要 |
小无编辑摘要 |
||
| 第49行: | 第49行: | ||
/* Red Cat */ | /* Red Cat */ | ||
pre,.mw-code{ | body.page\-\7528\6237_Staf_Irity_Draft_Red_Cat pre, | ||
body.page\-\7528\6237_Staf_Irity_Draft_Red_Cat .mw-code{ | |||
background-color:#eef;border:1px solid #bbf; | background-color:#eef;border:1px solid #bbf; | ||
} | } | ||
.nomargin pre{margin-top:0;} | .nomargin pre{margin-top:0;} | ||
2022年11月4日 (五) 09:55的版本
/* Float */
.float0{
position:fixed;
overflow:hidden;
top:25vh;
right:0;
margin:0px;
padding:0px;
z-index:100;
}
.float{
position:relative;
right:calc(20px - 100%);
transition: all .2s ease-out;
}
.float0:hover .float{
right:0;
}
/* Advertisement */
.adbox{
position: relative;
width: 100%;
height: 200px;
overflow: hidden;
margin: 0 auto;
}
.ad {
width: 100%;
height: 200px;
position: absolute;
animation-name: example;
animation-duration: 16s;
animation-fill-mode: forwards;
animation-iteration-count:infinite;
}
.ad .word{
margin-top:25px;
text-align:center;
font-size:100px;
}
@keyframes example {
0% {left:-100%;}
6.25% {left:0;}
25% {left:0;}
31.25% {left:100%;}
100% {left:100%;}
}
/* Red Cat */
body.page\-\7528\6237_Staf_Irity_Draft_Red_Cat pre,
body.page\-\7528\6237_Staf_Irity_Draft_Red_Cat .mw-code{
background-color:#eef;border:1px solid #bbf;
}
.nomargin pre{margin-top:0;}
