-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharticle.css
More file actions
251 lines (215 loc) · 4.72 KB
/
article.css
File metadata and controls
251 lines (215 loc) · 4.72 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global Styles */
body {
font-family: 'Open Sans', sans-serif;
background: linear-gradient(to right, #f5f7fa, #c3cfe2);
color: #333;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header Styles */
header {
background: linear-gradient(to right, #00c6ff, #0072ff);
color: white;
padding: 20px 0;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.logo {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.logo img {
width: 50px;
height: 50px;
border-radius: 50%;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}
header h1 {
font-size: 2.5em;
font-weight: 700;
margin-bottom: 10px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline;
margin: 0 10px;
}
nav ul li a {
color: #f5f5f5;
text-decoration: none;
padding: 8px 16px;
border-radius: 5px;
transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
nav ul li a:hover {
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 0 10px #f5f5f5;
color: #fff; /* Change text color on hover */
}
/* Page Content Styles */
.page-content {
padding: 60px 0;
background: #ffffff url('texture.png') repeat;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-bottom: 40px;
}
.page-content h2 {
font-size: 2.2em;
margin-bottom: 20px;
color: #333;
text-align: center;
border-bottom: 2px solid #333;
padding-bottom: 10px;
}
.page-content p {
font-size: 1.1em;
line-height: 1.8;
margin-bottom: 20px;
color: #666;
}
.page-content img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-top: 20px;
}
/* Service Blocks */
.page-content .service {
border-left: 5px solid transparent;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
transition: box-shadow 0.3s ease, transform 0.3s ease;
color: #333;
background: #ffffff;
position: relative;
overflow: hidden;
}
.page-content .service:hover {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
transform: scale(1.05);
}
.page-content .service::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 10px;
background: rgba(255, 255, 255, 0.1);
transition: background-color 0.3s ease;
z-index: -1;
}
.page-content .service:hover::before {
background: rgba(255, 255, 255, 0.3);
}
.page-content .service h3 {
margin-bottom: 10px;
}
.page-content .service p {
margin-bottom: 10px;
}
/* Service Colors */
.page-content .red {
border-color: #ff6b6b;
}
.page-content .orange {
border-color: #ffa726;
}
.page-content .yellow {
border-color: #ffd54f;
}
.page-content .green {
border-color: #81c784;
}
.page-content .blue {
border-color: #64b5f6;
}
.page-content .purple {
border-color: #ba68c8;
}
/* Footer Styles */
footer {
background-color: #333;
color: white;
padding: 20px 0;
text-align: center;
position: relative;
bottom: 0;
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}
footer p {
margin: 0;
font-size: 1em;
}
/* User Article Input Section */
.article-input {
padding: 60px 0;
background: #f0f4f8;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-bottom: 40px;
}
.article-input h2 {
font-size: 2.2em;
margin-bottom: 20px;
color: #333;
text-align: center;
border-bottom: 2px solid #333;
padding-bottom: 10px;
}
.article-input form {
max-width: 600px;
margin: 0 auto;
}
.article-input label {
font-weight: bold;
color: #333;
display: block;
margin-bottom: 10px;
}
.article-input input[type="text"],
.article-input textarea {
width: 100%;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 1em;
margin-bottom: 20px;
}
.article-input textarea {
resize: vertical;
height: 200px;
}
.article-input button {
padding: 12px 24px;
border: none;
border-radius: 5px;
background-color: #007bffd1;
color: white;
font-weight: bold;
font-size: 1.2em;
cursor: pointer;
transition: background 0.3s ease, box-shadow 0.3s ease;
}
.article-input button:hover {
background-color: #005bb5;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}