2023-10-04 11:47:02 +00:00
|
|
|
/* Reset SB styles */
|
2023-11-12 10:50:49 +00:00
|
|
|
|
2023-10-04 11:47:02 +00:00
|
|
|
body {
|
2023-11-12 10:50:49 +00:00
|
|
|
font-family: var(--editor-font);
|
|
|
|
color: var(--root-color);
|
2023-10-04 11:47:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#sb-main {
|
|
|
|
height: initial !important;
|
|
|
|
display: initial !important;
|
|
|
|
}
|
|
|
|
|
2023-10-29 11:26:57 +00:00
|
|
|
#sb-root {
|
|
|
|
display: block !important;
|
|
|
|
width: initial !important;
|
|
|
|
height: initial !important;
|
|
|
|
}
|
|
|
|
|
2023-10-04 11:47:02 +00:00
|
|
|
#sb-editor {
|
|
|
|
flex: initial !important;
|
|
|
|
height: initial !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-editor {
|
|
|
|
height: initial !important;
|
|
|
|
}
|
|
|
|
|
2023-10-29 11:10:30 +00:00
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2023-10-03 12:16:33 +00:00
|
|
|
}
|
|
|
|
|
2023-10-29 11:10:30 +00:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul li::before {
|
|
|
|
content: "\2022";
|
|
|
|
/* Add content: \2022 is the CSS Code/unicode for a bullet */
|
|
|
|
color: var(--editor-list-bullet-color);
|
|
|
|
display: inline-block;
|
|
|
|
/* Needed to add space between the bullet and the text */
|
|
|
|
width: 1em;
|
|
|
|
/* Also needed for space (tweak if needed) */
|
|
|
|
margin-left: -1em;
|
|
|
|
/* Also needed for space (tweak if needed) */
|
|
|
|
}
|
|
|
|
|
2023-11-12 11:08:09 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.wiki-link {
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 0 5px;
|
|
|
|
color: var(--editor-wiki-link-page-color);
|
|
|
|
background-color: var(--editor-wiki-link-page-background-color);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.task-deadline {
|
|
|
|
background-color: rgba(22, 22, 22, 0.07);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-10-29 11:10:30 +00:00
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
body:hover #button-bar,
|
|
|
|
body:active #button-bar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#button-bar {
|
|
|
|
position: absolute;
|
2023-10-16 09:23:46 +00:00
|
|
|
right: 6px;
|
|
|
|
top: 6px;
|
2023-10-03 12:16:33 +00:00
|
|
|
display: none;
|
2023-10-16 09:23:46 +00:00
|
|
|
background: var(--editor-directive-background-color);
|
|
|
|
padding-inline: 3px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-editor {
|
2023-10-29 09:14:18 +00:00
|
|
|
padding-left: 10px;
|
2023-10-03 12:16:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#button-bar button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--root-color);
|
|
|
|
}
|
|
|
|
|
2023-10-29 09:14:18 +00:00
|
|
|
#edit-button,
|
2023-11-03 11:01:33 +00:00
|
|
|
#reload-button {
|
2023-10-03 12:16:33 +00:00
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li code {
|
|
|
|
font-size: 80%;
|
|
|
|
color: #a5a4a4;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
2023-10-29 09:14:18 +00:00
|
|
|
}
|