forked from SlRvb/Obsidian--ITS-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
S - Aside.css
97 lines (92 loc) · 2.15 KB
/
S - 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
/*-Comments/Asides-*/
/*Hide Aside and hover to reveal it*/
.aside-hide {
text-decoration: unset;
text-align: justify;
color: transparent;
font-weight: unset;
float: right;
position: relative;
margin: .5em;
margin-right: -1.8em;
width: 1.5em;
height: 1.5em;
clear: right;
overflow: hidden;
background-color: var(--background-primary-alt);
color: transparent;
}
.aside-hide:before {
display: block;
border-bottom: 2px solid var(--background-modifier-border);
content: "🗨 ";
color: none;
text-shadow: 0 0 0 var(--interactive-accent);
font-size: 12px;
padding-top: .1em;
padding-left: .3em;
}
.aside-hide:hover {
white-space: normal;
text-overflow: unset;
color: unset;
width: 400px;
height: unset;
background-color: var(--background-primary-alt);
padding: 1em;
padding-top: .5em;
z-index: 3;
/*box-shadow: .5em .5em var(--outer-bar);*/
border-right: 2px solid var(--interactive-accent);
}
/*Show Aside*/
.aside-show {
text-decoration: unset;
text-align: justify;
font-weight: unset;
float: right;
position: relative;
margin-right: -25.3em;
margin-bottom: .2em;
clear: right;
width: 400px;
background-color: var(--background-primary-alt);
padding: 1em;
box-shadow: .3em .3em var(--interactive-accent);
}
/*Aside Inside the Note*/
.aside-in {
text-decoration: none !important;
text-align: justify;
font-weight: unset;
float: right;
position: relative;
margin-bottom: .2em;
clear: right;
width: 18em;
background-color: var(--background-primary-alt);
padding: 1em;
box-shadow: .3em .3em var(--interactive-accent);
z-index: 3;
}
.aside-in .internal-embed.is-loaded:not(.image-embed),
.aside-in .markdown-embed {
width:100%;
}
/*Aside Without Other Styling*/
.aside-clean {
text-decoration: unset;
text-align: justify;
font-weight: unset;
float: right;
position: relative;
margin-right: -25.3em;
margin-bottom: .2em;
clear: right;
width: 400px;
padding: 0 1em;
}
/*Shrink Scrollbar*/
.aside > ::-webkit-scrollbar {
width: 5px;
}