forked from dribehub/nord-startpage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (105 loc) · 2.16 KB
/
style.css
File metadata and controls
121 lines (105 loc) · 2.16 KB
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
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
:root {
--tiles: url("static/tiles.png");
--bg: #41464b;
--text-nord: #F67129;
--text-milk: #D9D9D9;
--ctg: 4;
--background_image: url(image.jpg);
}
html,
body {
font-family: 'Ubuntu Mono', monospace;
font-size: 25px;
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;
content: var(--background_image);
}
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;
}
a:focus {
outline: none;
color: var(--text-nord);
}