-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
76 lines (68 loc) · 1.07 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;800&family=VT323&display=swap");
body {
margin: 20px;
font-family: "Poppins";
background: #d1dedd;
}
ul,
li {
padding: 0;
list-style-type: none;
}
h1,
h2,
h3 {
color: #767f7e;
}
p {
color: #828b8a;
}
header {
max-width: 1200px;
margin: 40px auto;
border-bottom: 1px solid #bbc7c7;
}
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
max-width: 1200px;
margin: 20px auto;
}
article img {
width: 100%;
border: 4px solid #fff;
border-radius: 8px;
}
article p,
article h3 {
margin: 20px 10px;
}
/* respomsive */
@media screen and (max-width: 980px) {
article {
grid-column: span 3;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
}
@media screen and (max-width: 760px) {
article,
article.featured {
display: block;
margin: 0 20px;
}
}
footer {
max-width: 1200px;
margin: 40px auto;
border-top: 1px solid #bbc7c7;
}
footer a {
color: #828b8a;
}
.heart {
color: red;
}