-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog_css.css
95 lines (93 loc) · 1.46 KB
/
blog_css.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
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400&display=swap');
:root{
--primary-color: #27DEBF;
}
body{
font-family: 'Josefin Sans', sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}
.container{
width: 80%;
margin: 0 auto;
}
.title {
text-align: center;
margin: 50px 0;
}
.title h5{
color: var(--primary-color);
text-transform: uppercase;
}
.column-card {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.card{
width: 30%;
}
.card img{
width: 100%;
}
.panel{
padding: 5%;
box-shadow: 0px 6px 18px -8px rgba(118,130,183,1);
border-radius: 10px;
}
span.date {
color: green;
font-weight: 800;
}
a.allbtn {
display: block;
width: 100%;
margin: 5% auto;
background: green;
text-align: center;
color: white;
padding: 1%;
text-decoration: none;
border-radius: 4px;
}
.card a {
text-decoration: none;
color: green;
}
.breaker {
display: inline-block;
height: 5px;
background: green;
width: 30px;
position: relative;
border-radius: 4px;
}
.breaker:after{
position: absolute;
content: "";
background: green;
width: 30px;
height: 5px;
left: 150%;
border-radius: 4px;
}
@media screen and (max-width: 786px){
.card{
width: 45%;
margin-bottom: 30px;
}
a.allbtn {
width: 20%;
}
}
@media screen and (max-width: 430px){
.card{
width: 100%;
}
a.allbtn {
width: 30%;
}
}