-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewtab.css
86 lines (75 loc) · 1.26 KB
/
newtab.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
html, body {
height: 100%;
margin: 0;
padding: 0;
background-color: black;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
background-color: black;
}
.quote {
font-size: 24px;
color: white;
margin-bottom: 20px;
}
.time {
font-size: 48px;
color: white;
margin-bottom: 20px;
}
.weather {
font-size: 24px;
color: white;
}
.container {
position: relative;
}
.greeting,
.quote,
.time,
.weather {
opacity: 0;
animation-name: fade-in;
animation-duration: 1s;
animation-delay: 0.5s;
animation-fill-mode: forwards;
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.settings-icon {
position: fixed;
top: 10px;
right: 10px;
z-index: 9999;
}
.popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 400px;
height: 300px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
z-index: 9999;
display: none;
}
.popup iframe {
width: 100%;
height: 100%;
border: none;
}
.popup.show {
display: block;
}