1
0
silverbullet/plugs/markdown/assets/markdown_widget.css

112 lines
1.8 KiB
CSS
Raw Normal View History

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-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
body:hover #button-bar,
body:active #button-bar {
display: block;
}
#button-bar {
position: absolute;
right: 6px;
top: 6px;
display: none;
background: var(--editor-directive-background-color);
padding-inline: 3px;
padding-bottom: 1px;
border-radius: 5px;
}
.cm-editor {
padding-left: 10px;
}
#button-bar button {
border: none;
background: none;
cursor: pointer;
color: var(--root-color);
}
#edit-button,
2023-11-03 11:01:33 +00:00
#reload-button {
margin-left: -10px;
}
li code {
font-size: 80%;
color: #a5a4a4;
}
iframe {
border: none;
width: 100%;
}