-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
128 lines (111 loc) · 1.98 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
128
body {
background: #666;
background-color: black;
font-family: Arial, Helvetica, sans-serif;
}
#header {
font-size: 3.95vw;
text-align: right;
position: absolute;
top: 0;
right: 0;
z-index: 2;
}
#header a {
padding: 1vw;
color: #999999;
text-decoration: none;
}
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
z-index: 5;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 50%;
position: relative;
z-index: 15;
transition: all 5s ease-in-out;
}
.popup h2 {
margin-top: 0;
color: #333;
font-family: Arial, Helvetica, sans-serif;
font-weight: 900;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
font-family: Arial, Helvetica, sans-serif;
}
.popup .close:hover {
color: red;
}
.popup .content {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
max-height: 30%;
overflow: auto;
}
/* Will work harder to stop the date from moving alter */
/* font-family: "Consolas", "Droid Sans Mono", "Courier New", Courier,
monospace; */
#time {
text-align: center;
}
#minute,
#second {
font-family: "Oswald", Impact, sans-serif;
font-weight: bold;
letter-spacing: -1vw;
}
.min5 {
color: lightgray;
-webkit-text-stroke-color: grey;
-webkit-text-stroke-width: 0.3em;
}
.min1 {
color: red;
-webkit-text-stroke-color: darkred;
-webkit-text-stroke-width: 0.3em;
}
@media screen and (orientation: portrait) {
#minute,
#second {
display: block;
font-size: 50vh;
line-height: 43vh;
}
}
@media screen and (orientation: landscape) {
#minute::after {
content: ":";
}
#minute,
#second {
display: inline;
font-size: 35vw;
line-height: 30vw;
}
}