-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAside.css
120 lines (109 loc) · 3.03 KB
/
Aside.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
/*▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰
/* Aside - ITS theme
/* mod 19-05-21 - vainille
/* <s class="aside-hide"></s>
/* <s class="aside-show"></s>
/* <s class="aside-in"></s>
mod 22-07-21 --> neumo style
/*▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰
/*-Comments/Asides-*/
/*Hide Aside and hover to reveal it*/
.aside-hide {
/*background-color:var(--background-primary-alt);
border-radius:5px;*/
background-color: var(--background-primary);
border-radius: 5rem;
box-shadow: inset 3px 3px 6px var(--main-darken), inset -3px -3px 6px var(--main-lighten);
clear: right;
color: transparent;
color: transparent;
float: right;
font-style: normal;
font-weight: unset;
height: 1.5em;
margin-right: -1.8em;
margin: .5em;
overflow: hidden;
position: relative;
text-align: center;
text-decoration: unset;
width: 1.5em;
}
.aside-hide:before {
border-radius: 5px;
color: var(--text-accent); /*none*/
content: "🗫 |";/*"🗨 */
display: inline-block;
font-size: 1em;
font-style: normal;
margin-top: -.2em;
/* padding-left:.3em;
padding-top:.1em;*/
text-shadow: 0 0 0 var(--interactive-accent);
}
.aside-hide:hover {
background-color: var(--background-primary);
border-radius: 1rem;
/*border-right:2px solid var(--interactive-accent);*/
box-shadow: inset 6px 6px 12px var(--main-darken), inset -6px -6px 12px var(--main-lighten);
color: unset;
font-size: calc(var(--font-normal) - 1px);
font-style: normal;
height: unset;
max-width: 40%;
padding-top: .5em;
padding: 1em;
text-overflow: unset;
white-space: normal;
width: fit-content;
z-index: 3;
}
/*Show Aside*/
.aside-show {
background-color: var(--background-primary);
border-radius: 1rem;
/* box-shadow:.2em .2em .2em var(--interactive-accent);*/
box-shadow: inset 6px 6px 12px var(--main-darken), inset -6px -6px 12px var(--main-lighten);
clear: right;
float: right;
font-style: normal;
font-weight: unset;
margin-bottom: .2em;
margin-right: -25.3em;
padding: 1em;
position: relative;
text-align: justify;
text-decoration: unset;
width: 400px;
}
/*Aside Inside the Note*/
.aside-in {
background-color: var(--background-primary);
border-color: var(--background-primary-alt);
border-radius: 1rem;
border-radius: 5px;
/* box-shadow:.2em .2em .2em var(--interactive-accent);*/
box-shadow: inset 6px 6px 12px var(--main-darken), inset -6px -6px 12px var(--main-lighten);
clear: right;
float: right;
font-size: var(--font-small)!important;
font-style: normal;
font-weight: unset;
left: 1em;
margin-bottom: .2em;
max-width: 18em;
padding: 1em;
position: relative;
text-align: justify;
text-decoration: none!important;
width: auto;
z-index: 3;
}
.aside-in .internal-embed.is-loaded:not(.image-embed),
.aside-in .markdown-embed {
width: 100%;
}
/*Shrink Scrollbar*/
.aside>::-webkit-scrollbar {
width: 5px;
}