-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (105 loc) · 1.97 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
127
@import url('https://fonts.googleapis.com/css2?family=Akronim&family=Ephesis&family=Rubik+Beastly&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
background:url(img/11.jpg);
background-repeat: no-repeat;
/*background-size: cover;
background-position: bottom center;
background-attachment: fixed;*/
overflow: hidden;
min-width: 100vw;
object-fit: cover;
}
.container{
width: 300px;
background: linear-gradient(
to right bottom,
rgba(255, 255, 255, 0.7),
rgba(255, 255, 255, 0.1)
);
display: block;
margin: 0 auto;
margin-top: 30px;
backdrop-filter: blur(2em);
border-radius: 10px;
padding-bottom: 30px;
z-index: 4;
}
.app-title{
width: 300px;
height: 50px;
border-radius: 10px 10px 0 0;
font-family: 'Rubik Beastly', cursive;
font-size: 2em;
}
.app-title p{
text-align: center;
padding: 15px;
margin: 0 auto;
font-size: 1.2em;
color: #293251;
}
.notification{
background-color: #f8d7da;
display: none;
}
.notification p{
color: #721c24;
font-size: 1.2em;
margin: 0;
text-align: center;
padding: 10px 0;
}
.weather-container{
width: 300px;
height: 260px;
}
.weather-icon{
width: 300px;
height: 128px;
}
.weather-icon img{
display: block;
margin: 0 auto;
}
.temperature-value{
width: 300px;
height:60px;
}
.temperature-value p{
padding: 0;
margin: 0;
color: #293251;
font-size: 4em;
text-align: center;
cursor: pointer;
}
.temperature-value p:hover{
}
.temperature-value span{
color: #293251;
font-size: 0.5em;
}
.temperature-description{
}
.temperature-description p{
padding: 8px;
margin: 0;
color: #293251;
text-align: center;
font-size: 1.2em;
}
.location{
}
.location p{
margin: 0;
padding: 0;
color: #293251;
text-align: center;
font-size: 0.8em;
}