-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (97 loc) · 1.69 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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;1,300&display=swap');
*{
padding: 0px;
margin: 0px;
text-transform: capitalize;
font-family: 'Open Sans', sans-serif;;
}
body{
padding: 40px 20px;
background-color: rgb(109, 226, 255);
color : white;
}
nav{
display: flex;
justify-content: space-around;
align-items: center;
letter-spacing: 2px;
border-bottom: 2px solid white;
padding-bottom: 20px;
}
img{
width: 200px;
height: auto;
}
.timeCountry{
margin: 2rem auto;
display: grid;
grid-template-rows: 1fr 1fr;
grid-gap: 1.5rem;
font-size: 1.5rem;
text-align: center;
justify-items: center;
}
#country{
outline: none;
width: 70%;
border:none;
text-align: center;
color:rgb(109, 226, 255);
font-size: 1.2rem;
}
#menu{
width: 60%;
display: flex;
}
main{
display: grid;
justify-items: center;
grid-template-rows: repeat(3, 1fr);
grid-gap: 1.5rem;
padding: 1rem 0px;
align-content: center;
margin-top: 10vh;
}
h1{
font-size: 3.5rem;
}
h3{
font-size: 2rem;
}
#submit{
padding: 5px;
border: none;
cursor: pointer;
width: 30%;
margin: 0px;
background-color: rgb(0, 204, 255);
}
#cases{
color : yellow;
}
#deaths{
color :red;
}
#recovered{
color : green;
}
@media only screen and (max-width: 1220px) {
#country{
font-size: 1rem;
}
}
@media only screen and (max-width: 750px) {
#country{
font-size: 1rem;
}
img{
width: 150px;
height: auto;
}
h2{
font-size: 1rem;
}
h1{
font-size: 2rem;
}
}