2023-10-04 11:47:02 +00:00
|
|
|
/* Reset SB styles */
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: initial !important;
|
|
|
|
overflow: initial !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sb-main {
|
|
|
|
height: initial !important;
|
|
|
|
display: initial !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sb-editor {
|
|
|
|
flex: initial !important;
|
|
|
|
height: initial !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-editor {
|
|
|
|
height: initial !important;
|
|
|
|
}
|
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
body {
|
|
|
|
font-family: var(--editor-font);
|
|
|
|
background-color: var(--root-background-color);
|
|
|
|
color: var(--root-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
ul li p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
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,
|
|
|
|
#source-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
|
|
|
}
|