-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (84 loc) · 1.55 KB
/
style.css
File metadata and controls
103 lines (84 loc) · 1.55 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.main-container-country{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.country-information{
margin: 1rem auto 0rem;
background-color: cadetblue;
}
.details-hold{
margin:1.3rem 0rem;
}
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
.country-flag{
width:100%;
}
.country-flag figure img{
width:100%;
height:200px;
}
.country{
background-color: blue;
padding-bottom: 16px;
width:100%;
}
.country-details{
padding-left:16px;
}
body{
background: hsla(332, 53%, 82%, 1);
}
.project-heading h1{
text-align: center;
text-transform:uppercase;
letter-spacing: 2px;
animation-name: change;
animation-duration: 2s;
animation-fill-mode:forwards;
animation-iteration-count: infinite;
transition: all 0.4s linear;
}
@keyframes change{
0%{
color: aquamarine;
}
20%{
color: rgb(193, 127, 255);
}
60%{
color: rgb(16, 203, 141);
}
80%{
color: rgb(148, 167, 160);
}
100%{
color: rgb(214, 22, 41);
}
}
.project-navbar{
display: flex;
justify-content: space-around;
align-items: center;
margin:4rem 0rem;
}
#search-country{
padding: 10px 18px;
outline: none;
font-size: 1.2rem;
}
#search{
background-color: green;
padding: 10px 22px;
font-size: 1.1rem;
cursor: pointer;
}
@media(max-width:720px){
.main-container-country{
flex-direction: column;
}
}