-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlightmode.css
144 lines (123 loc) · 2.63 KB
/
lightmode.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
* {
/* This is the style file for the light mode.
To activate, rename index.css to "dark".
Next, rename this file to "index".*/
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
user-select: none;
}
/* The following are the configuration for the body. Feel free to edit.*/
body {
font: 300 70px/1 'Arial';
color: #282828;
background: #FCFBF4;
display: flex;
align-items: center;
justify-content: center;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
}
/* The following are the configuration for the date. Feel free to edit.*/
#date {
font-size: 35px;
margin-bottom: 30px;
display: flex;
font-family: 'Arial';
color: #282828;
font-style: italic;
}
/* The following are the configuration for the user greeting. Feel free to edit. */
#greeting {
font-size: 40px;
margin: 45px 0px 60px 0px;
font-family: 'Arial' !important;
color: #282828;
}
/* The following are the configuration for the bookmark list. Feel free to edit. */
#shortcuts {
font-size: 15px;
font-family: 'Arial' !important;
color: #282828;
padding: 3px;
}
#dot {
color: #de5833;
margin: 0px 5px;
}
#slash {
color: #de5833;
}
#chrome {
position: absolute;
left: 10px;
top: 10px;
}
a {
color: inherit;
}
.clock {
width: 350px;
text-align: center;
overflow: hidden;
}
.clock span {
position: relative;
display: inline-block;
width: 50px;
}
.clock span:nth-child(2) {
border-right: 2px solid#de5833;
margin-right: 10px;
width: 60px;
text-align: left;
}
.clock span:nth-child(4) {
border-right: 2px solid#de5833;
margin-right: 10px;
width: 60px;
text-align: left;
}
.clock span:nth-child(6) {
text-align: left;
}
.clock span:before,
.clock span:after {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
backface-visibility: hidden;
transition: transform 0.75s;
}
.clock span:before {
content: attr(data-old);
z-index: 1;
transform: translate3d(0, 0, 0);
}
.clock .flip:before {
transform: translate3d(0, 102.5%, 0);
}
.clock span:after {
content: attr(data-now);
z-index: 2;
transform: translate3d(0, -102.5%, 0);
}
.clock .flip:after {
transform: translate3d(0, 0, 0);
}
.clock-container {
padding: 20px 15px;
border-radius: 5px;
border: 1px solid #bdbdbd;
box-shadow: 5px 5px 15px #000;
background-color: transparent;
}