blob: d5496c964d9d35b286cd1f8a279e82602859c89e (
plain)
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
|
/**
* @author Torsten Grothoff
* @name navbar.css
* @description Makes the navigation bar have styles
* @license LGPL-3.0-or-later
*/
.navcontainer{
overflow:hidden;
background:#144;
margin-bottom:50px;
width:100%;
color:white;
position:-webkit-sticky;
position:sticky;
top:0px;
width: 100vw;
backdrop-filter: blur(10px);
opacity: 1;
z-index: 10000;
}
nav {
left: 1vw;
position: relative;
background:#144;
z-index: 10000;
}
nav * {
border: none;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
background: #00000000;
height: inherit;
}
nav *{
padding: 15px 32px;
}
nav *:hover {
background: #00000022;
}
nav *.active {
background-color: #4CAF50;
}
nav *.active:hover {
background: #377c39;
}
nav * {
cursor: pointer;
}
nav a.right {
float:right;
margin-right: 5vw;
}
input[type=checkbox]:checked + label {
color: red;
}
|