This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwiki-new.css
78 lines (70 loc) · 1.44 KB
/
wiki-new.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
.t {
font-size: 0.85em !important;
}
#tools {
padding-top: .5em;
position: absolute;
right: 0;
top: 0;
width: 11em;
transition: right .3s;
}
.menu-btn {
position: fixed;
left: -2rem;
top: -2rem;
width: 4rem;
height: 4rem;
background-color: #80A2FF;
border-radius: 50%;
box-shadow: 0 0 10px 3px #bababa !important;
transition: border-color 0.2s;
}
.menu-btn:hover {
background-color: #CFE3FF;
}
.pseudo-header {
z-index: 100;
position: fixed !important;
top: 0;
padding-top: 60px;
width: calc(70vw + 15px);
padding-left: 15px !important;
margin-left: -16px;
padding-right: 15px;
opacity: 0;
background: transparent;
backdrop-filter: blur(6px);
border: none;
border-radius: 0 0 .5rem .5rem;
box-shadow: 0 0 10px 3px #bababa !important;
transition: opacity .3s;
outline: none;
}
.up-btn {
cursor: pointer;
appearance: none;
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-45%) rotate(45deg);
width: 2rem;
height: 100%;
border: none;
background-color: transparent;
padding: 3px;
transition: margin-top .1s;
display: flex;
align-items: center;
justify-content: center;
}
.up-btn * {
height: 1rem;
width: 1rem;
border-top: 3px solid black;
border-left: 3px solid black;
border-top-left-radius: 0.3rem;
}
.up-btn:hover {
margin-top: -.2rem;
}