-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
123 lines (103 loc) · 1.75 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
body {
font-family: "Roboto", sans-serif;
margin: 0;
}
.wrap {
padding: 0 24px;
}
.country-grid__item-first-letter {
font-size: 30px;
}
.country-grid__item {
break-inside: avoid;
padding-left: 24px;
}
.country__stat-container {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 16px;
}
.country__names {
display: flex;
flex-direction: column;
}
.country__names--name {
font-size: 20px;
margin-bottom: 0px;
margin-top: 0px;
}
.country__names--fullname {
color: #aaaaaa;
font-size: 14px;
margin-top: 5px;
}
.country__stats {
display: flex;
margin-top: 0px;
line-height: 1;
column-gap: 16px;
flex-wrap: wrap;
row-gap: 8px;
}
.heading {
font-size: 34px;
padding: 42px 54px 63px 24px;
}
.country {
display: flex;
flex-direction: row;
align-items: flex-start;
padding-bottom: 20px;
padding-top: 20px;
column-gap: 12px;
line-height: 1.4;
}
.country__flag {
filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.25));
border-radius: 0px;
}
.country__stats--population {
display: flex;
}
.population__text {
margin-top: 1px;
margin-left: -11px;
white-space: nowrap;
color: rgba(91, 91, 91, 1);
}
.country__stats--area {
display: flex;
}
.area__text {
margin-top: -3px;
margin-left: -11px;
white-space: nowrap;
color: rgba(91, 91, 91, 1);
}
.country-grid {
column-gap: 50px;
column-rule: 1px solid rgba(0, 0, 0, 0.15);
columns: 1;
max-width: 1920px;
}
@media screen and (min-width: 768px) {
.country-grid {
columns: 2;
}
}
@media screen and (min-width: 1200px) {
.country-grid {
columns: 3;
}
}
@media screen and (min-width: 1440px) {
.country-grid {
columns: 4;
}
}
@media screen and (min-width: 1920px) {
.country-grid {
columns: 5;
}
}