mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
128 lines
2.7 KiB
CSS
128 lines
2.7 KiB
CSS
.App {
|
|
font-family: sans-serif;
|
|
text-align: center;
|
|
}
|
|
|
|
.excalidraw-wrapper {
|
|
height: 100%;
|
|
margin: 0px;
|
|
background-color: white;
|
|
}
|
|
|
|
.context-menu-option__shortcut {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.block-language-excalidraw {
|
|
text-align:center;
|
|
}
|
|
|
|
.excalidraw .github-corner {
|
|
display: none;
|
|
}
|
|
|
|
img.excalidraw-svg-right-wrap {
|
|
float: right;
|
|
margin: 0px 0px 20px 20px;
|
|
}
|
|
|
|
img.excalidraw-svg-left-wrap {
|
|
float: left;
|
|
margin: 0px 35px 20px 0px;
|
|
}
|
|
|
|
img.excalidraw-svg-right {
|
|
float: right;
|
|
}
|
|
|
|
img.excalidraw-svg-left {
|
|
float: left;
|
|
}
|
|
|
|
div.excalidraw-svg-right,
|
|
div.excalidraw-svg-left {
|
|
display: table;
|
|
width: 100%;
|
|
}
|
|
|
|
button.ToolIcon_type_button[title="Export"] {
|
|
display:none;
|
|
}
|
|
|
|
.excalidraw-prompt-div {
|
|
display: flex;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.excalidraw-prompt-form {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.excalidraw-prompt-input {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
li[data-testid] {
|
|
border: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.excalidraw .context-menu-option-separator {
|
|
margin: 4px !important;
|
|
}
|
|
|
|
.excalidraw .popover {
|
|
padding: 0 !important;
|
|
border-color: transparent !important;
|
|
border: 0 !important;
|
|
box-shadow: 0 !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.disable-zen-mode--visible {
|
|
color: var(--text-primary-color);
|
|
}
|
|
|
|
.disable-zen-mode {
|
|
width: 9em !important;
|
|
}
|
|
|
|
.ex-coffee-div {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
/*hide text elements in markdown preview*/
|
|
.markdown-preview-view.excalidraw-hide-preview-text {
|
|
font-size: 0px;
|
|
}
|
|
|
|
.markdown-preview-view mark,
|
|
.markdown-preview-view.excalidraw-hide-preview-text span:not(.image-embed),
|
|
.markdown-preview-view.excalidraw-hide-preview-text ol,
|
|
.markdown-preview-view.excalidraw-hide-preview-text li,
|
|
.markdown-preview-view.excalidraw-hide-preview-text table,
|
|
.markdown-preview-view.excalidraw-hide-preview-text pre,
|
|
.markdown-preview-view.excalidraw-hide-preview-text hr,
|
|
.markdown-preview-view.excalidraw-hide-preview-text a,
|
|
.markdown-preview-view.excalidraw-hide-preview-text h1,
|
|
.markdown-preview-view.excalidraw-hide-preview-text h2,
|
|
.markdown-preview-view.excalidraw-hide-preview-text h3,
|
|
.markdown-preview-view.excalidraw-hide-preview-text h4,
|
|
.markdown-preview-view.excalidraw-hide-preview-text h5 {
|
|
display: none;
|
|
}
|
|
|
|
.markdown-preview-view.excalidraw-hide-preview-text p:first-child {
|
|
margin-top:0px !important;
|
|
}
|
|
|
|
.markdown-preview-view.excalidraw-hide-preview-text div.markdown-preview-sizer.markdown-preview-section {
|
|
padding-bottom:0px !important;
|
|
min-height: 0px !important;
|
|
}
|