-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (63 loc) · 1.17 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Nunito, sans-serif;
}
.title {
font-weight: 800;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 95%;
margin-inline: auto;
padding-inline: 24px;
height: 60px;
}
.darkMode {
margin-right: 10px;
}
main {
padding: 24px;
}
.countries-container {
max-width: 100%;
margin-inline: auto;
/* border: 1px solid black; */
display: flex;
gap: 64px;
flex-wrap: wrap;
justify-content: space-evenly;
}
.country-card {
width: 250px;
height: 350px;
border-radius: 4px;
box-shadow: 0px 4px 4px 1px rgba(0, 0, 0, 0.1);
/* transition: transform 0.2s ease-in-out; */
text-decoration: none;
}
.country-card:hover {
transform: scale(1.03);
}
.country-card img {
width: 100%;
height: 150px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.card-text {
padding-inline: 16px;
height: 200px;
}
.card-text h3 {
margin-bottom: 10px;
}
@media(max-width:600px) {
.countries-container {
display: flex;
justify-content: center;
}
}