feat: 이번주 코디 영상 스크립트·템플릿·모델 사진과 명령 파일 추가, 클립 동작은 후보에서 무작위로 고름 (손가락 모양 동작 제외), .sh·.py·.mjs 는 LF 로 받음
This commit is contained in:
1 parent
1ec87a82c1
commit
56f71cdfbe
54 files changed
+1576
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="ko"><head><meta charset="utf-8">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Jua&display=swap">
|
||||
<style>
|
||||
/* 영상 위에 얹는 투명 레이어. 창(132,240 · 816×1440) 왼쪽 아래, 신발이 보이도록 발 위(다리 높이)에 칩·제목을 두고, 그 아래 1397px 줄은 자막(bubble.html) 자리 */
|
||||
:root { --main: #4f97e3; --deep: #2b6cb8; --ink: #28304a; }
|
||||
* { margin: 0; box-sizing: border-box; }
|
||||
html, body { width: 1080px; height: 1920px; overflow: hidden; background: transparent; }
|
||||
.win { position: absolute; left: 132px; top: 240px; width: 816px; height: 1440px; border-radius: 40px; overflow: hidden; }
|
||||
.shade { position: absolute; left: 0; right: 0; bottom: 0; height: 700px; background: linear-gradient(transparent, rgb(40 48 74 / .45) 55%, rgb(40 48 74 / .2)); }
|
||||
.title { position: absolute; left: 176px; bottom: 543px; }
|
||||
.chip { display: inline-block; padding: 9px 22px 7px; border-radius: 999px; background: var(--main); color: #fff; font: 30px/1.1 Jua, sans-serif; box-shadow: 0 4px 0 var(--deep); }
|
||||
.headline { margin-top: 16px; font: 66px/1.12 Jua, sans-serif; color: #fff; letter-spacing: -1px; text-shadow: 0 3px 16px rgb(40 48 74 / .35); }
|
||||
</style></head>
|
||||
<body>
|
||||
<div class="win"><div class="shade"></div></div>
|
||||
<div class="title"><div class="chip">날씨각</div><div class="headline" id="h"></div></div>
|
||||
<script>
|
||||
const q = new URLSearchParams(location.search);
|
||||
const age = q.get('age'); // 40~ 이면 '40대~'
|
||||
document.getElementById('h').innerHTML = `이번주 ${age.replace(/~$/, '')}대${age.endsWith('~') ? '~' : ''}<br>${q.get('who')} ${q.get('label') || '코디'}`;
|
||||
</script>
|
||||
</body></html>
|
||||
Reference in new issue
Block a user