-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (99 loc) · 1.89 KB
/
Copy pathstyle.css
File metadata and controls
99 lines (99 loc) · 1.89 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
.blog-post
{
display: flex;
align-items: center;
max-width: 90rem;
background-color: #fff;
padding: 2.5rem;
box-shadow: 0 1.4rem 8rem rgba(0, 0, 0, 0.2);
border-radius: 0.8rem;
}
.blog-post_img
{
position: relative;
min-width: 35rem;
max-width: 35rem;
height: 30rem;
transform: translateX(-8rem);
}
.blog-post_img img
{
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 0.8rem;
}
.blog-post_img::before
{
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
box-shadow: 0.5rem 0.5rem 3rem 1px rgba(0, 0, 0, .05);
border-radius: .8rem;
opacity: .5;
}
.blog-post_date span
{
display: block;
color: #8e8c8c;
font-weight: 600;
margin: 0.5rem 0;
}
.blog-post_title
{
font-size: 2.5rem;
margin: 1.5rem 0 2rem;
text-transform: uppercase;
color: #4facfe;
}
.blog-post_info p{
margin-bottom: 3rem;
color: rgba(0, 0, 0, 0.7);
}
.blog-post_cta
{
display: inline-block;
background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
padding: 1.5rem 3rem;
letter-spacing: 1px;
text-transform: uppercase;
color: #fff;
border-radius: .8rem;
}
.blog-post_cta:hover
{
background-image: linear-gradient(to right, #00f2fe 0%, #4facfe 100%);
}
@media (max-width: 1068px)
{
.blog-post
{
max-width: 80rem;
}
.blog-post_img
{
min-width: 30rem;
max-width: 30rem;
}
}
@media(max-width: 868px) {
.blog-post
{
max-width: 70rem;
}
}
@media (max-width: 768px)
{
.blog-post
{
padding: 2.5rem;
flex-direction: column;
}
.blog-post_img
{
min-width: 100%;
transform: translate(0, -8rem);
}
}