forked from Code-Social/official-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.css
202 lines (173 loc) · 4.1 KB
/
blog.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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
/* Blog Container */
body{
background-color: #ffffff;
}
.section__header{
text-align: center;
padding: 20px auto;
font-family: Arial, sans-serif;
height: 75px;
top: 0;
}
/*issue changes*/
.footer-links {
display: flex; /* Use flexbox to align columns */
justify-content: space-between; /* Adds space between the columns */
flex-wrap: wrap; /* Ensures responsiveness on smaller screens */
padding: 20px 0;
}
.footer-column {
flex: 1; /* Each column takes equal space */
margin-right: 40px; /* Add some space between columns */
}
.footer-column:last-child {
margin-right: 0; /* Remove right margin for the last column */
}
.footer-title {
font-weight: bold;
margin-bottom: 10px;
}
.footer-list {
list-style: none; /* Remove bullets */
padding: 0;
}
.footer-list li {
margin-bottom: 8px; /* Add space between the links */
}
.footer-list li a {
color: #6c757d; /* Change link color to grey */
text-decoration: none; /* Remove underline */
}
.footer-list li a:hover {
color: #000; /* Darken link color on hover */
}
/*issue changes*/
.blog-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
padding: 50px 0;
background-color: #f0f0f0;
}
/* Blog Cards */
.blog-card {
background-color: #fff;
border-radius: 10px;
overflow: hidden;
width: 30%;
padding: 20px 15px;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 4px 8px rgba(26, 25, 25, 0.1);
}
.blog-card:hover{
transform: scale(1.027);
transition: all 0.5s;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.blog-card img {
width: 100%;
border-bottom: 4px solid #2196f3;
height: 230px;
object-fit: cover;
}
.blog-card h4 {
color: #333;
margin-top: 15px;
}
.blog-card p {
color: #666;
font-size: 14px;
margin: 10px 0;
}
.blog-card button {
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.3s ease;
}
.blog-card button:hover {
background-color: #0056b3;
}
/* Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
z-index: 1000;
overflow-y: auto;
}
.modal-content {
margin: 50px auto;
padding: 30px;
width: 80%;
background-color: #fff;
border-radius: 10px;
position: relative;
}
.modal-content h1 {
margin-bottom: 20px;
font-size: 24px;
color: #007bff;
}
.modal-content p {
font-size: 16px;
color: #333;
}
/*css change*/
.social-icons {
display: flex;
justify-content: center; /* Centers icons horizontally */
align-items: center; /* Centers icons vertically */
gap: 20px; /* Adds space between icons */
margin-top: 20px;
}
.social-icons a {
display: inline-block;
}
.social-icons img {
width: 40px; /* Adjust the size of the icons */
height: auto;
transition: transform 0.2s;
}
.social-icons img:hover {
transform: scale(1.1); /* Zoom effect on hover */
}
.logo-container {
display: flex;
align-items: center; /* Align items vertically in the center */
text-decoration: none;
}
.logo {
max-width: 50px; /* Adjust the logo size as needed */
height: auto; /* Maintain the aspect ratio */
margin-right: 5px; /* Add some space between image and text */
margin-top: 10px;
}
.website-name {
font-size: 24px; /* Adjust the size of the text as needed */
font-weight: bold;
color: #000;
margin-top: 10px;
text-decoration: none; /* Remove underline from text if it's a link */
}
/*css change*/
.close {
position: absolute;
top: 10px;
right: 20px;
font-size: 30px;
color: #333;
cursor: pointer;
}
.close:hover {
color: #ff0000;
}