-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathoptional.css
132 lines (109 loc) · 2.85 KB
/
optional.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
121
122
123
124
125
126
127
128
129
130
131
132
/* Hide Roam logo */
#roam-sidebar-logo {
display: none;
}
/* Hide mobile bar on iPad */
@media (min-device-width : 1024px) {
#rm-mobile-bar {
display: none;
}
}
/* Right sidebar hide iframes pdfs */
#right-sidebar div:not(.rm-inline-img__resize) > .react-resizable {
display: none;
}
#right-sidebar .hoverparent[style*="width: 500px"]:not(.rm-inline-img__resize):before {
content: "<--- Click to view PDF in main page";
color: var(--body-text);
font-style: italic;
}
#right-sidebar .hoverparent[style*="width: 720px"]:not(.rm-inline-img__resize):before {
content: "<--- Click to view iframe in main page";
color: var(--body-text);
font-style: italic;
}
/* Minimal right sidebar */
#roam-right-sidebar-content > div > div:nth-child(n) > div > div > div:nth-child(n) > span:nth-child(1):not(.bp3-button) {
display: none;
}
.flex-h-box.window-headers {
padding: 0 !important;
height: 35px !important;
}
#roam-right-sidebar-content > div > div:nth-child(n) > div {
padding-top: 5px !important;
padding-bottom: 5px !important;
}
.rm-sidebar-outline {
position: relative;
top: -10px;
}
.rm-sidebar-outline .rm-block-children.rm-block__children.rm-level-0 {
padding-top: 10px;
}
/* Minimal right sidebar mentions */
#right-sidebar .rm-ref-page-view .rm-title-arrow-wrapper,
#right-sidebar .rm-ref-page-view .rm-zoom {
display: none;
}
#right-sidebar .rm-ref-page-view {
padding-bottom: 0;
margin-left: -12px;
}
#roam-right-sidebar-content .rm-reference-main strong {
display: none;
}
#roam-right-sidebar-content .rm-reference-main {
padding: 0px !important;
}
/* Horizontal layout */
.roam-block-container[data-page-links*=".rm-h"] .rm-block-children {
display: flex;
flex-direction: row;
}
/* David PPT mode custom Serif theme */
.reveal {
cursor: url(https://cdn.custom-cursor.com/db/cursor/32/Laser_Cursor.png), default !important;
}
.reveal h1 {
font-size: 2.5em !important;
border-bottom: solid 2px orangered;
color: black !important;
}
/* Sticky tags */
.roam-block-container[data-page-links*=".sticky"] > .rm-block-main {
position: sticky;
-webkit-backdrop-filter: blur(15px);
backdrop-filter: blur(15px);
top: 0px;
z-index: 11;
}
/* Hide videos in right sidebar */
#right-sidebar .rm-iframe__spacing-wrapper {
visibility: hidden;
max-height: 10px;
}
#right-sidebar .rm-iframe__spacing-wrapper:before {
visibility: visible;
content: "<--- Click to see video";
font-style: italic;
}
/* Twitter embeds only on hover */
.twitter-tweet iframe {
margin-top: -14px;
display:none !important;
}
.twitter-tweet iframe:hover {
display:flex !important;
z-index: 1;
}
.twitter-tweet {
margin: 0px !important;
}
sub + button:hover + div > div.twitter-tweet > iframe {
display:flex !important;
}
/* Hide calendar button on top right */
.rm-topbar .bp3-button:has(.bp3-icon-calendar) {
display: none;
}