This repository was archived by the owner on Oct 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
126 lines (106 loc) · 2.06 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
:root {
--img-url: url('https://openweathermap.org/img/wn/01n.png');
}
body {
overflow-x: hidden;
overflow-y: hidden;
font: 75% Montserrat, sans-serif;
}
#background {
background-image: url('https://wallpaperaccess.com/download/pink-mountain-2005304');
top: 0;
right: 0;
bottom: 0;
left: 0;
position: absolute;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
filter: blur(10px);
transform: scale(1.1);
}
.fade {
transition: 0.7s;
}
@keyframes animateIn {
100% {
opacity: 1;
}
}
.animate-in {
opacity: 0;
animation: animateIn ease 2s 1s;
animation-fill-mode: forwards;
}
.fade:hover, .fade:active {
filter: brightness(0.8);
}
.center {
text-align: center;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
}
#title {
color: #ffffff;
white-space: nowrap;
top: 35%;
font-size: 300%;
}
#search {
top: 50%;
}
#search-button {
border-radius: 100px;
height: 30px;
background: transparent;
border: 4px solid white;
color: #ffffff;
padding: 5px 20px 5px 20px;
}
#search-button[placeholder] {
font-size: 100%
line-height: 30px;
}
::placeholder {
color: #ffffff;
opacity: 1;
font-family: Montserrat, sans-serif;
}
:-ms-input-placeholder {
color: #ffffff;
opacity: 1;
font-family: Montserrat, sans-serif;
}
::-ms-input-placeholder {
color: #ffffff;
opacity: 1;
font-family: Montserrat, sans-serif;
}
#weather-clock {
position: relative;
text-align: right;
vertical-align: middle;
}
#weather {
top: 0px;
left: 20px;
position: absolute;
color: #ffffff;
display: flex;
justify-content: flex-start;
}
#weather::after {
content: var(--img-url);
display: flex;
align-items: center;
transform: translateY(-11px);
}
#clock {
vertical-align: -50%;
color: #ffffff;
top: 0px;
right: 20px;
position: absolute;
}