-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobum.css
More file actions
113 lines (103 loc) · 2.36 KB
/
mobum.css
File metadata and controls
113 lines (103 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* ... 기존 변수 및 body 스타일 유지 ... */
:root {
--line: rgba(75, 85, 99, 0.6);
--text: #e5e7eb;
}
body {
background: radial-gradient(circle at top, #0f172a, #020617);
color: #e5e7eb;
font-family: 'Pretendard', sans-serif;
margin: 0;
padding: 0;
}
/* 1️⃣ 메인으로 가는 좌측 상단 고정 버튼 */
.back-btn {
position: absolute;
top: 20px;
left: 20px;
border: 1px solid var(--line);
background: none;
color: var(--text);
padding: 8px 16px;
border-radius: 20px;
cursor: pointer;
transition: all 0.2s ease;
z-index: 10; /* 다른 요소보다 위에 오도록 */
}
.back-btn:hover {
border-color: #38bdf8;
color: #38bdf8;
background: rgba(56, 189, 248, 0.1);
}
/* 2️⃣ 컨텐츠 영역 수정 (패딩을 120px로 늘려 아래로 내림) */
.container {
max-width: 900px;
margin: 0 auto;
/* 상단 여백을 80px -> 120px로 늘렸습니다 */
padding: 120px 20px 40px;
}
header {
text-align: center;
margin-bottom: 40px;
}
header h1 {
background: linear-gradient(to right, #38bdf8, #60a5fa);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 38px;
margin: 0;
}
header p {
color: #9ca3af;
font-size: 15px;
}
.section-title {
font-size: 20px;
margin-bottom: 16px;
color: #93c5fd;
}
.btn-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 12px;
}
.btn {
background: rgba(15, 23, 42, 0.8);
border: 1px solid rgba(59, 130, 246, 0.3);
color: #bfdbfe;
border-radius: 10px;
padding: 10px;
text-align: center;
cursor: pointer;
transition: 0.2s;
}
.btn:hover {
background: linear-gradient(to right, #2563eb, #38bdf8);
color: #0f172a;
box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
}
/* 3️⃣ [추가됨] 내부 '이전으로' 버튼용 스타일 */
/* 절대 위치(absolute)가 아니라 컨텐츠 흐름에 따라 배치됩니다 */
.sub-back-btn {
display: inline-block;
margin-top: 30px; /* 버튼 위 간격 */
color: #9ca3af;
font-size: 14px;
cursor: pointer;
border: 1px solid transparent;
padding: 6px 12px;
border-radius: 8px;
transition: 0.2s;
}
.sub-back-btn:hover {
color: #38bdf8;
border-color: rgba(56, 189, 248, 0.3);
background: rgba(56, 189, 248, 0.05);
}
footer {
text-align: center;
color: #6b7280;
margin-top: 50px;
font-size: 13px;
}