forked from voxie12/moon
-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
133 lines (115 loc) · 2.3 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
129
130
131
132
133
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
:root {
--tiles: url("static/tiles.png");
--bg: #3B4252;
--text-nord: #8CD0D3;
--text-milk: #FDF2D9;
--ctg: 4;
}
html,
body {
font-family: 'Ubuntu Mono', monospace;
font-size: 25px;
background: var(--bg);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 0px;
margin: 0px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.clock-box {
justify-content: center;
margin-bottom: 20px;
color: var(--text-milk);
background: var(--bg);
}
#clockbox,
#datebox {
text-align: center;
/* position: relative;
flex-direction: row;
display: flex;
justify-content: space-between;
margin-bottom: 20px; */
}
img {
height: 230px;
width: 700px;
object-fit: cover;
border: 2px solid var(--text-nord);
margin-bottom: 20px;
padding: 5px;
}
nav {
background: var(--bg);
display: grid;
grid-template-columns: repeat(var(--ctg), 1fr);
text-align: center;
margin: 0 0 20px 0;
padding: 5px 0;
}
ul {
list-style-type: none;
margin: 5px 0 20px -35px;
}
a,
.text {
text-decoration: none;
color: var(--text-milk);
}
a,
input {
cursor: default;
}
.accent,
a:hover,
label:hover,
.text li:hover,
#datebox:hover,
#clockbox:hover,
input::placeholder {
color: var(--text-nord);
}
input {
background: var(--bg);
font: 16px 'Ubuntu Mono', monospace;
color: transparent;
text-shadow: 0 0 0 var(--text-nord); /* #a9b1d6 */
height: 100%;
width: 100%;
border: 2px solid var(--text-milk);
text-align: center;
outline: none;
padding: 5px;
}
input:hover {
border: 2px solid var(--text-nord);
}
label {
font-size: smaller;
}
form {
text-align: center;
}
#bangs {
position: absolute;
left: 900px;
top: 0px;
width: 400px;
font-size: smaller;
display: flex;
}
#bangs li {
margin-right: 20px;
}
a:focus {
outline: none;
color: var(--text-nord);
}