-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
152 lines (125 loc) · 2 KB
/
styles.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
html,
body {
width: 100%;
height: 100%;
font-size: 16px;
}
.container {
height: 100%;
margin: 0 auto;
display: flex;
align-items: center;
}
.row {
width: 100%;
}
body {
overflow-x: hidden;
padding: 0;
margin: 0;
min-height: 354px;
text-align: center;
color: white;
background: rgb(86, 149, 191);
font-family: "Overpass", sans-serif;
}
/* Content */
#banner,
#mini-container {
padding-bottom: 30px;
}
.content {
z-index: 1;
flex-grow: 1;
width: 25%;
padding: 0 15px;
}
h1 {
font-size: 2em;
font-weight: normal;
margin-top: 0;
}
p {
font-size: 1.5em;
margin: 0;
}
#temp {
font-size: 2em;
display: inline-block;
}
#temp-deg {
font-size: 2.5em;
display: inline-block;
}
#mini-container .image {
display: none;
}
button {
display: inline-block;
background: none;
border: 3px solid white;
border-radius: 5px;
color: white;
font-size: 2em;
transition: ease 0.5s;
}
.night-time {
background: rgb(28, 39, 51);
color: white;
}
.inactive:hover {
background: white;
color: rgb(86, 149, 191);
transition: ease 0.5s;
cursor: pointer;
}
button:focus {
outline: none;
}
.selected {
background: white;
color: rgb(86, 149, 191);
}
.selected.night-time {
color: rgb(28, 39, 51);
}
/* Image */
div.image {
flex-grow: 1;
margin-right: -3%;
}
img {
transition: ease 0.5s;
z-index: 0;
width: 100%;
}
img:hover {
transition: ease 0.5s;
transform: scale(1.1);
}
@media screen and (max-width: 768px) {
html,
body {
font-size: 12px;
}
}
@media screen and (max-width: 425px) {
#side-image {
display: none;
}
#mini-container {
display: flex;
align-items: center;
justify-content: center;
}
#temp-container {
width: 40%;
}
#mini-container .image {
display: block;
width: 40%;
}
#mini-container .image img {
width: 75%;
}
}