forked from s0ooo0k/PETTY
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomunity.css
More file actions
103 lines (88 loc) · 1.45 KB
/
Copy pathcomunity.css
File metadata and controls
103 lines (88 loc) · 1.45 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
.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: #0d5729;
border: #0d5729;
}
.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;
}
.edit-btn {
background: gold;
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;
}