-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommunity.css
186 lines (158 loc) · 3.22 KB
/
community.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
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Plus Jakarta Sans", sans-serif;
}
.header{
min-height: 70vh;
}
.header,
.cta,
.sub-header {
background-image: url('tempbg.png');
background-position: center;
background-size: cover;
}
.sub-header,
.light-mode .sub-header {
background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
url('tempbg.png');
}
.dark-mode .sub-header {
background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
url('tempbg.png');
}
/* Fonts */
@font-face {
font-family: "Poppins-Bold";
src: url("../Poppins/Poppins-Bold.ttf");
font-weight: bold;
}
@font-face {
font-family: "Poppins-Regular";
src: url("../Poppins/Poppins-Regular.ttf");
}
/* Blogs Section */
.blogs {
width: 80%;
margin: auto;
padding-top: 50px;
}
.blog {
background-color: #fff;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.blog h2 {
font-size: 24px;
color: #333;
margin-bottom: 10px;
}
.author {
font-size: 14px;
color: #777;
margin-bottom: 10px;
}
p {
font-size: 16px;
color: #555;
line-height: 1.6;
margin-bottom: 20px;
}
.comments {
margin-top: 20px;
}
.comments h3 {
font-size: 18px;
color: #333;
margin-bottom: 10px;
}
.comment {
background-color: #f9f9f9;
padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
}
.comment p {
font-size: 14px;
color: #555;
}
.comment-author {
font-weight: bold;
margin-bottom: 5px;
}
.add-comment textarea {
width: 100%;
height: 60px;
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.add-comment button {
background-color:#ad8a38;
color: #fff;
border: none;
padding: 8px 16px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.add-comment button:hover {
background-color: #d32f2f;
}
/* Media Query */
@media (max-width: 1150px) {
* {
overflow-x: hidden;
margin: 0;
padding: 0;
}
.text-box h1 {
font-size: 30px;
}
.text-box p {
font-size: 12px;
}
.nav-links ul li {
display: block;
}
.nav-links {
position: absolute;
background: #f44336;
height: 100vh;
width: 200px;
top: 0%;
right: -200px;
text-align: left;
z-index: 2;
transition: 1s;
}
.icon {
display: block;
color: #fff;
margin: 10px;
font-size: 25px;
cursor: pointer;
}
.nav-links ul {
padding: 30px;
}
/* Additional adjustments for other sections can be added here */
}
.footer {
width: 100%;
text-align: center;
padding: 30px 0;
background-color: #3e2c02;
}
.footer h4 {
margin-bottom: 25px;
margin-top: 20px;
font-weight: 600;
}