Hsl0 (토론 | 기여)
편집 요약 없음
Hsl0 (토론 | 기여)
편집 요약 없음
 
(같은 사용자의 중간 판 3개는 보이지 않습니다)
1번째 줄: 1번째 줄:
.skin-vector-legacy {
/*.skin-vector-legacy #buttons {*/
--site-background: #98FB98;
    /* background: #5B5 */
--blur: blur(10px);
/*    position: fixed;*/
--radius: 16px;
/*    display: inline-block;*/
}
/*    bottom: 0.5em;*/
 
/*    left: 0.5em;*/
#buttons {
/*    z-index: 10;*/
    position: fixed;
/*}*/
    bottom: 1rem;
/*.skin-vector-legacy #buttons > button {*/
    left: 1rem;
/*    background: #5B5;*/
    z-index: 10;
/*    border: none;*/
   
/*    font-size: 16px;*/
    display: flex;
/*    width: 2em;*/
    contain: content;
/*    height: 2em;*/
   
/*    color: #FFF;*/
    background: color-mix(in srgb,var(--site-background),#ffffffcc 95%);
/*    position: relative;*/
    backdrop-filter: var(--blur);
/*    display: inline-block;*/
   
/*    margin-left: 0.7em;*/
    box-shadow: #00000030 0px 0px 15px 0px;
/*    z-index: 10;*/
    border-radius: var(--radius);
/*    cursor: pointer;*/
}
/*    transition: bottom 0.5s;*/
 
/*    -webkit-transition: bottom 0.5s;*/
#buttons > button {
/*    user-select: none;*/
    display: block;
/*    -webkit-user-select: none;*/
    height: 2.5em;
/*    -moz-user-select: none;*/
    width: 2.5em;
/*    -ms-user-select: none*/
   
/*}*/
    background: none;
    border: none;
   
    font-size: 20px;
    cursor: pointer;
   
    transition: filter 250ms ease, box-shadow 250ms ease-out;
   
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
#buttons > button:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}
#buttons > button:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}
#buttons > button:active {
    filter: blur(1px);
    box-shadow: #00000000 0 0, inset #00000030 0px 0px 8px 0px;
}
#buttons > button:hover:not(:active) {
    box-shadow: #00000030 0px 0px 15px 0px, inset #00000000 0 0;
}