-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle2.css
69 lines (64 loc) · 1.07 KB
/
style2.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
.content-area.countries {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.container {
display: inline-block;
background-color: var(--element);
box-shadow: var(--shadow);
border-radius: 7px;
margin: 10px 12px;
width: 15rem;
overflow: hidden;
cursor: pointer;
transition: 300ms ease;
}
.container:hover {
transform: scale(1.08);
}
.flag {
height: 10rem;
overflow: hidden;
}
.flag img {
object-fit: cover;
width: 100%;
height: 100%;
pointer-events: none;
/*transition: 300ms ease;*/
}
.info {
color: var(--text);
padding: 1em;
}
.info p {
margin: 5px 0;
font-size: 0.85rem;
pointer-events: none;
}
.info .name {
font-weight: 800;
margin-bottom: 0.5em;
font-size: 1.1rem;
}
.load-more {
background-color: var(--element);
color: var(--text);
border: none;
border-radius: 6px;
cursor: pointer;
padding: 0.5em 0.8em;
font-size: 1rem;
font-family: 'Nunito Sans', sans-serif;
}
.content-area.load-btn {
display: flex;
align-items: center;
justify-content: center;
margin: 2rem auto;
}
.load-btn.hide {
display: none;
}