-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (106 loc) · 2.33 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
124
125
126
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-clr: #E5E9EC;
--button-clr: #FF5D5E;
--text-clr: #000;
}
body {
background-color: var(--bg-clr);
color: var(--text-clr);
font-family: Arial, Helvetica, sans-serif;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.searchbar {
width: 100%;
height: 50vh;
background-image: url("https://images.unsplash.com/photo-1418489098061-ce87b5dc3aee?ixid=MnwxMjA3fDB8MHxzZWFyY2h8N3x8bmF0dXJhbHxlbnwwfDB8MHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=60");
background-repeat: no-repeat;
background-size: cover;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.greeting, .location, .search, .showtime {
margin-left: 10px;
}
.greeting {
color: var(--bg-clr);
margin-bottom: 8px;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.2rem;
}
.time {
font-size: 5rem;
color: var(--bg-clr);
}
.location {
color: var(--bg-clr);
margin-top: 8px;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.2rem;
}
span {
color: var(--bg-clr);
}
.showtime {
display: flex;
}
.search {
margin-top: 9vh;
}
.getdata {
padding: 8px 5px;
background-color: var(--button-clr);
border: none;
box-shadow: 3px 3px 8px rgba(58, 58, 58, 0.568);
cursor: pointer;
}
.inputcity {
border: 1px solid var(--text-clr);
padding: 8px 5px;
}
.data {
width: 100%;
min-height: 30vh;
font-family: Arial, Helvetica, sans-serif;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 10px 20px;
margin-top: 5vh;
text-align: left;
}
.value {
text-align: right;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
font-size: 1.2rem;
letter-spacing: 1.1px;
}
.key {
color: grey;
font-size: .9rem;
}
.key, .value {
display: flex;
flex-direction: column;
justify-content: space-between;
}
@media only screen and (min-width: 600px) {
.container {
width: 40vw;
margin: 5vh auto;
background-color: rgb(255, 255, 255);
box-shadow: 5px 5px 10px rgba(97, 95, 95, 0.5);
}
}