-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
89 lines (77 loc) · 1.52 KB
/
main.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Sansation", sans-serif;
background-image: url("austria.jpg");
background-size: cover;
background-position: top center;
}
.app-wrap {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.app {
display: flex;
border: 1px solid transparent;
border-radius: 20px;
width: 350px;
flex-direction: column;
margin: auto;
background: linear-gradient( 200deg, rgba(49, 50, 44, 0.71), rgb(139, 128, 212, 0.71));
}
main {
flex: 1 1 100%;
padding: 25px 25px 50px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.location .city {
color: white;
font-size: 32px;
font-weight: 500;
margin-bottom: 5px;
}
.location .date {
color: white;
font-size: 18px;
}
.current .temp {
color: white;
font-size: 4rem;
font-weight: 900;
margin: 30px 0px;
text-shadow: 3px 5px rgba(0, 0, 0, 0.7);
}
.current .temp span {
font-weight: 300;
}
.current .weather {
color: white;
font-size: 32px;
font-weight: 700;
font-style: italic;
margin-bottom: 15px;
text-shadow: 0px 3px rgba(0, 0, 0, 0.3);
}
.current .description {
color: white;
font-size: 32px;
font-weight: 700;
text-shadow: 0px 4px rgba(0, 0, 0, 0.4);
}
.tomorrow {
color: white;
font-size: 32px;
font-weight: 600;
margin: 10px 0;
text-shadow: 0px 4px rgba(0, 0, 0, 0.4);
}
img.icon {
filter: invert(1);
}