-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (75 loc) · 1.48 KB
/
style.css
File metadata and controls
86 lines (75 loc) · 1.48 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
background: #eff3ff;
}
.container {
height: 400px;
width: 800px;
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
border-radius: 10px;
box-shadow: 2px 3px 5px 10px #ccc;
}
.container .right,
.container .left {
width: 400px;
height: 400px;
margin: 0;
padding: 0;
}
.container .right img {
height: 400px;
width: 400px;
object-fit: cover;
object-position: center;
}
.container .left .content {
margin: 50px 10px;
padding: 20px;
}
.container .left .content .fas {
color: #a06b5a;
}
.container .left .content p {
font-size: 18px;
line-height: 1.4;
font-weight: 300;
color: #111;
margin-left: 20px;
}
.container .left .content .author {
margin: 20px 0px;
line-height: 1.5;
}
.container .left .content .author h2 {
color: #a06b5a;
}
@media (max-width: 1000px) {
.container {
width: 400px;
min-height: 600px;
flex-direction: column;
}
.container .right img {
height: 300px;
}
.container .left .content {
margin: 10px 10px;
padding: 20px;
}
.container .left .content p {
font-size: 15px;
}
}