用户:Salt lovely/common.css:修订间差异

添加635字节 、​ 2020年7月3日 (星期五)
// Edit via Wikiplus
(// Edit via Wikiplus)
(// Edit via Wikiplus)
第35行: 第35行:
}
}


/* 巡查按钮 */
span.patrollink{
    text-shadow: 0 0 1px #222;
    position: relative;
}
span.patrollink:after{
    content: '';
    pointer-events:none;
    position: absolute;
    display: inline-block;
    width: 5em;height: 5em;
    top: calc(50% - 2.5em);left: calc(50% - 2.5em);
    border-radius: 4em;
    box-shadow: 0 4px 0 #7fda inset, 0 -4px 0 #6cf6 inset;
    animation: rotate-360 2s linear infinite;
    transition:0.5s ease;
}
span.patrollink:hover:after{
    width: 7em;height: 7em;
    top: calc(50% - 3.5em);left: calc(50% - 3.5em);
    box-shadow: 0 6px 3px #7fda inset, 0 -6px 3px #6cf6 inset;
}
/* 动画 */
@keyframes rotate-360 {
@keyframes rotate-360 {
   from {
   from {