-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain2.css
130 lines (110 loc) · 2.09 KB
/
main2.css
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
/* CSS for the main layout */
body {
font-family: Arial, sans-serif;
background-color:#45a049;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.container a{
text-decoration: none;
color: #fcfcfc;
}
h1 {
text-align: center;
}
/* Wall */
#wall {
margin-top: 20px;
}
.board-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.board {
width: 100%;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f9f9f9;
}
.board button{
text-align: center;
border-radius: 20px;
}
.board h2 {
text-align: center;
margin-top: 0;
}
.board form {
text-align: center;
}
.board form input[type="text"],
.board form input[type="file"] {
width: 100%;
margin-bottom: 10px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 3px;
}
.board form button {
display: block;
margin: 0 auto;
padding: 8px 16px;
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
}
.board form button:hover {
background-color: #45a049;
}
/* Single Board */
#single-board {
display: none;
}
#board-title {
text-align: center;
}
#post-container {
margin-top: 20px;
}
.post {
position: relative;
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
}
.post p {
margin: 0;
}
.post img {
max-width: 100%;
margin-bottom: 10px;
}
.post-actions {
display: flex;
justify-content: space-between;
}
.post-actions button {
border: none;
background: none;
cursor: pointer;
}
.like-count {
color: blue;
}
.search-input {
width: 80%;
padding: 5px;
border: 1px solid #ccc;
border-radius: 3px;
margin-bottom: 10px;
}