-
Notifications
You must be signed in to change notification settings - Fork 0
/
clock.css
129 lines (114 loc) · 2.39 KB
/
clock.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
129
@import url("https://fonts.googleapis.com/css2?family=Anonymous+Pro&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap");
@import url("vars.css");
* {
text-shadow: 0 0 5px var(--color-transparent);
--font-size: 45%;
}
.container {
max-width: 500px;
margin: 0 auto;
}
*:focus {
outline: none;
}
body {
background-color: #121212;
}
* {
font-size: calc(var(--font-size) * 2.4);
padding: 20px;
font-family: "Quicksand";
font-weight: 200;
color: var(--color);
transition-duration: 0.5s;
}
a {
border-bottom: 1px solid var(--color);
padding: 2px;
line-height: 1em;
text-decoration: none;
background-size: 200% auto;
background-position: -0% 0;
background-image: linear-gradient(
to right,
rgba(255, 255, 255, 0) 50%,
var(--color-transparent) 50%
);
transition: all 0.3s ease-out;
}
a:hover {
border-bottom: 1px solid transparent;
color: black;
background-position: -100% 0;
}
.button,
[class*="button-"] {
margin: 0 auto;
border: 1px dashed var(--color);
position: relative;
display: block;
overflow: hidden;
padding: 0 1em;
height: 3.5em;
font: 300 1em/3.5em "Anonymous Pro", sans-serif;
text-decoration: none;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
letter-spacing: 0.08em;
color: var(--color);
background: black;
border-radius: 5px;
-moz-transition: ease 0.35s all;
-o-transition: ease 0.35s all;
-webkit-transition: ease 0.35s all;
transition: ease 0.35s all;
}
.button:hover,
[class*="button-"]:hover {
background: black;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.5) inset;
}
.button-hover:hover {
line-height: 9em;
}
.button-hover:before {
text-align: center;
content: attr(data-text);
color: var(--color);
position: absolute;
top: -2.75em;
}
h1 {
font-family: "Quicksand";
font-weight: 200;
color: var(--color);
font-size: calc(var(--font-size) * 6);
text-align: center;
text-decoration: underline;
text-transform: capitalize;
}
#clock {
font-family: "Anonymous Pro";
color: var(--color);
font-size: calc(var(--font-size) * 8);
text-align: center;
margin: 0 auto;
}
.no-js #loader {
display: none;
}
.js #loader {
display: block;
position: absolute;
left: 100px;
top: 0;
}
.se-pre-con {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
background: url("load.svg") center no-repeat black;
}