-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblogs.css
More file actions
148 lines (122 loc) · 2.66 KB
/
Copy pathblogs.css
File metadata and controls
148 lines (122 loc) · 2.66 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
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;700&display=swap');
/* blogs.css */
/* General Styles */
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
font-family: 'Arial', sans-serif;
line-height: 1.6;
}
.container-flex {
display: flex;
flex-direction: column;
}
/* Featured Article */
.article-featured {
border-bottom: 1px solid #ddd;
margin-bottom: 20px;
padding-bottom: 20px;
}
.article-title {
font-size: 24px;
color: #333;
margin-bottom: 10px;
}
.article-image {
width: 100%; /* Full width */
height: auto; /* Automatic height to maintain aspect ratio */
max-height: 500px; /* Set a maximum height for the image */
object-fit: cover; /* Ensure the image covers the space without distortion */
margin-bottom: 15px;
border-radius: 5px;
}
.article-info {
font-size: 14px;
color: #888;
margin-bottom: 10px;
}
.article-body {
font-size: 16px;
color: #555;
margin-bottom: 10px;
}
.article-read-more {
font-size: 14px;
color: #007BFF;
text-decoration: none;
}
.article-read-more:hover {
text-decoration: underline;
}
/* Recent Articles */
.article-recent {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}
.article-recent-main {
flex: 2;
margin-right: 15px;
}
.article-recent-secondary {
flex: 1;
}
.article-recent img {
width: 100%;
height: auto;
border-radius: 5px;
}
.article-info {
font-size: 14px;
color: #888;
margin-top: 10px;
}
/* FAQ Section */
.faq-section {
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
margin-top: 30px;
}
.faq-title {
font-size: 20px;
color: #333;
margin-bottom: 15px;
}
.faq-list {
list-style: none;
padding: 0;
}
.faq-item {
margin-bottom: 15px;
}
.faq-question {
font-size: 16px;
color: #007BFF;
cursor: pointer;
}
.faq-question:hover {
text-decoration: underline;
}
.faq-answer {
padding-left: 15px;
color: #555;
}
/* Footer */
.footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 15px 0;
margin-top: 30px;
border-radius: 5px;
}
.footer p {
margin: 0;
font-size: 14px;
}