-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboard.css
More file actions
114 lines (110 loc) · 1.82 KB
/
board.css
File metadata and controls
114 lines (110 loc) · 1.82 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
114
/* 공통 스타일은 score.css와 비슷하므로 생략하거나 복사해서 사용 */
:root {
--bg: #0c0f13;
--panel: #12161d;
--text: #e7e7ec;
--accent: #6ea8ff;
--line: rgba(231, 231, 236, 0.2);
}
body {
background: var(--bg);
color: var(--text);
font-family: sans-serif;
margin: 0;
padding: 20px;
text-align: center;
}
.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;
}
header {
margin-top: 40px;
margin-bottom: 30px;
}
#board-container {
max-width: 600px;
margin: 0 auto;
text-align: left;
}
/* 탭 */
.tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.tab {
background: none;
border: 1px solid var(--line);
color: #a2a8b4;
padding: 8px 18px;
border-radius: 20px;
cursor: pointer;
}
.tab.active {
background: var(--accent);
color: #fff;
border-color: var(--accent);
}
/* 리스트 */
.post-list {
list-style: none;
padding: 0;
margin: 0;
}
.post-item {
padding: 15px;
border-bottom: 1px solid var(--line);
cursor: pointer;
}
.post-item:hover {
background: rgba(255, 255, 255, 0.03);
}
.post-head {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 5px;
}
.badge {
font-size: 11px;
padding: 3px 6px;
border-radius: 4px;
color: #fff;
}
.b-notice {
background: #ff6b6b;
}
.b-free {
background: var(--accent);
}
.post-title {
font-weight: bold;
font-size: 16px;
}
.post-meta {
font-size: 12px;
color: #777;
}
/* 글쓰기 버튼 */
.fab {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
border-radius: 50%;
background: var(--accent);
color: white;
border: none;
font-size: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
cursor: pointer;
}