Lab 설정 변경 및 유틸 추가
This commit is contained in:
82
src/pages/effect-lab/SwordStream.css
Normal file
82
src/pages/effect-lab/SwordStream.css
Normal file
@@ -0,0 +1,82 @@
|
||||
.sword-stream {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: calc(100vh - 80px);
|
||||
overflow: hidden;
|
||||
background-color: #050505;
|
||||
border-radius: 20px;
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.sword-stream canvas {
|
||||
display: block;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.sword-stream__overlay {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
pointer-events: none;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sword-stream__back {
|
||||
pointer-events: all;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: rgba(68, 170, 221, 0.7);
|
||||
text-decoration: none;
|
||||
padding: 5px 10px;
|
||||
border: 1px solid rgba(68, 170, 221, 0.2);
|
||||
border-radius: 6px;
|
||||
background: rgba(68, 170, 221, 0.06);
|
||||
transition: color 0.2s, border-color 0.2s, background 0.2s;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.sword-stream__back:hover {
|
||||
color: #44aadd;
|
||||
border-color: rgba(68, 170, 221, 0.5);
|
||||
background: rgba(68, 170, 221, 0.12);
|
||||
}
|
||||
|
||||
.sword-stream__overlay h2 {
|
||||
margin: 0;
|
||||
font-family: var(--font-display);
|
||||
font-size: 28px;
|
||||
color: var(--text);
|
||||
text-shadow: 0 0 20px rgba(68, 170, 221, 0.5);
|
||||
}
|
||||
|
||||
.sword-stream__mode {
|
||||
display: inline-block;
|
||||
background: rgba(68, 170, 221, 0.1);
|
||||
border: 1px solid rgba(68, 170, 221, 0.3);
|
||||
padding: 6px 12px;
|
||||
border-radius: 99px;
|
||||
font-size: 12px;
|
||||
color: #44aadd;
|
||||
font-weight: 600;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.sword-stream__mode span {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.sword-stream__overlay p {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
max-width: 400px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
Reference in New Issue
Block a user