-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (115 loc) · 2.11 KB
/
style.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
*{
margin: 0px;
padding: 0px;
font-family: poppins;
box-sizing: border-box;
}
ul{
list-style: none;
}
a{
text-decoration: none;
}
body{
margin: 0px;
padding: 0px;
font-family: poppins;
background-color: rgba(255, 255, 255, 0.15);
}
/*--blog--------------------------*/
#blog{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 40px;
border-top: 1px solid rgba(0, 0, 0, 0.05);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.blog-heading{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.blog-heading span{
color: #f33c3c;
}
.blog-heading h3{
font-size: 2.4rem;
color: #2b2b2b;
font-weight: 600;
}
.blog-container{
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0px;
flex-wrap: wrap;
}
.blog-box{
width:350px;
background-color: #ffffff;
border: 1px solid #ececec;
margin: 20px 20px;
}
.blog-img{
width:100%;
height: auto;
}
.blog-img img{
width:100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.blog-text{
padding: 30px;
display: flex;
flex-direction: column;
}
.blog-text span{
color: #f33c3c;
font-size: 0.9rem;
}
.blog-text .blog-title{
font-size: 1.3rem;
font-weight: 500;
color: #272727;
}
.blog-text p{
color: #9b9b9b;
font-size: 0.9rem;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
margin: 20px 0px;
}
.blog-text a{
color: #0f0f0f;
}
.blog-text a:hover{
color: #c74242;
transition: all ease 0.3s;
}
@media(max-width:1250px){
.blog-box{
width: 300px;
}
}
@media(max-width:1100px){
.blog-box{
width:70%;
}
}
@media(max-width:550px){
.blog-box{
margin: 20px 10px;
width: 100%;
}
#blog{
padding:20px;
}
}