forked from QuantumGuinea/FE-BASE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommunity.css
More file actions
166 lines (139 loc) · 2.54 KB
/
community.css
File metadata and controls
166 lines (139 loc) · 2.54 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
.community-container {
max-width: 1200px;
margin: 20px auto;
padding: 20px;
background: #f9f9f9;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.community-container img {
width: 300px;
}
#postForm {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 20px;
}
#postForm img {
width: 200px;
}
.form-container {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 10px;
}
.form-container button {
background-color: #a3520f;
border: none;
}
.form-container button:hover {
background-color: #eb7719;
}
.post-card {
background: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 10px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.post-title {
font-size: 18px;
font-weight: bold;
}
.post-text {
margin-top: 5px;
font-size: 14px;
}
.delete-btn {
background: red;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
}
.card {
border-radius: 10px;
overflow: hidden;
transition: transform 0.2s ease-in-out;
}
.card:hover {
transform: translateY(-5px);
}
.card-img-top {
height: 200px; /* 이미지 크기 일정하게 */
object-fit: cover;
}
.card-body {
padding: 15px;
}
.card-title {
font-size: 1.2rem;
font-weight: bold;
}
.card-text {
font-size: 0.9rem;
color: #666;
}
.post-updated,
.post-date {
font-size: 0.8rem;
}
.comment-box {
background: #f8f9fa; /* 연한 배경 */
border-radius: 8px;
padding: 12px;
margin-bottom: 10px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.comment-box p {
margin: 0;
font-size: 14px;
}
.comment-box small {
color: #6c757d;
display: block;
margin-top: 5px;
}
.comment-actions {
display: flex;
gap: 5px;
margin-top: 8px;
}
.comment-actions button {
font-size: 12px;
padding: 5px 8px;
}
#spinnerContainer {
flex: 1; /* 남은 공간을 차지하도록 설정 */
display: flex;
justify-content: center;
align-items: center;
}
#mainContainer {
flex: 1; /* spinnerContainer와 공유할 메인 영역 */
display: flex;
flex-direction: column;
}
#footer {
height: 50px; /* footer의 고정 높이 (예시) */
}
.postDetailImg {
width: 300px;
height: 300px;
}
.container.form-container {
font-family: "HakgyoansimDunggeunmisoTTF-B";
}
#login-btn.btn.btn-success {
background-color: #a3520f;
border: none;
}
.login-btn.btn.btn-success button:hover {
background-color: #eb7719;
}
.navbar.navbar-expand-lg.navbar-light.bg-white.shadow-sm.container-fluid {
font-family: "HakgyoansimDunggeunmisoTTF-B";
}