사용자:Hsl0/vector.css: 두 판 사이의 차이
< 사용자:Hsl0
편집 요약 없음 |
편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
.skin-vector-legacy { | |||
--site-background: #98FB98; | |||
--blur: blur(10px); | |||
--radius: 16px; | |||
} | |||
#buttons { | #buttons { | ||
position: fixed; | position: fixed; | ||
2024년 11월 6일 (수) 22:32 판
.skin-vector-legacy {
--site-background: #98FB98;
--blur: blur(10px);
--radius: 16px;
}
#buttons {
position: fixed;
bottom: 1rem;
left: 1rem;
z-index: 10;
display: flex;
contain: content;
background: color-mix(in srgb,var(--site-background),#ffffffcc 95%);
backdrop-filter: var(--blur);
box-shadow: #00000030 0px 0px 15px 0px;
border-radius: var(--radius);
}
#buttons > button {
display: block;
height: 2.5em;
width: 2.5em;
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;
}