Merge branch 'feat/login-orbit-size'
This commit is contained in:
@@ -718,9 +718,9 @@ a { color: inherit; text-decoration: none; }
|
||||
.shape-orbit {
|
||||
top: 0;
|
||||
left: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 1px;
|
||||
font-size: 24px; /* King(30px)의 80% — 앞쪽에서 이 크기, 뒤쪽은 스크립트가 75%까지 줄인다 */
|
||||
font-weight: 700;
|
||||
letter-spacing: 2px;
|
||||
color: rgba(255, 255, 255, .88);
|
||||
text-shadow: 0 0 8px rgba(99, 179, 237, .55), 0 0 18px rgba(59, 130, 246, .3);
|
||||
white-space: nowrap;
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
var x = x0 * Math.cos(o.tilt) - y0 * Math.sin(o.tilt);
|
||||
var y = x0 * Math.sin(o.tilt) + y0 * Math.cos(o.tilt);
|
||||
var depth = (Math.sin(a) + 1) / 2; // 0 = 뒤(위), 1 = 앞(아래)
|
||||
o.el.style.transform = "translate(" + (cx + x).toFixed(1) + "px," + (cy + y).toFixed(1) + "px) translate(-50%,-50%) scale(" + (0.78 + depth * 0.3).toFixed(3) + ")";
|
||||
o.el.style.transform = "translate(" + (cx + x).toFixed(1) + "px," + (cy + y).toFixed(1) + "px) translate(-50%,-50%) scale(" + (0.75 + depth * 0.25).toFixed(3) + ")";
|
||||
o.el.style.opacity = (0.4 + depth * 0.5).toFixed(2);
|
||||
o.el.style.zIndex = depth > 0.5 ? 3 : 1;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user