-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (88 loc) · 1.83 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
/*
Copyright © 2019 Gallactica
https://github.com/gallactica
*/
:root {
--hl: #6E71C4;
--color: #D5D5D5;
--border: #50555F;
}
body {
background: #282B33FA;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0px;
font-family: monospace;
}
.app {
width: 420px;
height: 295px;
background: #282B33;
display: flex;
color: var(--color);
overflow: hidden;
border-radius: 0px;
user-select: none;
}
.app .time {
flex: 0 0 auto;
width: 119px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.app .time span {
font-size: 40px;
width: 48px;
text-align: center;
border-bottom: 1px solid var(--border);
user-select: none;
line-height: 66px;
}
.app .time span:last-child {
border: none;
}
.app .calendar {
padding: 0px 10px;
flex: 1 1 auto;
display: flex;
flex-direction: column;
border-right: 1px solid var(--border);
}
.app .calendar .header {
margin-top: 5px;
flex: 0 0 auto;
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
}
.app .calendar .header svg {
padding: 8px;
cursor: pointer;
}
.app .calendar .grid {
display: flex;
flex-wrap: wrap;
}
.app .calendar .grid span {
width: 32px;
height: 32px;
margin: 4px;
background-color: #2E343D;
border-radius: 0px;
display: flex;
justify-content: center;
align-items: center;
user-select: none;
}
.app .calendar .grid span.today {
background-color: var(--hl);
box-shadow: 0px 0px 15px 1px var(--hl);
}
.app .calendar .grid span:empty {
background-color: #2E343D50;
}