라우팅 추가 및 CSS 구성
- 개인 블로그 - 로또 - 여행 로고 이미지 추가 및 변경
This commit is contained in:
150
src/index.css
150
src/index.css
@@ -1,143 +1,27 @@
|
||||
:root {
|
||||
--bg: #0b0f19;
|
||||
--card: #111827;
|
||||
--text: #e5e7eb;
|
||||
--muted: #9ca3af;
|
||||
--border: rgba(255,255,255,0.08);
|
||||
--shadow: 0 20px 50px rgba(0,0,0,0.35);
|
||||
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@300;400;500;600;700&display=swap');
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html, body { height: 100%; }
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Apple SD Gothic Neo, "Noto Sans KR", "Malgun Gothic", sans-serif;
|
||||
background: radial-gradient(1200px 800px at 20% 0%, rgba(99,102,241,0.22), transparent 60%),
|
||||
radial-gradient(1200px 800px at 80% 10%, rgba(16,185,129,0.18), transparent 55%),
|
||||
var(--bg);
|
||||
color: var(--text);
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a { color: inherit; }
|
||||
|
||||
.page { max-width: 1100px; margin: 0 auto; padding: 28px 16px 60px; }
|
||||
|
||||
.header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
|
||||
.header h1 { margin: 0; font-size: 28px; letter-spacing: -0.02em; }
|
||||
.sub { margin: 6px 0 0; color: var(--muted); }
|
||||
|
||||
.card {
|
||||
background: rgba(17,24,39,0.9);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 18px;
|
||||
padding: 16px;
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(6px);
|
||||
body {
|
||||
margin: 0;
|
||||
background: radial-gradient(1000px 600px at 15% 5%, rgba(247, 168, 165, 0.25), transparent 60%),
|
||||
radial-gradient(800px 600px at 85% 0%, rgba(253, 212, 177, 0.18), transparent 60%),
|
||||
#0f0d12;
|
||||
color: var(--text);
|
||||
font-family: var(--font-body);
|
||||
}
|
||||
|
||||
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
|
||||
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
|
||||
|
||||
.row { display: flex; align-items: center; gap: 10px; }
|
||||
.row.between { justify-content: space-between; }
|
||||
.row.wrap { flex-wrap: wrap; }
|
||||
.numbers { gap: 8px; flex-wrap: wrap; }
|
||||
|
||||
.meta { display: grid; gap: 2px; }
|
||||
.muted { color: var(--muted); }
|
||||
.small { font-size: 12px; }
|
||||
|
||||
.btn {
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255,255,255,0.06);
|
||||
color: var(--text);
|
||||
padding: 10px 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: transform .05s ease, background .15s ease;
|
||||
}
|
||||
.btn:hover { background: rgba(255,255,255,0.10); }
|
||||
.btn:active { transform: translateY(1px); }
|
||||
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
|
||||
|
||||
.btn.primary {
|
||||
border-color: rgba(99,102,241,0.35);
|
||||
background: rgba(99,102,241,0.25);
|
||||
}
|
||||
.btn.primary:hover { background: rgba(99,102,241,0.33); }
|
||||
|
||||
.btn.ghost { background: transparent; }
|
||||
.btn.tiny { padding: 6px 10px; border-radius: 10px; font-size: 12px; }
|
||||
.btn.danger { border-color: rgba(239,68,68,0.35); background: rgba(239,68,68,0.18); }
|
||||
.btn.danger:hover { background: rgba(239,68,68,0.25); }
|
||||
|
||||
.pill {
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
border: 1px solid var(--border);
|
||||
padding: 6px 10px;
|
||||
border-radius: 999px;
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.form { display: grid; gap: 10px; margin-top: 10px; }
|
||||
label { display: grid; gap: 6px; font-size: 13px; }
|
||||
input {
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(0,0,0,0.25);
|
||||
color: var(--text);
|
||||
padding: 10px 12px;
|
||||
border-radius: 12px;
|
||||
outline: none;
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
input:focus { border-color: rgba(99,102,241,0.55); }
|
||||
|
||||
.result { margin-top: 12px; display: grid; gap: 10px; }
|
||||
|
||||
.details summary { cursor: pointer; color: var(--muted); }
|
||||
.pre {
|
||||
white-space: pre-wrap;
|
||||
overflow: auto;
|
||||
background: rgba(0,0,0,0.28);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.table { display: grid; gap: 10px; margin-top: 10px; }
|
||||
.tr {
|
||||
display: grid;
|
||||
grid-template-columns: 170px 1fr 160px;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
background: rgba(255,255,255,0.03);
|
||||
}
|
||||
@media (max-width: 900px) { .tr { grid-template-columns: 1fr; } }
|
||||
.td.actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
|
||||
.td.grow { min-width: 0; }
|
||||
|
||||
.ball {
|
||||
width: 40px; height: 40px;
|
||||
border-radius: 999px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 700;
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255,255,255,0.06);
|
||||
}
|
||||
.ball-a { box-shadow: 0 0 0 6px rgba(59,130,246,0.10) inset; }
|
||||
.ball-b { box-shadow: 0 0 0 6px rgba(16,185,129,0.10) inset; }
|
||||
.ball-c { box-shadow: 0 0 0 6px rgba(245,158,11,0.10) inset; }
|
||||
.ball-d { box-shadow: 0 0 0 6px rgba(168,85,247,0.10) inset; }
|
||||
.ball-e { box-shadow: 0 0 0 6px rgba(239,68,68,0.10) inset; }
|
||||
|
||||
.card.error {
|
||||
border-color: rgba(239,68,68,0.35);
|
||||
background: rgba(239,68,68,0.10);
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.footer { margin-top: 14px; text-align: center; }
|
||||
|
||||
Reference in New Issue
Block a user