/* ---------------------------------------------------------------------------
Minimal Obsidian 5.3.2 by @kepano
Important: this is an archived copy of Minimal
only for use with Obsidian 0.15.x and below.
For Obsidian 0.16+ use Minimal 6.0+
---------------------------------------------------------------------------
User interface replacement for Obsidian.
Designed to be used with the Minimal Theme Settings
plugin and the Hider plugin.
Sponsor my work:
https://www.buymeacoffee.com/kepano
Readme:
https://github.com/kepano/obsidian-minimal
-----------------------------------------------------------------------------
MIT License
Copyright (c) 2020-2022 Stephan Ango (@kepano)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
@charset "UTF-8";
/* Variables */
body {
--font-text-theme:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Ubuntu,sans-serif;
--font-editor-theme:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Ubuntu,sans-serif;
--font-monospace-theme:Menlo,SFMono-Regular,Consolas,"Roboto Mono",monospace;
--font-interface-theme:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Ubuntu,sans-serif;
--font-editor:var(--font-editor-override), var(--font-text-override), var(--font-editor-theme);
--minimal-version:"You are currently using Minimal 5.3.2\a\aIf you run into any issues, try updating to the latest version of the theme. It is also highly recommended to install Minimal Theme Settings and Contextual Typography plugins.\a\a Full documentation:\a minimal.guide\a\a Support my work:\a buymeacoffee.com/kepano"; }
:root {
/* Cursor */
--cursor:default;
/* Font sizes */
--font-small:13px;
--font-smaller:11px;
--font-smallest:10px;
--font-inputs:13px;
--font-settings:15px;
--font-settings-small:12px;
/* Font weights */
--normal-weight:400;
--bold-weight:600;
--link-weight:inherit;
/* Headings */
--title-size:1.1em;
--title-weight:600;
/* Headings */
--h1:1.125em;
--h2:1.05em;
--h3:1em;
--h4:0.90em;
--h5:0.85em;
--h6:0.85em;
--h1-weight:600;
--h2-weight:600;
--h3-weight:500;
--h4-weight:500;
--h5-weight:500;
--h6-weight:400;
--h1-variant:normal;
--h2-variant:normal;
--h3-variant:normal;
--h4-variant:small-caps;
--h5-variant:small-caps;
--h6-variant:small-caps;
--h1-style:normal;
--h2-style:normal;
--h3-style:normal;
--h4-style:normal;
--h5-style:normal;
--h6-style:normal;
/* Blockquotes */
--blockquote-style:normal;
/* Line widths */
--line-width:40rem;
--line-height:1.5;
--max-width:88%;
--max-col-width:18em;
/* Icons */
--icon-muted:0.5;
--icon-size:18px;
--border-width:1px;
--border-width-alt:1px;
/* Quotes and transclusions */
--nested-padding:1.1em;
/* Lists */
--folding-offset:10px;
--list-edit-offset:0.5em;
--list-indent:2em;
--list-spacing:0.075em;
/* Radiuses */
--radius-s:2px;
--radius-m:5px;
--radius-l:12px;
--radius-xl:16px;
--input-height:32px;
--header-height:40px;
/* Mobile sidebars */
--mobile-left-sidebar-width:280pt;
--mobile-right-sidebar-width:240pt;
/* Tags */
--tag-radius:14px;
--tag-border-width:1px;
--top-left-padding-y:0px;
/* Image opacity in dark mode */
--image-muted:0.7;
/* Spacing */
--spacing-p: 0.75em; }
.mod-macos {
--top-left-padding-y:24px; }
/* Dynamic colors
Most colors are driven from the following values, meaning that
the backgrounds, borders, and various shades are
automatically generated.
- Base color is used for the backgrounds, text and borders.
- Accent color is used for links and some interactive elements.
The colors use HSL (hue, saturation, lightness)
- Hue (0-360 degrees):0 is red, 120 is green, and 240 is blue
- Saturation (0-100%):0% is desaturated, 100% is full saturation
- Lightness (0-100%):0% is black, 100% is white
*/
:root {
--base-h:0;
/* Base hue */
--base-s:0%;
/* Base saturation */
--base-d:15%;
/* Base lightness Dark Mode - 0 is black */
--base-l:96%;
/* Base lightness Light Mode - 100 is white */
--accent-h:201;
/* Accent hue */
--accent-s:17%;
/* Accent saturation */
--accent-d:60%;
/* Accent lightness Dark Mode */
--accent-l:50%;
/* Accent lightness Light Mode */
--red:#d04255;
--yellow:#e5b567;
--green:#a8c373;
--orange:#d5763f;
--cyan:#73bbb2;
--blue:#6c99bb;
--purple:#9e86c8;
--pink:#b05279; }
.theme-light,
.theme-light.minimal-default-light,
body .excalidraw {
--accent-l:50%;
--base-l:96%;
--bg1:white;
--bg2:
hsl(
var(--base-h),
var(--base-s),
var(--base-l)
);
--bg3:
hsla(
var(--base-h),
var(--base-s),
calc(var(--base-l) - 50%),
0.12
);
--ui1:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) - 6%)
);
--ui2:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) - 12%)
);
--ui3:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) - 20%)
);
--tx1:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) - 90%)
);
--tx2:
hsl(
var(--base-h),
calc(var(--base-s) - 20%),
calc(var(--base-l) - 45%)
);
--tx3:
hsl(
var(--base-h),
calc(var(--base-s) - 10%),
calc(var(--base-l) - 25%)
);
--tx4:
hsl(
var(--base-h),
calc(var(--base-s) - 10%),
calc(var(--base-l) - 60%)
);
--ax1:
hsl(
var(--accent-h),
var(--accent-s),
var(--accent-l)
);
--ax2:
hsl(
var(--accent-h),
var(--accent-s),
calc(var(--accent-l) - 10%)
);
--ax3:
hsl(
var(--accent-h),
var(--accent-s),
calc(var(--accent-l) + 10%)
);
--hl1:
hsla(
var(--accent-h),
50%,
calc(var(--base-l) - 20%),
30%
);
--hl2:rgba(255, 225, 0, 0.5); }
.theme-light.minimal-light-contrast .titlebar,
.theme-light.minimal-light-contrast .workspace-fake-target-overlay.is-in-sidebar,
.theme-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),
.theme-light.minimal-light-contrast .mod-left-split,
.theme-light.minimal-light-contrast.minimal-status-off .status-bar,
.theme-light.minimal-light-contrast.is-mobile .workspace-drawer.mod-left,
.theme-dark,
.theme-dark.minimal-default-dark,
.excalidraw.theme--dark {
--accent-l:60%;
--base-l:15%;
--bg1:
hsl(
var(--base-h),
var(--base-s),
var(--base-l)
);
--bg2:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) - 2%)
);
--bg3:
hsla(
var(--base-h),
var(--base-s),
calc(var(--base-l) + 40%),
0.12
);
--ui1:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) + 6%)
);
--ui2:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) + 12%)
);
--ui3:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-l) + 20%)
);
--tx1:
hsl(
var(--base-h),
calc(var(--base-s) - 10%),
calc(var(--base-l) + 67%)
);
--tx2:
hsl(
var(--base-h),
calc(var(--base-s) - 20%),
calc(var(--base-l) + 45%)
);
--tx3:
hsl(
var(--base-h),
calc(var(--base-s) - 10%),
calc(var(--base-l) + 20%)
);
--tx4:
hsl(
var(--base-h),
calc(var(--base-s) - 10%),
calc(var(--base-l) + 50%)
);
--ax1:
hsl(
var(--accent-h),
var(--accent-s),
var(--accent-l)
);
--ax2:
hsl(
var(--accent-h),
var(--accent-s),
calc(var(--accent-l) + 12%)
);
--ax3:
hsl(
var(--accent-h),
var(--accent-s),
calc(var(--accent-l) - 12%)
);
--hl1:
hsla(
var(--accent-h),
70%,
40%,
30%
);
--hl2:rgba(255, 177, 80, 0.3);
--sp1:#fff; }
.theme-light.minimal-light-white {
--background-primary: white;
--background-secondary: white;
--background-secondary-alt: white; }
.theme-dark.minimal-dark-black {
--base-d:0%;
--background-primary: black;
--background-secondary: black;
--background-secondary-alt: black;
--background-tertiary:
hsl(
var(--base-h),
var(--base-s),
calc(var(--base-d) + 10%)) ;
--tx1:hsl(
var(--base-h),
var(--base-s),
calc(var(--base-d) + 75%)
);
--tx2:hsl(
var(--base-h),
var(--base-s),
calc(var(--base-d) + 50%)
);
--tx3:hsl(
var(--base-h),
var(--base-s),
calc(var(--base-d) + 25%)
);
--ui1:hsl(
var(--base-h),
var(--base-s),
calc(var(--base-d) + 12%)
);
--ui2:hsl(
var(--base-h),
var(--base-s),
calc(var(--base-d) + 20%)
);
--ui3:hsl(
var(--base-h),
var(--base-s),
calc(var(--base-d) + 30%)
); }
/* Map colors to semantic Obsidian names */
.theme-light {
--mono100:black;
--mono0:white; }
.theme-dark {
--mono100:white;
--mono0:black; }
.theme-light,
.theme-dark {
--h1-color:var(--text-normal);
--h2-color:var(--text-normal);
--h3-color:var(--text-normal);
--h4-color:var(--text-normal);
--h5-color:var(--text-normal);
--h6-color:var(--text-muted); }
.theme-light.minimal-light-contrast .workspace-fake-target-overlay.is-in-sidebar,
.theme-light.minimal-light-contrast .titlebar,
.theme-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),
.theme-light.minimal-light-contrast .mod-left-split,
.theme-light.minimal-light-contrast.minimal-status-off .status-bar,
.theme-light.minimal-light-contrast.is-mobile .workspace-drawer.mod-left,
.theme-dark,
.theme-light,
.excalidraw.theme--dark,
body .excalidraw {
--text-normal: var(--tx1);
--text-bold: var(--tx1);
--text-italic: var(--tx1);
--text-muted: var(--tx2);
--text-faint: var(--tx3);
--title-color: var(--tx1);
--title-color-inactive: var(--tx2);
--text-code: var(--tx4);
--text-error: var(--red);
--text-blockquote: var(--tx2);
--text-accent: var(--ax1);
--text-accent-hover: var(--ax2);
--text-on-accent: white;
--text-selection: var(--hl1);
--text-highlight-bg: var(--hl2);
--background-primary: var(--bg1);
--background-primary-alt: var(--bg2);
--background-secondary: var(--bg2);
--background-secondary-alt: var(--bg1);
--background-tertiary: var(--bg3);
--background-table-rows: var(--bg2);
--background-modifier-form-field: var(--bg1);
--background-modifier-form-field-highlighted:
var(--bg1);
--interactive-hover: var(--ui1);
--interactive-accent: var(--ax3);
--interactive-accent-hover: var(--ax3);
--background-modifier-accent: var(--ax3);
--background-modifier-border: var(--ui1);
--background-modifier-border-hover: var(--ui2);
--background-modifier-border-focus: var(--ui3);
--background-modifier-success: var(--green);
--background-divider: var(--ui1);
--scrollbar-bg: transparent;
--scrollbar-thumb-bg: var(--ui1);
--scrollbar-active-thumb-bg: var(--ui3);
--quote-opening-modifier: var(--ui2);
--modal-border: var(--ui2);
--icon-color: var(--tx2);
--icon-color-hover: var(--tx2);
--icon-color-active: var(--tx1);
--icon-hex: var(--mono0);
--tag-color: var(--tx2);
--tag-bg: transparent;
--tag-bg2: transparent;
--shadow-m:
0px 2.7px 6.7px rgba(0, 0, 0, 0.04),
0px 8.9px 22.3px rgba(0, 0, 0, 0.06),
0px 40px 100px rgba(0, 0, 0, 0.1);
--shadow-l:
0px 0.8px 4.2px rgba(0, 0, 0, 0.014),
0px 2px 10px rgba(0, 0, 0, 0.02),
0px 3.8px 18.8px rgba(0, 0, 0, 0.025),
0px 6.7px 33.5px rgba(0, 0, 0, 0.03),
0px 12.5px 62.7px rgba(0, 0, 0, 0.036),
0px 30px 150px rgba(0, 0, 0, 0.05); }
.theme-light,
body .excalidraw {
--interactive-normal: var(--bg1);
--interactive-accent-rgb:220, 220, 220;
--active-line-bg:rgba(0,0,0,0.035);
--background-modifier-cover:hsla(var(--base-h),calc(var(--base-s) - 50%),calc(var(--base-l) - 7%),0.7);
--text-highlight-bg-active:rgba(0, 0, 0, 0.1);
/* Errors */
--background-modifier-error:rgba(255,0,0,0.14);
--background-modifier-error-hover:rgba(255,0,0,0.08);
/* Shadows */
--shadow-color:rgba(0, 0, 0, 0.1);
--btn-shadow-color:rgba(0, 0, 0, 0.05); }
.theme-dark,
.excalidraw.theme--dark {
--interactive-normal: var(--bg3);
--interactive-accent-rgb:66, 66, 66;
--active-line-bg:rgba(255,255,255,0.04);
--background-modifier-cover:hsla(var(--base-h),var(--base-s),calc(var(--base-d) - 12%),0.7);
--text-highlight-bg-active:rgba(255, 255, 255, 0.1);
/* Errors */
--background-modifier-error:rgba(255,20,20,0.12);
--background-modifier-error-hover:rgba(255,20,20,0.18);
/* Shadows */
--background-modifier-box-shadow:rgba(0, 0, 0, 0.3);
--shadow-color:rgba(0, 0, 0, 0.3);
--btn-shadow-color:rgba(0, 0, 0, 0.2); }
.theme-light.minimal-light-white {
--background-table-rows: var(--bg2); }
.theme-light.minimal-light-tonal {
--background-primary: var(--bg2);
--background-primary-alt: var(--bg3);
--background-table-rows: var(--bg3); }
.theme-dark.minimal-dark-tonal {
--background-secondary: var(--bg1);
--background-table-rows: var(--bg3); }
.theme-dark.minimal-dark-black {
--background-primary-alt: var(--bg3);
--background-table-rows: var(--bg3);
--modal-border: var(--ui2);
--active-line-bg:rgba(255,255,255,0.085);
--background-modifier-form-field: var(--bg3);
--background-modifier-cover:hsla(var(--base-h),var(--base-s),calc(var(--base-d) + 8%),0.9);
--background-modifier-box-shadow:rgba(0, 0, 0, 1); }
/* Desktop font sizes */
body {
--font-adaptive-normal:var(--font-text-size,var(--editor-font-size));
--font-adaptive-small:var(--font-small);
--font-adaptive-smaller:var(--font-smaller);
--font-adaptive-smallest:var(--font-smallest);
--line-width-adaptive:var(--line-width);
--line-width-wide:calc(var(--line-width) + 12.5%);
--font-code:calc(var(--font-adaptive-normal) * 0.9);
--table-font-size:calc(var(--font-adaptive-normal) * 0.875); }
/* Phone font sizes */
@media (max-width: 400pt) {
.is-mobile {
--font-adaptive-small:calc(var(--font-small) + 2px);
--font-adaptive-smaller:calc(var(--font-smaller) + 2px);
--font-adaptive-smallest:calc(var(--font-smallest) + 2px);
--max-width:88%; } }
/* Tablet font sizes */
@media (min-width: 400pt) {
.is-mobile {
--font-adaptive-small:calc(var(--font-small) + 3px);
--font-adaptive-smaller:calc(var(--font-smaller) + 2px);
--font-adaptive-smallest:calc(var(--font-smallest) + 2px);
--line-width-adaptive:calc(var(--line-width) + 6rem);
--max-width:90%; } }
/* Disabled features */
/* Disabled features */
/* Search counts */
.tree-item-flair:not(.tag-pane-tag-count) {
display: none; }
/* Folder name */
.tree-item-inner-subtext {
display: none; }
/* Obsidian */
/* Block width snippet */
.minimal-dev-block-width {
/* Green — Folding offset width */
/* Red — Max width */
/* Orange — Wide line width*/
/* Blue — Normal line width */ }
.minimal-dev-block-width .mod-root .workspace-leaf-content:after {
display: flex;
align-items: flex-end;
content: "\00a0pane\00a0";
font-size: 12px;
color: gray;
font-family: var(--font-monospace);
width: 100%;
max-width: 100%;
height: 100vh;
top: 0;
z-index: 999;
position: fixed;
pointer-events: none; }
.minimal-dev-block-width.minimal-readable .mod-root .view-header:after {
display: flex;
align-items: flex-end;
color: green;
font-size: 12px;
font-family: var(--font-monospace);
content: " ";
width: var(--folding-offset);
height: 100vh;
border-left: 1px solid green;
border-right: 1px solid green;
background-color: rgba(0, 128, 0, 0.1);
top: 0;
left: max(calc(50% - var(--line-width-adaptive)/2 - 1px), calc(50% - var(--max-width)/2 - 1px));
z-index: 999;
position: fixed;
pointer-events: none; }
.minimal-dev-block-width.minimal-readable-off .mod-root .view-header:after {
display: flex;
align-items: flex-end;
color: green;
font-size: 12px;
font-family: var(--font-monospace);
content: " ";
width: var(--folding-offset);
height: 100vh;
border-left: 1px solid green;
border-right: 1px solid green;
background-color: rgba(0, 128, 0, 0.1);
top: 0;
left: calc(50% - var(--max-width)/2 - 1px);
z-index: 999;
position: fixed;
pointer-events: none; }
.minimal-dev-block-width .mod-root .view-content:before {
display: flex;
align-items: flex-end;
content: "\00a0max\00a0";
font-size: 12px;
color: red;
width: var(--max-width);
height: 100vh;
border-left: 1px solid red;
border-right: 1px solid red;
top: 0;
left: 50%;
transform: translate(-50%, 0);
z-index: 999;
position: fixed;
pointer-events: none; }
.minimal-dev-block-width.minimal-readable .mod-root .view-header:before {
display: flex;
align-items: flex-end;
content: "\00a0wide\00a0";
font-size: 12px;
color: orange;
font-family: var(--font-monospace);
width: var(--line-width-wide);
max-width: var(--max-width);
height: 100vh;
border-left: 1px solid orange;
border-right: 1px solid orange;
background-color: rgba(255, 165, 0, 0.05);
top: 0;
left: 50%;
transform: translate(-50%, 0);
z-index: 999;
position: fixed;
pointer-events: none; }
.minimal-dev-block-width.minimal-readable .mod-root .view-content:after {
display: flex;
align-items: flex-end;
color: blue;
font-size: 12px;
font-family: var(--font-monospace);
content: "\00a0normal";
width: var(--line-width-adaptive);
max-width: var(--max-width);
height: 100vh;
border-left: 1px solid blue;
border-right: 1px solid blue;
background-color: rgba(0, 0, 255, 0.08);
top: 0;
left: 50%;
transform: translate(-50%, 0);
z-index: 999;
position: fixed;
pointer-events: none; }
/* Obsidian */
/* Blockquotes */
/* Preview */
.markdown-preview-view blockquote {
border-radius: 0;
border: solid var(--quote-opening-modifier);
border-width: 0px 0px 0px 1px;
background-color: transparent;
padding: 0 0 0 var(--nested-padding);
margin-inline-start: 0;
margin-inline-end: 0;
font-size: var(--blockquote-size);
font-style: var(--blockquote-style);
color: var(--text-blockquote); }
.cm-s-obsidian span.cm-quote,
.markdown-preview-view blockquote em,
.markdown-preview-view blockquote strong {
color: var(--text-blockquote); }
/* Editor */
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote,
.markdown-source-view.mod-cm6 .HyperMD-quote {
background-color: transparent;
color: var(--text-blockquote);
font-size: var(--blockquote-size);
font-style: var(--blockquote-style);
border-left: 1px solid var(--quote-opening-modifier); }
.markdown-source-view.mod-cm6 .cm-blockquote-border {
width: 20px;
display: inline-block;
border-left: none;
border-right: 1px solid var(--quote-opening-modifier); }
.markdown-source-view.mod-cm6 .cm-hmd-indent-in-quote {
margin-left: 10px; }
.is-live-preview .cm-hmd-indent-in-quote {
color: var(--text-faint); }
/* Callouts */
.is-live-preview.is-readable-line-width > .cm-callout .callout {
max-width: var(--max-width);
margin: 0 auto; }
/* Checklists, task lists, checkboxes */
:root {
--checkbox-size:17px;
--checkbox-icon:20px;
--checkbox-radius:50%;
--checkbox-top:2px;
--checkbox-left:0px;
--checkbox-margin:0px 6px 0px -1.35em; }
.checkbox-square {
--checkbox-size:15px;
--checkbox-icon:17px;
--checkbox-radius:4px;
--checkbox-top:1px;
--checkbox-left:0px;
--checkbox-margin:0px 8px 0px -1.35em; }
input[type=checkbox] {
-webkit-appearance: none;
appearance: none;
border-radius: var(--checkbox-radius);
border: 1px solid var(--text-faint);
padding: 0;
margin: 0 6px 0 0;
width: var(--checkbox-size);
height: var(--checkbox-size); }
input[type=checkbox]:hover,
input[type=checkbox]:focus {
outline: 0;
border-color: var(--text-muted); }
.checklist-plugin-main .group .compact > .toggle .checked,
.is-flashing input[type=checkbox]:checked,
input[type=checkbox]:checked {
background-color: var(--background-modifier-accent);
border: 1px solid var(--background-modifier-accent);
background-position: 44% 55%;
background-size: 70%;
background-repeat: no-repeat;
background-image: url('data:image/svg+xml; utf8, '); }
.markdown-preview-section > .contains-task-list {
padding-bottom: 0.5em; }
body .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task]:not([data-task=" "]),
body .markdown-preview-view ul > li.task-list-item.is-checked {
text-decoration: none;
color: var(--text-normal); }
body.minimal-strike-lists .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task]:is([data-task="x"]),
body.minimal-strike-lists .markdown-preview-view ul li[data-task="x"].task-list-item.is-checked,
body.minimal-strike-lists li[data-task="x"].task-list-item.is-checked {
color: var(--text-faint);
text-decoration: line-through; }
/* Preview offset */
ul > li.task-list-item .task-list-item-checkbox {
margin-left: -1.35em; }
/* Editor */
.mod-cm6 .HyperMD-task-line[data-task] .task-list-item-checkbox {
margin: -2px 1px 0 -0.6em; }
.is-mobile .mod-cm6 .HyperMD-task-line[data-task] .task-list-item-checkbox {
margin-left: -0.4em; }
.is-mobile .markdown-preview-view input[type=checkbox].task-list-item-checkbox {
top: 0.2em; }
.task-list-item-checkbox,
.markdown-preview-view .task-list-item-checkbox {
filter: none;
width: var(--checkbox-size);
height: var(--checkbox-size); }
.markdown-preview-view .task-list-item-checkbox {
position: relative;
top: var(--checkbox-top);
left: var(--checkbox-left);
line-height: 0;
margin: var(--checkbox-margin); }
.markdown-preview-view ul > li.task-list-item {
text-indent: 0;
line-height: var(--line-height); }
.markdown-preview-view .task-list-item {
padding-inline-start: 0; }
.side-dock-plugin-panel-inner {
padding-right: 6px;
padding-left: 6px; }
/* Code blocks */
/* Live Preview */
.markdown-source-view.mod-cm6.is-readable-line-width .cm-editor .HyperMD-codeblock.cm-line,
.mod-cm6 .cm-editor .HyperMD-codeblock.cm-line {
padding-left: 10px;
padding-right: 10px; }
/* Reading */
.cm-s-obsidian span.cm-inline-code,
.markdown-rendered code,
.markdown-preview-view code {
color: var(--text-code);
font-size: var(--font-code); }
.markdown-preview-view td code,
.markdown-source-view.mod-cm6 td code {
font-size: calc(var(--font-code) - 2px); }
.markdown-preview-view pre code {
background-color: transparent; }
.markdown-preview-view pre,
.markdown-source-view.mod-cm6 .cm-preview-code-block pre.dataview-error,
.mod-cm6 .cm-editor .HyperMD-codeblock.cm-line,
.cm-s-obsidian .HyperMD-codeblock {
color: var(--text-code);
font-size: var(--font-code); }
button.copy-code-button {
cursor: var(--cursor);
box-shadow: none;
font-size: var(--font-adaptive-smaller);
background-color: transparent;
color: var(--text-faint);
padding: 0.25em 0.75em; }
button.copy-code-button:hover {
background-color: var(--interactive-normal);
color: var(--text-muted); }
.theme-light :not(pre) > code[class*="language-"],
.theme-light pre[class*="language-"] {
background-color: var(--background-primary-alt); }
.theme-light code[class*="language-"],
.theme-light pre[class*="language-"] {
text-shadow: none; }
.markdown-source-view.mod-cm6 .code-block-flair {
font-size: var(--font-smaller);
padding: 5px 0;
color: var(--text-muted); }
.cm-s-obsidian .hmd-fold-html-stub,
.cm-s-obsidian .hmd-fold-code-stub,
.cm-s-obsidian.CodeMirror .HyperMD-hover > .HyperMD-hover-content code,
.cm-s-obsidian .cm-formatting-hashtag,
.cm-s-obsidian .cm-inline-code,
.cm-s-obsidian .HyperMD-codeblock,
.cm-s-obsidian .HyperMD-hr,
.cm-s-obsidian .cm-hmd-frontmatter,
.cm-s-obsidian .cm-hmd-orgmode-markup,
.cm-s-obsidian .cm-formatting-code,
.cm-s-obsidian .cm-math,
.cm-s-obsidian span.hmd-fold-math-placeholder,
.cm-s-obsidian .CodeMirror-linewidget kbd,
.cm-s-obsidian .hmd-fold-html kbd
.CodeMirror-code {
font-family: var(--font-monospace); }
/* Drag ghost */
body.is-dragging {
cursor: grabbing;
cursor: -webkit-grabbing; }
.workspace-drop-overlay:before,
.mod-drag {
opacity: 0;
border-radius: 0 !important; }
.drag-ghost,
.drag-ghost.mod-leaf {
border: none;
background-color: rgba(0, 0, 0, 0.7);
font-size: var(--font-adaptive-small);
padding: 3px 8px 4px;
color: white;
font-weight: 500;
border-radius: 5px; }
.drag-ghost-icon {
display: none; }
.drag-ghost-self svg {
margin-right: 4px;
opacity: 0.5;
display: none; }
.drag-ghost-action {
padding: 0;
font-weight: 400;
color: rgba(255, 255, 255, 0.7);
font-size: var(--font-adaptive-smaller); }
.mod-drag {
opacity: 0;
border: 2px solid var(--text-accent);
background-color: var(--background-primary); }
.view-header.is-highlighted:after {
background-color: var(--text-selection); }
.view-header.is-highlighted .view-actions {
background: transparent; }
/*
.workspace-fake-target-overlay,
.workspace-fake-target-overlay.is-in-sidebar,
.workspace-drop-overlay,
.view-header.is-highlighted:after {
opacity:0;
background-color:var(--background-primary);
}
*/
/* Editor mode (CodeMirror 6 Live Preview) */
/* Fix strange Obsidian ghost textearea bug on right click */
.CodeMirror-wrap > div > textarea {
opacity: 0; }
.markdown-source-view.mod-cm6 hr {
border-width: 2px; }
.mod-cm6 .cm-editor .cm-line {
padding: 0; }
.cm-editor .cm-content {
padding-top: 0.5em; }
.markdown-source-view {
color: var(--text-normal); }
.markdown-source-view.mod-cm6 .cm-scroller {
padding-top: 15px;
padding-left: 0;
padding-right: 0; }
/* Gutters */
body:not(.is-mobile) .markdown-source-view.mod-cm6 .cm-gutters {
position: absolute !important;
z-index: 0; }
.cm-editor .cm-lineNumbers .cm-gutterElement {
min-width: 25px; }
/* Line numbers */
@media (max-width: 400pt) {
.cm-editor .cm-lineNumbers .cm-gutterElement {
padding-right: 4px;
padding-left: 8px; } }
.cm-editor .cm-lineNumbers .cm-gutterElement {
font-variant-numeric: tabular-nums; }
.cm-editor .cm-lineNumbers .cm-gutterElement.cm-active,
.cm-editor .cm-gutterElement.cm-active .cm-heading-marker {
color: var(--text-muted); }
/* Code execution blocks, e.g. Dataview */
.markdown-source-view.mod-cm6 .edit-block-button {
cursor: var(--cursor);
color: var(--text-faint);
background-color: var(--background-primary);
top: 0;
right: auto;
left: 0px;
opacity: 0;
transition: opacity 200ms;
padding: 4px 4px 4px 9px; }
.markdown-source-view.mod-cm6 .edit-block-button svg {
margin: 0 !important; }
.markdown-source-view.mod-cm6.is-live-preview.is-readable-line-width .cm-embed-block > .edit-block-button {
width: 30px !important;
padding-left: 7px !important;
transform: none !important;
margin-left: 0 !important; }
.is-live-preview:not(.is-readable-line-width) .cm-embed-block > .edit-block-button {
padding-left: 0px !important;
margin-left: 0 !important;
transform: none !important;
right: 0;
left: auto;
padding: 4px; }
.markdown-source-view.mod-cm6 .edit-block-button:hover {
background-color: var(--background-primary);
color: var(--text-muted); }
.markdown-source-view.mod-cm6 .edit-block-button svg {
opacity: 1;
width: var(--icon-size);
height: var(--icon-size); }
.markdown-source-view.mod-cm6 .edit-block-button:hover svg {
opacity: 1; }
.markdown-source-view.mod-cm6 .cm-embed-block {
padding: 0;
border: 0;
border-radius: 0; }
.markdown-source-view.mod-cm6 .cm-embed-block:hover {
border: 0; }
/* Live Preview folding */
.markdown-source-view.mod-cm6 .cm-foldPlaceholder {
color: var(--text-faint); }
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote {
background-color: transparent;
border-left-width: 1px; }
.cm-editor .cm-foldPlaceholder,
.markdown-source-view.mod-cm6 .cm-fold-indicator .collapse-indicator {
cursor: var(--cursor); }
.markdown-source-view.mod-cm6 .HyperMD-list-line.HyperMD-list-line-1 .cm-fold-indicator .collapse-indicator {
right: 8px; }
.markdown-source-view.mod-cm6 .HyperMD-list-line.HyperMD-task-line:not(.HyperMD-list-line-1) .cm-fold-indicator .collapse-indicator {
right: 8px;
width: auto; }
.markdown-source-view.mod-cm6 .HyperMD-list-line:not(.HyperMD-list-line-1) .cm-fold-indicator .collapse-indicator {
right: -8px;
top: 1px;
width: 26px; }
ul > li.is-collapsed::marker,
.markdown-source-view.mod-cm6 .is-collapsed ~ .cm-formatting-list .list-bullet:after {
color: var(--text-accent); }
.cm-gutterElement .collapse-indicator,
.markdown-source-view.mod-cm6 .cm-fold-indicator .collapse-indicator,
.markdown-source-view.mod-cm6 .fold-gutter {
opacity: 0; }
.cm-gutterElement:hover .collapse-indicator,
.cm-gutterElement .is-collapsed .collapse-indicator,
.markdown-source-view.mod-cm6 .cm-line:hover .cm-fold-indicator .collapse-indicator,
.markdown-source-view.mod-cm6 .cm-fold-indicator.is-collapsed .collapse-indicator,
.markdown-source-view.mod-cm6 .fold-gutter.is-collapsed,
.markdown-source-view.mod-cm6 .fold-gutter:hover,
.markdown-source-view.mod-cm6 .cm-fold-indicator.is-collapsed .collapse-indicator svg {
opacity: 1; }
/* Live Preview text selection */
.markdown-source-view.mod-cm6 .cm-line .cm-selection,
.markdown-source-view.mod-cm6 .cm-line .cm-inline-code .cm-selection {
background-color: var(--text-selection); }
.cm-selectionBackground {
background-color: transparent !important; }
body .markdown-source-view.mod-cm6.is-readable-line-width:not(.is-rtl) .cm-contentContainer {
max-width: 100%; }
body:not(.is-mobile).minimal-folding .markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer {
max-width: 100%; }
/* Editor mode (Legacy) */
.theme-light .token.operator,
.theme-light .token.entity,
.theme-light .token.url,
.theme-light .language-css .token.string,
.theme-light .style .token.string,
.theme-light .cm-operator,
.theme-light .cm-string,
.theme-light .cm-string-2,
.theme-light .cm-link {
background-color: transparent; }
.markdown-source-view.mod-cm6,
.markdown-source-view.mod-cm5,
.markdown-source-view {
padding: 0; }
.cm-s-obsidian .CodeMirror-code {
padding-right: 0; }
.CodeMirror-lines {
padding-bottom: 170px; }
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
padding-left: 0;
padding-right: 0; }
.cm-s-obsidian pre.HyperMD-list-line {
padding-top: 0; }
.workspace .markdown-preview-view {
padding: 0; }
.workspace .markdown-preview-view .markdown-embed {
margin: 0; }
.workspace .markdown-preview-view .markdown-embed-content {
max-height: none; }
.markdown-embed-title,
.internal-embed .markdown-preview-section {
max-width: 100%; }
.CodeMirror-linenumber {
font-size: var(--font-adaptive-small) !important;
font-feature-settings: 'tnum';
color: var(--text-faint);
padding-top: 3px; }
span.cm-image-marker,
.cm-s-obsidian span.cm-footref.cm-formatting.cm-formatting-link.cm-formatting-link-end,
.cm-s-obsidian .cm-formatting-link + span.cm-link.cm-formatting.cm-formatting-link-end,
.cm-s-obsidian .cm-active span.cm-link.cm-hmd-barelink.cm-formatting-link-start,
.cm-s-obsidian span.cm-link.cm-hmd-barelink.cm-formatting-link-start,
.cm-s-obsidian span.cm-formatting-link {
color: var(--text-faint); }
/* Editor Mode Footnotes */
.cm-s-obsidian span.cm-footref {
font-size: var(--font-adaptive-normal); }
.cm-s-obsidian pre.HyperMD-footnote {
font-size: var(--font-adaptive-small);
padding-left: 20px; }
/* Editor Mode Quotes */
.cm-formatting-quote {
color: var(--text-faint) !important; }
/* Transcluded notes and embeds */
/* Strict embeds (naked) */
.embed-strict .internal-embed .markdown-embed {
padding: 0;
border: none; }
.embed-strict .internal-embed .markdown-embed .markdown-embed-title {
display: none; }
.embed-strict .internal-embed:not([src*="#^"]) .markdown-embed-link {
width: 30px; }
.embed-strict.contextual-typography .internal-embed .markdown-preview-view .markdown-preview-sizer > div,
.contextual-typography .embed-strict .internal-embed .markdown-preview-view .markdown-preview-sizer > div {
margin: 0;
width: 100%; }
.markdown-embed .markdown-preview-view .markdown-preview-sizer {
padding-bottom: 0 !important; }
.markdown-preview-view.markdown-embed .markdown-preview-sizer,
.markdown-preview-view.is-readable-line-width .markdown-embed .markdown-preview-sizer {
max-width: 100%;
width: 100%;
min-height: 0 !important;
padding-bottom: 0 !important; }
.markdown-embed .markdown-preview-section div:last-child p,
.markdown-embed .markdown-preview-section div:last-child ul {
margin-block-end: 2px; }
.markdown-preview-view .markdown-embed {
margin-top: var(--nested-padding);
padding: 0 calc(var(--nested-padding) / 2) 0 var(--nested-padding); }
.markdown-embed-title {
line-height: 18px;
height: 24px; }
.internal-embed:not([src*="#^"]) .markdown-embed-link {
right: 0;
width: 100%; }
.markdown-embed-link,
.file-embed-link {
top: 0px;
right: 0;
text-align: right; }
.file-embed-link svg,
.markdown-embed-link svg {
width: 16px;
height: 16px;
opacity: 0; }
.markdown-embed .file-embed-link:hover svg,
.markdown-embed .markdown-embed-link:hover svg {
opacity: 1; }
.markdown-embed-link:hover, .file-embed-link:hover {
color: var(--text-muted); }
.markdown-preview-view .markdown-embed-content > .markdown-preview-view {
max-height: none !important; }
.markdown-embed-content {
max-height: none !important; }
.markdown-embed .markdown-preview-view {
padding: 0; }
.internal-embed .markdown-embed {
border: 0;
border-left: 1px solid var(--quote-opening-modifier);
border-radius: 0; }
/* Headings and fonts */
h1, h2, h3, h4, h5, strong {
font-weight: var(--bold-weight); }
h1, h2, h3, h4 {
letter-spacing: -0.02em; }
body, input, button {
font-family: var(--font-interface); }
.cm-s-obsidian span.cm-error {
color: var(--red); }
.markdown-preview-view,
.popover,
.workspace-leaf-content[data-type=markdown] {
font-family: var(--font-text); }
body, input, button,
.markdown-preview-view,
.markdown-source-view.mod-cm6.is-live-preview .cm-scroller,
.cm-s-obsidian,
.cm-s-obsidian .cm-formatting-hashtag {
font-size: var(--font-adaptive-normal);
font-weight: var(--normal-weight);
line-height: var(--line-height);
-webkit-font-smoothing: subpixel-antialiased; }
.markdown-source-view.mod-cm6 .cm-scroller,
.markdown-source-view,
.cm-s-obsidian .cm-formatting-hashtag,
.cm-s-obsidian,
.cm-s-obsidian span.cm-formatting-task {
line-height: var(--line-height);
font-family: var(--font-editor);
-webkit-font-smoothing: subpixel-antialiased; }
/* Use reading font in live preview */
.lp-reading-font .markdown-source-view.mod-cm6.is-live-preview .cm-scroller {
font-family: var(--font-text); }
.cm-s-obsidian span.cm-formatting-task {
font-family: var(--font-editor);
line-height: var(--line-height); }
.cm-s-obsidian .cm-header,
.cm-s-obsidian .cm-strong {
font-weight: var(--bold-weight); }
strong,
.cm-s-obsidian .cm-strong {
color: var(--text-bold); }
em,
.cm-s-obsidian .cm-em {
color: var(--text-italic); }
.cm-formatting-header,
.cm-s-obsidian .cm-formatting-header.cm-header-1,
.cm-s-obsidian .cm-formatting-header.cm-header-2,
.cm-s-obsidian .cm-formatting-header.cm-header-3,
.cm-s-obsidian .cm-formatting-header.cm-header-4,
.cm-s-obsidian .cm-formatting-header.cm-header-5,
.cm-s-obsidian .cm-formatting-header.cm-header-6 {
color: var(--text-faint); }
.view-header-title,
.file-embed-title,
.markdown-embed-title {
letter-spacing: -0.02em;
text-align: left;
font-size: var(--title-size);
font-weight: var(--title-weight); }
.view-header-title {
color: var(--title-color-inactive); }
.file-embed-title,
.markdown-embed-title,
.workspace-leaf.mod-active .view-header-title {
color: var(--title-color); }
.cm-s-obsidian .HyperMD-header {
line-height: 1.3; }
.mod-cm6 .cm-editor .HyperMD-header-1,
.mod-cm6 .cm-editor .HyperMD-header-2,
.mod-cm6 .cm-editor .HyperMD-header-3,
.mod-cm6 .cm-editor .HyperMD-header-4,
.mod-cm6 .cm-editor .HyperMD-header-5,
.mod-cm6 .cm-editor .HyperMD-header-6 {
padding-top: 0.5em; }
h1,
.empty-state-title,
.markdown-rendered h1,
.markdown-preview-view h1,
.cm-s-obsidian .cm-header-1 {
font-variant: var(--h1-variant);
letter-spacing: -0.02em;
line-height: 1.3;
font-family: var(--h1-font);
font-size: var(--h1);
color: var(--h1-color);
font-weight: var(--h1-weight);
font-style: var(--h1-style); }
h1 a,
.empty-state-title a,
.markdown-rendered h1 a,
.markdown-preview-view h1 a,
.cm-s-obsidian .cm-header-1 a {
font-weight: var(--h1-weight); }
.markdown-rendered h2,
.markdown-preview-view h2,
.cm-s-obsidian .cm-header-2 {
font-variant: var(--h2-variant);
letter-spacing: -0.01em;
line-height: 1.3;
font-family: var(--h2-font);
font-size: var(--h2);
color: var(--h2-color);
font-weight: var(--h2-weight);
font-style: var(--h2-style); }
.markdown-rendered h2 a,
.markdown-preview-view h2 a,
.cm-s-obsidian .cm-header-2 a {
font-weight: var(--h2-weight); }
.markdown-rendered h3,
.markdown-preview-view h3,
.cm-s-obsidian .cm-header-3 {
font-variant: var(--h3-variant);
letter-spacing: -0.01em;
line-height: 1.4;
font-family: var(--h3-font);
font-size: var(--h3);
color: var(--h3-color);
font-weight: var(--h3-weight);
font-style: var(--h3-style); }
.markdown-rendered h3 a,
.markdown-preview-view h3 a,
.cm-s-obsidian .cm-header-3 a {
font-weight: var(--h3-weight); }
.markdown-rendered h4,
.markdown-preview-view h4,
.cm-s-obsidian .cm-header-4 {
font-variant: var(--h4-variant);
letter-spacing: 0.02em;
font-family: var(--h4-font);
font-size: var(--h4);
color: var(--h4-color);
font-weight: var(--h4-weight);
font-style: var(--h4-style); }
.markdown-rendered h4 a,
.markdown-preview-view h4 a,
.cm-s-obsidian .cm-header-4 a {
font-weight: var(--h4-weight); }
.markdown-rendered h5,
.markdown-preview-view h5,
.cm-s-obsidian .cm-header-5 {
font-variant: var(--h5-variant);
letter-spacing: 0.02em;
font-family: var(--h5-font);
font-size: var(--h5);
color: var(--h5-color);
font-weight: var(--h5-weight);
font-style: var(--h5-style); }
.markdown-rendered h5 a,
.markdown-preview-view h5 a,
.cm-s-obsidian .cm-header-5 a {
font-weight: var(--h5-weight); }
.markdown-rendered h6,
.markdown-preview-view h6,
.cm-s-obsidian .cm-header-6 {
font-variant: var(--h6-variant);
letter-spacing: 0.02em;
font-family: var(--h6-font);
font-size: var(--h6);
color: var(--h6-color);
font-weight: var(--h6-weight);
font-style: var(--h6-style); }
.markdown-rendered h6 a,
.markdown-preview-view h6 a,
.cm-s-obsidian .cm-header-6 a {
font-weight: var(--h6-weight); }
/* Footnotes */
/* Preview mode */
.footnotes-list {
margin-block-start: -10px;
padding-inline-start: 20px;
font-size: var(--font-adaptive-small); }
.footnotes-list p {
display: inline;
margin-block-end: 0;
margin-block-start: 0; }
.footnote-ref a {
text-decoration: none; }
.footnote-backref {
color: var(--text-faint); }
.footnotes .is-flashing,
.minimal-folding .footnotes .is-flashing {
box-shadow: -1px 0px 0 3px var(--text-highlight-bg); }
.cm-s-obsidian .HyperMD-footnote,
.footnotes {
font-size: calc(var(--font-adaptive-normal) - 2px); }
.markdown-preview-view .footnotes hr {
margin: 0.5em 0 1em;
border-width: 1px 0 0 0; }
/* YAML Frontmatter */
.theme-dark pre.frontmatter[class*="language-yaml"],
.theme-light pre.frontmatter[class*="language-yaml"] {
padding: 0 0 0px 0;
background: transparent;
font-family: var(--font-text);
line-height: 1.2;
border-radius: 0;
border-bottom: 0px solid var(--background-modifier-border); }
.markdown-preview-view .table-view-table > thead > tr > th {
border-color: var(--background-modifier-border); }
.theme-dark .frontmatter .token,
.theme-light .frontmatter .token,
.markdown-preview-section .frontmatter code {
font-family: var(--font-text);
color: var(--text-faint) !important; }
.markdown-source-view .cm-s-obsidian .cm-hmd-frontmatter {
font-family: var(--font-editor);
color: var(--text-muted); }
.markdown-preview-section .frontmatter code {
color: var(--text-muted);
font-size: var(--font-adaptive-small); }
.cm-s-obsidian .cm-hmd-frontmatter,
.cm-s-obsidian .cm-def.cm-hmd-frontmatter {
font-size: var(--font-adaptive-small);
color: var(--text-muted); }
/* Preview mode */
.frontmatter code.language-yaml {
padding: 0; }
.frontmatter-collapse-indicator.collapse-indicator {
display: none; }
.frontmatter-container .tag {
font-size: var(--font-adaptive-smaller); }
.frontmatter-container .frontmatter-alias {
color: var(--text-muted); }
.frontmatter-container {
font-size: var(--font-adaptive-small);
padding: 10px 0;
background: transparent;
border-radius: 0;
margin: 0;
border: 0;
border-bottom: 1px solid var(--background-modifier-border); }
.frontmatter-container .frontmatter-container-header {
padding: 0;
font-weight: 500;
border-bottom: 0;
font-size: var(--font-adaptive-small); }
/* File browser */
.is-mobile .nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
display: none; }
.nav-file-tag {
font-weight: 400; }
.nav-header {
padding: 0; }
.nav-buttons-container {
padding: 10px 5px 0px 8px;
margin-bottom: 0px !important;
justify-content: flex-start;
border: 0; }
.nav-files-container {
overflow-x: hidden;
padding-bottom: 50px; }
body:not(.is-mobile) .nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
padding-bottom: 7px;
margin-left: -7px;
font-size: var(--font-adaptive-smaller); }
.nav-folder-title {
margin: 0 0 0 8px;
min-width: auto;
width: calc(100% - 16px);
padding: 0 10px 0 16px;
line-height: 1.5;
cursor: var(--cursor);
border: none; }
.nav-folder.mod-root > .nav-folder-title.is-being-dragged-over {
background-color: var(--text-selection); }
.nav-folder-title.is-being-dragged-over {
background-color: var(--text-selection);
border-color: var(--text-selection);
border-radius: var(--radius-m);
border: 0px solid transparent; }
.nav-folder-title-content {
padding: 1px 4px; }
.nav-folder-collapse-indicator {
top: 1px;
margin-left: -10px; }
/* Fix :active state when right-clicking in file explorer */
.nav-file-title.is-being-dragged,
.nav-folder-title.is-being-dragged,
body:not(.is-grabbing) .nav-file-title.is-being-dragged:hover,
body:not(.is-grabbing) .nav-folder-title.is-being-dragged:hover {
background-color: var(--background-tertiary);
color: var(--text-normal);
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
z-index: 1; }
.workspace-leaf.mod-active .nav-folder.has-focus > .nav-folder-title,
.workspace-leaf.mod-active .nav-file.has-focus {
border: none;
background-color: transparent; }
.nav-file {
margin-left: 12px;
padding-right: 4px;
border: none; }
.nav-file-title {
width: calc(100% - 30px);
margin: 0 8px 0 -4px;
padding: 0;
border-width: 0;
line-height: 1.6;
border-color: var(--background-secondary);
border-radius: var(--radius-m);
cursor: var(--cursor); }
.nav-file-title.is-active,
.nav-folder-title.is-active,
.nav-file-title.is-being-dragged,
body:not(.is-grabbing) .nav-folder-title.is-active:hover,
body:not(.is-grabbing) .nav-folder-title:hover,
body:not(.is-grabbing) .nav-file-title.is-active:hover {
background-color: var(--background-tertiary);
color: var(--text-normal); }
.nav-file-title-content {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 2px 7px;
border: 0;
vertical-align: middle;
cursor: var(--cursor); }
.drop-indicator {
border-width: 1px; }
.nav-file-icon {
margin: 1px 0 0 0;
vertical-align: bottom;
padding: 0 0 0 5px; }
.workspace-leaf-content[data-type=starred] .nav-file-title-content {
width: calc(100% - 15px); }
.workspace-leaf-content[data-type=starred] .nav-file-icon {
opacity: 0.5; }
body:not(.is-grabbing) .nav-file-title:hover .nav-folder-collapse-indicator,
body:not(.is-grabbing) .nav-folder-title:hover .nav-folder-collapse-indicator,
body:not(.is-grabbing) .nav-file-title:hover,
body:not(.is-grabbing) .nav-folder-title:hover {
background: transparent; }
.nav-file-title,
.tree-item-self,
.nav-folder-title,
.is-collapsed .search-result-file-title,
.tag-pane-tag {
font-size: var(--font-adaptive-small);
color: var(--text-muted); }
.search-result-file-title {
font-size: var(--font-adaptive-small);
color: var(--text-normal);
font-weight: var(--normal-weight); }
.side-dock-collapsible-section-header {
font-size: var(--font-adaptive-small);
color: var(--text-muted);
cursor: var(--cursor);
margin-right: 0;
margin-left: 0; }
.side-dock-collapsible-section-header:hover,
.side-dock-collapsible-section-header:not(.is-collapsed) {
color: var(--text-muted);
background: transparent; }
.tree-view-item-self:hover .tree-view-item-collapse,
.tree-item-self.is-clickable:hover {
color: var(--text-muted);
background: transparent;
cursor: var(--cursor); }
.tree-item-self.is-clickable {
cursor: var(--cursor); }
.search-result-collapse-indicator svg,
.search-result-file-title:hover .search-result-collapse-indicator svg,
.side-dock-collapsible-section-header-indicator:hover svg,
.side-dock-collapsible-section-header:hover .side-dock-collapsible-section-header-indicator svg,
.markdown-preview-view .collapse-indicator svg,
.tree-view-item-collapse svg,
.is-collapsed .search-result-collapse-indicator svg,
.nav-folder-collapse-indicator svg,
.side-dock-collapsible-section-header-indicator svg,
.is-collapsed .side-dock-collapsible-section-header-indicator svg {
color: var(--text-faint);
cursor: var(--cursor); }
.search-result-collapse-indicator,
.search-result-file-title:hover .search-result-collapse-indicator,
.side-dock-collapsible-section-header-indicator:hover,
.side-dock-collapsible-section-header:hover .side-dock-collapsible-section-header-indicator,
.markdown-preview-view .collapse-indicator,
.tree-view-item-collapse,
.is-collapsed .search-result-collapse-indicator,
.nav-folder-collapse-indicator,
.side-dock-collapsible-section-header-indicator,
.is-collapsed .side-dock-collapsible-section-header-indicator {
color: var(--text-faint);
cursor: var(--cursor); }
.is-collapsed .search-result-file-title:hover,
.search-result-file-title:hover,
.nav-folder-title.is-being-dragged-over .nav-folder-collapse-indicator svg {
color: var(--text-normal); }
/* --------------- */
/* Nested items */
.nav-folder-collapse-indicator,
.tree-item-self .collapse-icon {
color: var(--background-modifier-border-hover); }
.tree-item-self .collapse-icon {
padding-left: 0;
width: 18px;
margin-left: -18px;
justify-content: center; }
.tree-item-self:hover .collapse-icon {
color: var(--text-normal); }
.tree-item-self {
padding-left: 15px; }
.tree-item {
padding-left: 5px; }
.tree-item-flair {
font-size: var(--font-adaptive-smaller);
right: 0;
background: transparent;
color: var(--text-faint); }
.tree-item-flair-outer:after {
content: ''; }
.tree-item-self.is-clickable {
cursor: var(--cursor); }
.tree-item-self.is-clickable:hover {
background: transparent; }
.tree-item-self:hover .tree-item-flair {
background: transparent;
color: var(--text-muted); }
.tree-item-children {
margin-left: 5px; }
/* Folding icons in Preview */
.collapse-indicator svg,
.markdown-preview-view .heading-collapse-indicator.collapse-indicator svg,
.markdown-preview-view ol > li .collapse-indicator svg,
.markdown-preview-view ul > li .collapse-indicator svg {
opacity: 0; }
h1:hover .heading-collapse-indicator.collapse-indicator svg,
h2:hover .heading-collapse-indicator.collapse-indicator svg,
h3:hover .heading-collapse-indicator.collapse-indicator svg,
h4:hover .heading-collapse-indicator.collapse-indicator svg,
h5:hover .heading-collapse-indicator.collapse-indicator svg,
.HyperMD-header:hover .collapse-indicator svg,
.markdown-preview-view .is-collapsed .collapse-indicator svg,
.markdown-preview-view .collapse-indicator:hover svg,
.collapse-indicator:hover svg {
opacity: 1; }
.markdown-preview-view div.is-collapsed h1::after,
.markdown-preview-view div.is-collapsed h2::after,
.markdown-preview-view div.is-collapsed h3::after,
.markdown-preview-view div.is-collapsed h4::after,
.markdown-preview-view div.is-collapsed h5::after,
.markdown-preview-view ol .is-collapsed::after,
.markdown-preview-view ul .is-collapsed::after {
content: "...";
padding: 5px;
color: var(--text-faint); }
.markdown-preview-view ol > li.task-list-item .collapse-indicator,
.markdown-preview-view ul > li.task-list-item .collapse-indicator {
margin-left: -48px;
position: absolute; }
.markdown-preview-view ol > li .collapse-indicator {
padding-right: 20px; }
.markdown-preview-view .heading-collapse-indicator.collapse-indicator {
margin-left: -28px;
padding-right: 7px 8px 7px 0; }
.markdown-preview-view .collapse-indicator {
position: absolute;
margin-left: -44px;
padding-bottom: 10px;
padding-top: 0px; }
.markdown-preview-view ul > li:not(.task-list-item) .collapse-indicator {
padding-right: 20px; }
.list-collapse-indicator .collapse-indicator .collapse-icon {
opacity: 0; }
.markdown-preview-view ul > li h1,
.markdown-preview-view ul > li h2,
.markdown-preview-view ul > li h3,
.markdown-preview-view ul > li h4 {
display: inline; }
/* Folding icons in Edit mode */
.markdown-source-view.mod-cm6.is-folding .cm-contentContainer {
padding-left: 0; }
.CodeMirror-foldgutter-folded,
.CodeMirror-foldgutter-open {
cursor: var(--cursor); }
body .frontmatter-collapse-indicator svg.right-triangle {
background-color: currentColor;
-webkit-mask-image: url('data:image/svg+xml;utf8,'); }
body span[title="Fold line"],
body span[title="Unfold line"] {
position: relative;
font-size: 0;
color: transparent;
display: flex;
height: auto;
align-items: center; }
body span[title="Fold line"]:hover,
body span[title="Unfold line"]:hover,
body .CodeMirror-foldgutter-open:hover,
body .CodeMirror-foldgutter-folded:hover {
color: var(--text-muted); }
body span[title="Fold line"]:after,
body span[title="Unfold line"]:after,
body .CodeMirror-foldgutter-open:after,
body .CodeMirror-foldgutter-folded:after {
text-align: center;
color: var(--text-faint);
font-size: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
margin-left: 0px;
width: 1rem;
height: 1rem; }
body:not(.is-mobile) span[title="Fold line"]:after,
body:not(.is-mobile) span[title="Unfold line"]:after,
body:not(.is-mobile) .CodeMirror-foldgutter-open:after,
body:not(.is-mobile) .CodeMirror-foldgutter-folded:after {
margin-top: 0.35rem;
margin-left: 2px; }
body .is-mobile .cm-editor .cm-lineNumbers .cm-gutterElement {
padding: 0 3px 0 0px;
min-width: 15px;
text-align: right;
white-space: nowrap; }
body span[title="Fold line"]:after,
body span[title="Unfold line"]:after {
font-size: 1rem;
line-height: 1; }
body span[title="Fold line"]:after,
body span[title="Unfold line"]:after {
font-size: 1rem;
line-height: 1; }
body span[title="Unfold line"]:after,
body .CodeMirror-foldgutter-folded:after {
background-color: var(--text-faint);
height: 12px;
width: 12px;
-webkit-mask-image: url('data:image/svg+xml;utf8,');
transform: translateY(-2px);
transform: rotate(-90deg); }
body span[title="Fold line"]:after,
body .CodeMirror-foldgutter-open:after {
background-color: var(--text-faint);
height: 12px;
width: 12px;
-webkit-mask-image: url('data:image/svg+xml;utf8,'); }
.is-mobile span[title="Fold line"]:after,
.is-mobile .CodeMirror-foldgutter-open:after {
transform: translateX(-2px) !important; }
span[title="Fold line"],
.CodeMirror-foldgutter-open:after {
opacity: 0; }
span[title="Fold line"]:hover,
span[title="Unfold line"],
.CodeMirror-foldgutter-folded:after,
.CodeMirror-code > div:hover .CodeMirror-foldgutter-open:after {
opacity: 1; }
span[title="Unfold line"]:hover,
.CodeMirror-code > div:hover .CodeMirror-foldgutter-open:hover:after,
.CodeMirror-code > div:hover .CodeMirror-foldgutter-folded:hover:after {
opacity: 1; }
body.is-mobile span[title="Unfold line"]:after,
body.is-mobile .CodeMirror-foldgutter-folded:after {
content: "›";
font-family: sans-serif;
transform: translateY(-2px);
transform: rotate(-90deg) translateY(2px) translateX(-0.45em); }
body.is-mobile span[title="Fold line"]:after,
body.is-mobile .CodeMirror-foldgutter-open:after {
content: "›";
font-family: sans-serif;
transform: rotate(360deg); }
/* Icons and icon buttons */
body svg.right-triangle {
color: var(--text-muted);
background-color: var(--text-muted);
height: 12px;
width: 12px;
-webkit-mask-image: url('data:image/svg+xml;utf8,'); }
.nav-action-button svg {
width: 15px;
height: 15px; }
body .view-header-icon,
body .graph-controls-button,
body .clickable-icon,
body .menu-item-icon,
body .side-dock-ribbon-action,
body .nav-action-button,
body .view-action,
body .workspace-tab-header-inner-icon {
line-height: 0; }
body .view-header-icon svg path,
body .graph-controls-button svg path,
body .clickable-icon svg path,
body .menu-item-icon svg path,
body .side-dock-ribbon-action svg path,
body .nav-action-button svg path,
body .view-action svg path,
body .workspace-tab-header-inner-icon svg path {
stroke-width: 2px; }
body .view-action svg.cross path {
stroke-width: 2px; }
.workspace-ribbon-collapse-btn svg path {
stroke-width: 4px; }
.nav-action-button svg path {
stroke-width: 2px; }
.clickable-icon {
cursor: var(--cursor); }
.graph-controls-button,
.view-action,
.view-header-icon,
.nav-action-button,
.workspace-tab-header,
.side-dock-ribbon-tab,
.side-dock-ribbon-action,
.workspace-tab-header {
background: transparent;
color: var(--icon-color);
opacity: var(--icon-muted);
transition: opacity 0.1s ease-in-out;
cursor: var(--cursor);
line-height: 0; }
.graph-controls-button,
.view-header-icon,
.workspace-tab-header-inner-icon,
.side-dock-ribbon-action,
.workspace-ribbon-collapse-btn {
margin: 0;
padding: 4px 4px;
height: 26px;
border-radius: var(--radius-m); }
.view-header-icon {
display: flex;
align-items: center; }
.workspace-ribbon-collapse-btn {
margin: 0;
padding: 2px 4px; }
.side-dock-ribbon-action {
border-left: 0;
margin: 0 6px 6px; }
.nav-action-button,
.workspace-leaf-content[data-type='search'] .nav-action-button,
.workspace-leaf-content[data-type='backlink'] .nav-action-button {
padding: 3px 5px 3px;
margin: 0 0 7px 0px;
height: 26px;
text-align: center;
border-radius: var(--radius-m); }
.nav-action-button.is-active,
.workspace-leaf-content[data-type='dictionary-view'] .nav-action-button.is-active,
.workspace-leaf-content[data-type='search'] .nav-action-button.is-active,
.workspace-leaf-content[data-type='backlink'] .nav-action-button.is-active,
.workspace-leaf-content[data-type='tag'] .nav-action-button.is-active,
.workspace-tab-header.is-active,
.workspace-leaf-content[data-type='search'] .nav-action-button.is-active {
background: transparent;
color: var(--icon-color);
opacity: 1;
transition: opacity 0.1s ease-in-out; }
.nav-action-button.is-active,
.workspace-tab-header.is-active:hover {
color: var(--icon-color); }
.workspace-leaf-content[data-type='search'] .nav-action-button.is-active {
background: transparent; }
.graph-controls-button:hover,
.view-action:hover,
.view-action.is-active:hover,
.view-header-icon:hover,
.nav-action-button:hover,
.nav-action-button.is-active:hover,
.workspace-tab-header:hover,
.side-dock-ribbon-tab:hover,
.side-dock-ribbon-action:hover {
color: var(--icon-color-hover);
opacity: 1;
transition: opacity 0.1s ease-in-out; }
.graph-controls-button:hover,
.view-action:hover,
.nav-action-button:hover,
.workspace-leaf-content[data-type='search'] .nav-action-button.is-active:hover,
.workspace-leaf-content[data-type='backlink'] .nav-action-button.is-active:hover,
.workspace-drawer-tab-option-item:hover,
.workspace-drawer-header-icon:hover,
.workspace-tab-header-inner-icon:hover,
.side-dock-ribbon-action:hover {
background-color: var(--background-tertiary);
border-radius: var(--radius-m); }
/* Search */
.is-mobile .document-search-container .document-search {
position: relative; }
.is-mobile .search-input-container:before,
.is-mobile .workspace-leaf-content[data-type='search'] .search-input-container:before,
.is-mobile .document-search-container .document-search:before {
content: " ";
position: absolute;
z-index: 9;
top: 50%;
transform: translateY(-50%);
left: 7px;
display: block;
width: 18px;
height: 18px;
background-color: var(--text-muted);
-webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="18" height="18" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" fill-rule="evenodd" d="m16.325 14.899l5.38 5.38a1.008 1.008 0 0 1-1.427 1.426l-5.38-5.38a8 8 0 1 1 1.426-1.426ZM10 16a6 6 0 1 0 0-12a6 6 0 0 0 0 12Z"%2F%3E%3C%2Fsvg%3E');
background-position: 50% 50%;
background-repeat: no-repeat; }
/* Indentation Guides (Obsidian 0.14.0+) */
body {
--ig-adjust-reading:-0.65em;
--ig-adjust-edit:-1px; }
.markdown-rendered.show-indentation-guide li.task-list-item > ul::before,
.markdown-rendered.show-indentation-guide li.task-list-item > ol::before,
.markdown-rendered.show-indentation-guide li > ul::before,
.markdown-rendered.show-indentation-guide li > ol::before {
left: var(--ig-adjust-reading); }
/* Live Preview */
.markdown-source-view.mod-cm6 .cm-indent::before {
transform: translateX(var(--ig-adjust-edit)); }
.is-mobile .markdown-rendered.show-indentation-guide li > ul::before,
.is-mobile .markdown-rendered.show-indentation-guide li > ol::before {
left: calc(0em + var(--ig-adjust-reading)); }
.is-mobile .markdown-source-view.mod-cm6 .cm-indent::before {
transform: translateX(calc(2px + var(--ig-adjust-edit))); }
/* Links */
a {
color: var(--text-accent);
font-weight: var(--link-weight); }
strong a {
color: var(--text-accent);
font-weight: var(--bold-weight); }
a[href*="obsidian://search"] {
background-image: url("data:image/svg+xml,"); }
.theme-dark a[href*="obsidian://search"] {
background-image: url("data:image/svg+xml,"); }
.cm-s-obsidian span.cm-url:hover,
.is-live-preview.cm-s-obsidian span.cm-hmd-internal-link:hover,
.is-live-preview.cm-s-obsidian span.cm-url:hover,
.is-live-preview.cm-s-obsidian span.cm-link:hover {
color: var(--text-accent-hover); }
a em,
.cm-s-obsidian span.cm-url,
.cm-s-obsidian .cm-url,
.cm-s-obsidian .cm-active .cm-url,
.is-live-preview.cm-s-obsidian .cm-link,
.cm-s-obsidian.mod-cm6 .cm-hmd-internal-link {
color: var(--text-accent); }
.cm-url,
.cm-link,
.cm-hmd-internal-link {
font-weight: var(--link-weight); }
.cm-s-obsidian .cm-active span.cm-link.cm-hmd-barelink,
.cm-s-obsidian span.cm-link.cm-hmd-barelink,
.cm-s-obsidian span.cm-link.cm-hmd-barelink:hover {
color: var(--text-normal); }
.cm-s-obsidian .cm-active .cm-formatting.cm-formatting-link,
.cm-s-obsidian span.cm-image-alt-text.cm-link,
.cm-s-obsidian:not(.is-live-preview) .cm-formatting-link + span.cm-link {
color: var(--text-muted); }
/* Reader Mode Lists */
div > ol,
div > ul {
padding-inline-start: 1.4em; }
ul > li {
min-height: 1.4em; }
ol > li {
margin-left: 0em; }
ul {
padding-inline-start: var(--list-indent); }
ol {
padding-inline-start: var(--list-indent);
margin-left: 0;
list-style: default; }
.is-mobile {
/* first level */ }
.is-mobile ul > li:not(.task-list-item)::marker {
font-size: 0.8em; }
.is-mobile .markdown-rendered ul,
.is-mobile .markdown-rendered ol {
padding-inline-start: var(--list-indent); }
.is-mobile .markdown-rendered div > ol,
.is-mobile .markdown-rendered div > ul {
padding-inline-start: 2em; }
.is-mobile .el-ol > ol,
.is-mobile .el-ul > ul {
margin-left: 0; }
/* Live Preview */
.cm-line:not(.HyperMD-codeblock) {
tab-size: var(--list-indent); }
.markdown-source-view.mod-cm6 .cm-content .HyperMD-list-line {
margin-left: var(--list-edit-offset) !important; }
/* Space between list items */
.markdown-source-view ol > li,
.markdown-source-view ul > li,
.markdown-preview-view ol > li,
.markdown-preview-view ul > li,
.mod-cm6 .HyperMD-list-line.cm-line {
padding-top: var(--list-spacing);
padding-bottom: var(--list-spacing); }
/* Legacy Editor Mode Lists */
.cm-formatting-list {
color: var(--text-faint) !important; }
/* Bullets */
ul > li::marker,
ol > li::marker {
color: var(--text-faint); }
ul > li:not(.task-list-item)::marker {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
font-size: 0.9em; }
.mod-cm6 .HyperMD-list-line .list-bullet::after,
.mod-cm6 span.list-bullet::after {
line-height: 0.95em;
font-size: 1.4em;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
vertical-align: middle;
color: var(--text-faint); }
body:not(.is-mobile) .markdown-source-view.mod-cm6 .list-bullet:after {
left: -5px; }
body:not(.is-mobile) .markdown-source-view.mod-cm6 span.cm-formatting.cm-formatting-list.cm-formatting-list-ol {
margin-left: -5px; }
/* Modals */
.progress-bar-message {
color: var(--text-faint); }
.modal {
box-shadow: var(--shadow-l);
border: none;
background: var(--background-primary);
border-radius: var(--radius-l);
overflow: hidden;
padding: 20px; }
body:not(.is-mobile) .modal {
border: 1px solid var(--modal-border); }
.modal.mod-settings .vertical-tab-content-container {
border-left: 1px solid var(--background-divider);
padding-bottom: 0;
padding-right: 0; }
.modal-title {
text-align: left;
font-size: var(--h2);
line-height: 1.4; }
.modal-content {
margin-top: 0px;
padding: 2px;
font-size: var(--font-adaptive-small); }
.modal-content .u-center-text {
text-align: left;
font-size: var(--font-adaptive-small); }
.modal-button-container {
margin-top: 10px;
gap: 8px;
display: flex; }
.modal-button-container button {
margin-top: 10px; }
/* Confirm delete */
.modal-container.mod-confirmation .modal {
width: 480px;
min-width: 0; }
.modal-container.mod-confirmation .modal-content {
margin-top: 10px; }
.modal-container.mod-confirmation .modal-content .setting-item {
margin-top: 10px; }
.modal-container.mod-confirmation .modal-button-container {
display: flex; }
.modal-container.mod-confirmation .modal-button-container > .mod-warning:nth-last-child(3) {
background: transparent;
border: none;
font-weight: 500;
color: var(--text-error);
cursor: pointer;
margin-right: auto;
box-shadow: none;
padding-left: 0;
padding-right: 0; }
.modal-container.mod-confirmation .modal-button-container > .mod-warning:nth-last-child(3):hover {
text-decoration: underline; }
.modal-container.mod-confirmation .modal-button-container > .mod-warning:nth-last-child(2) {
margin-left: auto; }
/* Close buttons */
.document-search-close-button,
.modal-close-button {
cursor: var(--cursor);
line-height: 20px;
text-align: center;
height: 24px;
width: 24px;
font-size: 24px;
color: var(--text-faint);
border-radius: var(--radius-m); }
.modal-close-button {
top: 7px;
right: 7px;
padding: 0; }
body:not(.is-mobile) .document-search-close-button:hover,
.modal-close-button:hover {
color: var(--text-normal);
background: var(--background-tertiary); }
.document-search-close-button:before,
.modal-close-button:before {
font-family: Inter,sans-serif;
font-weight: 200; }
/* Mobile modals */
.is-mobile {
/* Mobile community themes */
/* Mobile Community plugins */
/* Tablet */
/* Phone */ }
.is-mobile .modal {
width: 100%;
max-width: 100%;
border: none;
padding: 10px;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none; }
.is-mobile .modal,
.is-mobile .modal-bg {
transition: none !important;
transform: none !important; }
.is-mobile .modal.mod-publish,
.is-mobile .modal.mod-community-plugin,
.is-mobile .modal.mod-settings {
width: 100vw;
max-height: 90vh;
padding: 0; }
.is-mobile .mod-confirmation .modal {
border-radius: 15px; }
.is-mobile .mod-confirmation .modal .modal-close-button {
display: none; }
.is-mobile .modal-content {
padding: 0;
border-radius: 15px; }
.is-mobile .modal-button-container {
padding: 0; }
.is-mobile .setting-item:not(.mod-toggle):not(.setting-item-heading) {
flex-grow: 0; }
.is-mobile .vertical-tab-header-group:last-child,
.is-mobile .vertical-tab-content,
.is-mobile .minimal-donation {
padding-bottom: 70px !important; }
.is-mobile .modal.mod-settings .vertical-tab-header:before {
content: "Settings";
font-weight: 600;
font-size: var(--font-settings);
position: sticky;
display: flex;
height: 54px;
margin-top: 8px;
align-items: center;
justify-content: center;
text-align: center;
border-bottom: 1px solid var(--background-modifier-border);
background: var(--background-primary);
left: 0;
top: 0;
right: 0;
z-index: 1; }
.is-mobile .modal .vertical-tab-header-group-title {
padding: 15px 20px 10px 20px;
text-transform: uppercase;
letter-spacing: 0.05em; }
.is-mobile .modal .vertical-tab-nav-item {
padding: 12px 0px;
margin: 0;
border-radius: 0;
color: var(--text-primary);
border-bottom: 1px solid var(--background-modifier-border); }
.is-mobile .modal .vertical-tab-nav-item:after {
content: " ";
float: right;
width: 20px;
height: 20px;
display: block;
opacity: 0.2;
background: center right no-repeat url("data:image/svg+xml,"); }
.is-mobile.theme-dark .modal .vertical-tab-nav-item:after {
background: center right no-repeat url("data:image/svg+xml,"); }
.is-mobile .vertical-tab-header-group-items {
width: calc(100% - 40px);
margin: 0 auto; }
.is-mobile .modal .vertical-tab-nav-item:first-child {
border-top: 1px solid var(--background-modifier-border); }
.is-mobile .modal.mod-settings .vertical-tab-nav-item {
font-size: var(--font-settings); }
.is-mobile .modal svg.left-arrow-with-tail {
-webkit-mask-image: url("data:image/svg+xml,");
height: 26px;
width: 26px; }
.is-mobile .modal-close-button {
display: block;
z-index: 2;
top: 10px;
right: 12px;
padding: 4px;
font-size: 34px;
width: 34px;
height: 34px;
background-color: var(--background-primary); }
.is-mobile .modal-close-button:before {
font-weight: 300;
color: var(--text-muted); }
.is-mobile .modal-close-button:hover {
background-color: var(--background-tertiary); }
.is-mobile .mod-community-theme .modal-title {
padding: 10px 20px; }
.is-mobile .modal.mod-community-theme,
.is-mobile .modal.mod-community-theme .modal-content {
height: unset; }
.is-mobile .community-plugin-search {
border: none; }
.is-mobile .community-plugin-item:hover {
background-color: transparent; }
.is-mobile .community-plugin-item {
margin: 0; }
.is-mobile .community-plugin-search .setting-item {
margin-right: 42px; }
.is-mobile .community-plugin-search .setting-item-control {
display: flex;
flex-direction: row; }
.is-mobile .community-plugin-search .setting-item-control button {
width: 40px;
font-size: 0;
margin-left: 10px;
justify-content: center;
color: var(--text-muted);
border: none;
box-shadow: none;
background-color: currentColor;
-webkit-mask: no-repeat center center url('data:image/svg+xml;utf8,');
-webkit-mask-size: 22px; }
.is-mobile .community-plugin-search .setting-item-control button:hover {
background-color: var(--text-normal); }
.is-mobile .community-plugin-search .search-input-container {
margin: 0; }
.is-mobile .modal.mod-settings .vertical-tabs-container {
display: flex;
overflow: hidden;
border-top-left-radius: 15px;
border-top-right-radius: 15px; }
.is-mobile .community-plugin-details .modal-setting-back-button {
padding: 12px 20px; }
.is-mobile .modal-setting-back-button {
border-bottom: 1px solid var(--background-modifier-border);
display: flex;
margin-top: 8px;
height: 54px;
justify-content: center;
align-items: center;
background-color: var(--color-background);
box-shadow: none; }
.is-mobile .modal-setting-back-button-icon {
position: absolute;
left: 10px; }
.is-mobile .modal-setting-back-button span:nth-child(2) {
flex-grow: 1;
text-align: center;
font-weight: 600;
height: 54px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-normal); }
.is-mobile .hotkey-list-container .setting-command-hotkeys {
flex: unset; }
.is-mobile .modal.mod-settings .vertical-tab-content-container {
border: 0; }
@media (min-width: 400pt) {
.is-mobile .modal .vertical-tab-header,
.is-mobile .modal .vertical-tabs-container,
.is-mobile .modal .vertical-tab-content-container {
border-radius: 15px !important; }
.is-mobile .modal,
.is-mobile .modal-container .modal.mod-settings {
max-width: 800px;
transform: translateZ(0);
border-radius: 15px;
margin-bottom: 0;
bottom: auto;
overflow: hidden; }
.is-mobile .modal-container .modal.mod-settings .vertical-tabs-container {
transform: translateZ(0); }
.is-mobile .modal-container .modal-bg {
opacity: 0.8 !important; }
.is-mobile .search-input-container input {
width: 100%; }
.is-mobile .modal-setting-back-button,
.is-mobile .modal.mod-settings .vertical-tab-header:before {
margin-top: 0; } }
@media (max-width: 400pt) {
.is-mobile .modal {
border-radius: 0;
border: none; }
.is-mobile .modal.mod-publish,
.is-mobile .modal.mod-community-plugin,
.is-mobile .modal.mod-settings {
max-height: calc(100vh - 32px);
box-shadow: 0 -32px 0 0 var(--background-primary); }
.is-mobile .mod-confirmation .modal {
bottom: 4.5vh; }
.is-mobile .modal .search-input-container {
width: 100%;
margin: 0; }
.is-mobile .modal-close-button {
top: 18px;
right: 0px;
padding: 4px 16px 2px 4px;
width: 46px; }
.is-mobile .modal-close-button:hover {
background: var(--background-primary); } }
/* Menus */
.menu {
padding: 7px 5px;
background-color: var(--background-secondary); }
.menu-item {
font-size: var(--font-adaptive-small);
border-radius: var(--radius-m);
padding: 3px 6px 3px 6px;
margin: 0 2px;
cursor: var(--cursor);
height: auto;
line-height: 20px;
display: flex;
align-items: center;
overflow: hidden; }
.menu-item:hover, .menu-item:hover:not(.is-disabled):not(.is-label), .menu-item.selected:not(.is-disabled):not(.is-label) {
background-color: var(--background-tertiary); }
.menu-separator {
margin: 8px -5px; }
.menu-item-icon {
width: 20px;
opacity: 0.6;
line-height: 10px;
position: static;
margin-right: 2px; }
.menu-item-icon svg {
width: 12px;
height: 12px; }
.menu-item-icon
div.menu-item:hover .menu-item-icon svg,
div.menu-item:hover .menu-item-icon svg path {
color: var(--text-normal); }
/* Mobile */
.is-mobile {
/* Tablet */
/* Phone */ }
.is-mobile:not(.minimal-icons-off) .menu-item-icon svg {
width: 18px;
height: 18px; }
.is-mobile .menu {
border: none;
width: 100%;
max-width: 100%;
left: 0 !important;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none; }
.is-mobile .menu-item {
padding: 5px 10px;
margin: 0; }
.is-mobile .menu-item-icon {
margin-right: 10px; }
.is-mobile .menu-item.is-label {
color: var(--text-normal);
font-weight: var(--bold-weight); }
.is-mobile .menu-item.is-label .menu-item-icon {
display: none; }
@media (min-width: 400pt) {
.is-mobile .menu {
top: 60px !important;
right: 0 !important;
bottom: auto;
left: auto;
margin: 0 auto;
width: 360px;
padding: 10px 10px 10px;
border-radius: 15px;
box-shadow: 0 0 100vh 100vh rgba(0, 0, 0, 0.5); }
.is-mobile .menu .menu-item:hover {
background-color: var(--background-tertiary); } }
@media (max-width: 400pt) {
.is-mobile .menu {
padding-bottom: 30px; }
.is-mobile .menu-item.is-label {
font-size: var(--font-settings-title); } }
/* Preview mode */
.markdown-preview-view blockquote,
.markdown-preview-view p,
.markdown-preview-view ol,
.markdown-preview-view ul {
margin-block-start: var(--spacing-p);
margin-block-end: var(--spacing-p); }
.markdown-preview-view ul ol,
.markdown-preview-view ol ol,
.markdown-preview-view ol ul,
.markdown-preview-view ul ul {
margin-block-start: 0em;
margin-block-end: 0em; }
.markdown-preview-view h1,
.markdown-preview-view h2,
.markdown-preview-view h3,
.markdown-preview-view h4,
.markdown-preview-view h5,
.markdown-preview-view h6 {
margin-block-start: 1em;
margin-block-end: var(--spacing-p); }
.markdown-preview-view hr {
height: 1px;
border-width: 2px 0 0 0; }
iframe {
border: 0; }
.markdown-preview-view .mod-highlighted {
transition: background-color 0.3s ease;
background-color: var(--text-selection);
color: inherit; }
/* Backlinks in Preview */
.mod-root .workspace-leaf-content[data-type='markdown'] .nav-header {
border-top: 1px solid var(--background-modifier-border);
margin-top: 3em;
position: relative; }
.mod-root .workspace-leaf-content[data-type='markdown'] .nav-buttons-container,
.mod-root .workspace-leaf-content[data-type='markdown'].backlink-pane,
.mod-root .workspace-leaf-content[data-type='markdown'] .backlink-pane .search-result-container,
.mod-root .workspace-leaf-content[data-type='markdown'] .search-input-container,
.mod-root .workspace-leaf-content[data-type='markdown'] .tree-item,
.mod-root .workspace-leaf-content[data-type='markdown'] .search-empty-state {
padding-left: 0;
margin-left: 0; }
.is-mobile .workspace-leaf-content:not([data-type='search']) .workspace-leaf-content[data-type='markdown'] .nav-buttons-container {
border-bottom: none;
padding-top: 5px; }
.mod-root .workspace-leaf-content[data-type='markdown'] .search-input-container {
margin-bottom: 0px;
width: calc(100% - 130px);
margin-top: 10px; }
.is-mobile .mod-root .workspace-leaf-content[data-type='markdown'] .search-input-container {
width: calc(100% - 160px); }
.mod-root .workspace-leaf-content[data-type='markdown'] .backlink-pane {
padding-top: 10px; }
.mod-root .workspace-leaf-content[data-type='markdown'] .nav-buttons-container {
position: absolute;
right: 0;
top: 3px; }
.mod-root .workspace-leaf-content[data-type='markdown'] .backlink-pane > .tree-item-self:hover,
.mod-root .workspace-leaf-content[data-type='markdown'] .backlink-pane > .tree-item-self {
padding-left: 0px;
text-transform: none;
color: var(--text-normal);
font-size: var(--font-adaptive-normal);
font-weight: 500;
letter-spacing: unset; }
.mod-root .workspace-leaf-content[data-type='markdown'] .backlink-pane > .tree-item-self.is-collapsed {
color: var(--text-faint); }
.mod-root .workspace-leaf-content[data-type='markdown'] .backlink-pane > .tree-item-self.is-collapsed:hover {
color: var(--text-muted); }
.mod-root .workspace-leaf-content[data-type='markdown'] .backlink-pane .search-result-file-title {
font-size: calc(var(--font-adaptive-normal) - 2px); }
.mod-root .workspace-leaf-content[data-type=markdown] .markdown-source-view .embedded-backlinks .nav-header {
margin-top: 0; }
/* Embedded searches */
.internal-query {
border-top: none;
border-bottom: none; }
.internal-query .internal-query-header {
padding-top: 10px;
justify-content: left;
border-top: 1px solid var(--ui1); }
.internal-query .internal-query-header-title {
font-weight: 500;
color: var(--text-normal);
font-size: var(--text-adaptive-normal); }
.internal-query .search-result-container {
border-bottom: 1px solid var(--ui1); }
/* Default ribbon sidedock icons */
.workspace-ribbon.mod-left .workspace-ribbon-collapse-btn,
.workspace-ribbon.mod-right .workspace-ribbon-collapse-btn {
opacity: 1;
position: fixed;
width: 26px;
display: flex;
align-items: center;
top: auto;
text-align: center;
bottom: 32px;
z-index: 9; }
.workspace-ribbon.mod-left .workspace-ribbon-collapse-btn {
left: 8px; }
.workspace-ribbon.mod-right {
right: 4px;
bottom: 0;
height: 32px;
padding-top: 6px;
position: absolute;
background: transparent;
border: 0; }
.mod-right .workspace-ribbon-collapse-btn {
background-color: var(--background-primary); }
.workspace-ribbon-collapse-btn,
.view-action,
.side-dock-ribbon-tab,
.side-dock-ribbon-action {
cursor: var(--cursor); }
.workspace-ribbon-collapse-btn:hover {
background-color: var(--background-tertiary); }
.workspace-ribbon {
border-width: var(--border-width-alt);
border-color: var(--background-divider);
background: var(--background-secondary);
flex: 0 0 42px;
padding-top: 7px; }
.mod-right:not(.is-collapsed) ~ .workspace-split.mod-right-split {
margin-right: 0; }
.side-dock-settings {
padding-bottom: 20px; }
body.hider-frameless:not(.hider-ribbon):not(.is-fullscreen) .side-dock-actions {
padding-top: var(--top-left-padding-y); }
/* Scroll bars */
body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar,
body:not(.native-scrollbars) ::-webkit-scrollbar {
width: 11px;
background-color: transparent; }
body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar:horizontal,
body:not(.native-scrollbars) ::-webkit-scrollbar:horizontal {
height: 11px; }
body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-corner,
body:not(.native-scrollbars) ::-webkit-scrollbar-corner {
background-color: transparent; }
body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-track,
body:not(.native-scrollbars) ::-webkit-scrollbar-track {
background-color: transparent; }
body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb,
body:not(.native-scrollbars) ::-webkit-scrollbar-thumb {
background-clip: padding-box;
border-radius: 20px;
border: 3px solid transparent;
background-color: var(--background-modifier-border);
border-width: 3px 3px 3px 3px;
min-height: 45px; }
body:not(.hider-scrollbars).styled-scrollbars .modal .vertical-tab-header::-webkit-scrollbar-thumb:hover,
body:not(.hider-scrollbars).styled-scrollbars .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:hover,
body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb:hover,
body:not(.native-scrollbars) .modal .vertical-tab-header::-webkit-scrollbar-thumb:hover,
body:not(.native-scrollbars) .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:hover,
body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:hover {
background-color: var(--background-modifier-border-hover); }
body:not(.hider-scrollbars).styled-scrollbars .modal .vertical-tab-header::-webkit-scrollbar-thumb:active,
body:not(.hider-scrollbars).styled-scrollbars .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:active,
body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb:active,
body:not(.native-scrollbars) .modal .vertical-tab-header::-webkit-scrollbar-thumb:active,
body:not(.native-scrollbars) .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:active,
body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:active {
background-color: var(--background-modifier-border-focus); }
/* Search and replace (in file) */
.is-flashing {
border-radius: 2px;
box-shadow: 2px 1px 0 4px var(--text-highlight-bg);
transition: all 0s ease-in-out; }
.minimal-folding .is-flashing {
box-shadow: 5px 1px 0 6px var(--text-highlight-bg); }
.is-flashing .tag {
border-color: var(--text-highlight-bg-active); }
.suggestion-container.mod-search-suggestion {
max-width: 240px; }
.mod-search-suggestion .suggestion-item {
font-size: var(--font-adaptive-small); }
.mod-search-suggestion .clickable-icon {
margin: 0; }
.search-suggest-item.mod-group {
font-size: var(--font-adaptive-smaller); }
.cm-s-obsidian span.obsidian-search-match-highlight {
background: inherit;
background: var(--text-highlight-bg);
padding-left: 0;
padding-right: 0; }
.markdown-preview-view .search-highlight > div {
box-shadow: 0 0 0px 2px var(--text-normal);
border-radius: 2px;
background: transparent; }
.markdown-preview-view .search-highlight > div {
opacity: 0.4; }
.markdown-preview-view .search-highlight > div.is-active {
background: transparent;
border-radius: 2px;
opacity: 1;
mix-blend-mode: normal;
box-shadow: 0 0 0px 3px var(--text-accent); }
/* Live Preview */
.cm-s-obsidian span.obsidian-search-match-highlight {
background-color: transparent;
box-shadow: 0 0 0px 3px var(--text-accent);
mix-blend-mode: multiply;
border-radius: 2px; }
body:not(.is-mobile).borders-title .document-search-container {
padding-top: 0; }
body input.document-search-input.mod-no-match:hover,
body input.document-replace-input.mod-no-match:hover,
body input.document-search-input.mod-no-match,
body input.document-replace-input.mod-no-match {
background-color: var(--background-primary); }
body:not(.is-mobile) .document-search-container.mod-replace-mode {
height: 72px; }
body:not(.is-mobile) .document-replace-buttons,
body:not(.is-mobile) .document-search-buttons {
padding-top: 3px; }
.document-replace-buttons,
.document-search-buttons {
height: 30px;
padding-top: 0;
gap: 5px;
display: flex; }
.document-search-button,
.document-search-close-button {
cursor: var(--cursor);
color: var(--text-muted);
font-weight: 500; }
body:not(.is-mobile) .document-search-button,
body:not(.is-mobile) .document-search-close-button {
background: var(--background-tertiary);
height: 26px; }
.document-search-button:hover {
box-shadow: none;
background: var(--background-tertiary); }
body .document-search-close-button {
bottom: 0;
top: 0;
display: inline-flex;
height: 26px;
width: 26px;
line-height: 24px; }
.document-search-button {
margin: 0;
padding-left: 0.75em;
padding-right: 0.75em; }
body .document-search-container {
margin-top: 12px;
padding: 0;
height: 38px;
background-color: var(--background-primary);
border-top: none;
width: 100%; }
.document-search,
.document-replace {
max-width: var(--max-width);
width: var(--line-width);
margin: 0 auto;
padding: 0 5px; }
.minimal-readable-off .document-search,
.minimal-readable-off .document-replace {
width: 100%; }
.markdown-source-view.is-searching,
.markdown-source-view.is-replacing,
.markdown-reading-view.is-searching {
flex-direction: column-reverse; }
body input.document-search-input,
body input.document-replace-input {
margin-top: 2px;
font-size: var(--font-adaptive-small);
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-m);
height: 28px;
background: var(--background-primary);
transition: border-color 0.1s ease-in-out; }
input.document-search-input:hover,
input.document-replace-input:hover {
border: 1px solid var(--background-modifier-border-hover);
background: var(--background-primary);
transition: border-color 0.1s ease-in-out; }
input.document-search-input:focus,
input.document-replace-input:focus {
border: 1px solid var(--background-modifier-border-hover);
background: var(--background-primary);
transition: all 0.1s ease-in-out; }
.document-search-button {
font-size: var(--font-adaptive-small); }
/* Mobile */
.is-mobile .document-search,
.is-mobile .document-replace {
flex-direction: row; }
.is-mobile .document-replace {
padding-top: 6px; }
.is-mobile .document-replace .document-replace-buttons {
flex-shrink: 1;
flex-grow: 0; }
.is-mobile .document-search-container {
padding: 8px 0 8px 0;
background-color: var(--background-primary);
margin: 0 auto 0 auto;
height: auto;
width: 100%;
border-bottom: 1px solid var(--background-modifier-border);
padding-left: var(--folding-offset); }
.is-mobile .document-search,
.is-mobile .document-replace {
margin: 0 auto;
padding-left: 0;
padding-right: 0;
max-width: calc(var(--max-width) + 2%);
width: var(--line-width-adaptive); }
.is-mobile.minimal-readable-off .document-search,
.is-mobile.minimal-readable-off .document-replace {
width: 100%; }
.is-mobile .document-search-container input[type='text'] {
width: auto;
margin: 0 8px 0 0;
height: 36px;
padding: 5px 10px 5px 10px;
border-radius: 6px;
min-width: 90px;
border: 1px solid var(--background-modifier-border);
background-color: var(--background-primary); }
.is-mobile .document-search-container .document-search-input[type='text'] {
padding-left: 30px; }
.is-mobile .document-search .document-search-buttons,
.is-mobile .document-replace button {
flex-grow: 0; }
.is-mobile .document-search-container button.document-search-button {
width: auto;
margin: 0px;
background: transparent;
font-size: 14px;
height: 36px;
padding: 0 2px;
white-space: nowrap; }
.is-mobile .document-search .document-search-close-button,
.is-mobile .document-replace .document-search-close-button {
height: 30px;
line-height: 30px; }
/* Settings */
.modal.mod-sync-history,
.modal.mod-sync-log,
.modal.mod-publish,
.modal.mod-community-plugin,
.modal.mod-settings {
width: 90vw;
height: 100vh;
max-height: 90vh;
max-width: 1000px; }
.modal.mod-settings .vertical-tab-header,
.modal.mod-settings .vertical-tab-content-container {
height: 90vh; }
.setting-item-name,
.community-plugin-name,
.modal.mod-settings .vertical-tab-content-container {
font-size: var(--font-settings);
line-height: 1.3; }
.modal .modal-content > h2 {
text-align: left;
font-size: var(--h1);
font-weight: 600; }
.modal.mod-settings .vertical-tab-content h1,
.modal.mod-settings .vertical-tab-content h2,
.modal.mod-settings .vertical-tab-content h3 {
text-align: left;
font-size: var(--h1);
font-weight: 600; }
.modal .modal-content > h2:first-child,
.modal.mod-settings .vertical-tab-content > h2:first-child,
.modal.mod-settings .vertical-tab-content > h3:first-child {
margin-top: 0; }
.community-plugin-search-summary,
.setting-item-description,
.community-plugin-item .community-plugin-author,
.community-plugin-downloads,
.community-plugin-item .community-plugin-desc {
font-size: var(--font-settings-small);
line-height: 1.3;
font-weight: 400; }
.style-settings-collapse-indicator {
margin-right: 6px; }
.modal .vertical-tab-nav-item {
font-size: var(--font-small);
line-height: 1.3; }
.community-plugin-search .setting-item {
margin-right: 10px; }
.flair.mod-pop {
letter-spacing: 0;
text-transform: none;
vertical-align: unset;
top: -1px; }
.community-plugin-search {
padding: 20px 0 0 0;
background-color: var(--background-secondary);
border-right: 1px solid var(--background-divider);
flex: 0 0 270px; }
.community-plugin-search-summary {
border-bottom: 1px solid var(--background-divider);
padding-bottom: 10px; }
.community-plugin-info p button {
margin-right: 8px; }
.community-plugin-item {
margin: 0;
cursor: var(--cursor);
padding-top: 15px;
border-bottom: 1px solid var(--background-divider); }
.community-plugin-item:hover {
background-color: var(--background-tertiary); }
.community-plugin-item .community-plugin-name {
font-weight: 500; }
.community-plugin-item .community-plugin-author {
color: var(--text-muted);
padding-bottom: 10px; }
.community-plugin-item .community-plugin-desc {
color: var(--text-normal);
font-size: var(--font-small); }
.community-plugin-search .setting-item-info {
flex-grow: 0; }
.community-plugin-search .search-input-container {
margin-left: -5px;
margin-right: 5px; }
.modal .community-plugin-search .setting-item-control button {
display: flex;
align-items: center; }
.setting-item-control button {
padding: 0.5em 0.75em; }
button.mod-cta,
.modal button,
.modal button.mod-cta a {
font-size: var(--font-settings-small);
height: var(--input-height);
cursor: var(--cursor);
margin-right: 0px;
margin-left: 0px; }
/* Settings */
.modal.mod-settings .modal-content {
padding: 0; }
.modal.mod-settings .vertical-tab-content-container {
padding-top: 0; }
.modal.mod-settings .vertical-tab-content-container .vertical-tab-content {
padding-top: 30px; }
.horizontal-tab-content,
.vertical-tab-content {
background: var(--background-primary);
padding-bottom: 100px;
padding-left: 40px;
padding-right: 40px; }
.vertical-tab-header,
.vertical-tab-content {
padding-bottom: 100px; }
.modal.mod-community-plugin .modal-content {
padding: 0; }
.plugin-list-plugins {
overflow: visible; }
.clickable-icon {
margin: 0; }
.installed-plugins-container .clickable-icon {
margin: 0; }
.installed-plugins-container .clickable-icon[aria-label="Uninstall"] {
margin: 0; }
.plugin-list-plugins .clickable-icon {
margin: 0; }
.hotkey-list-container {
padding-right: 0; }
/* Themes */
body .modal.mod-community-theme {
max-width: 1000px; }
.community-theme-container {
padding-top: 10px; }
.community-theme-container,
.hotkey-settings-container {
height: auto;
overflow: visible; }
.theme-list {
justify-content: space-evenly; }
.community-theme-filters-container,
.hotkey-search-container {
padding: 0 0 20px 0; }
.modal.mod-community-theme {
padding: 0; }
.modal.mod-community-theme .modal-content {
padding: 30px; }
.community-theme {
padding: 0;
margin: 0 0 2em 0;
align-items: stretch;
background: transparent; }
.community-theme-title {
text-align: left;
font-size: var(--font-settings); }
.community-theme-info + div {
background-color: var(--background-secondary);
display: flex;
align-items: center;
padding: 0;
flex-grow: 1;
border-radius: 20px; }
.community-theme-info {
line-height: 1;
flex-grow: 0;
padding: 0 0 10px 0;
align-items: flex-end;
justify-content: flex-start;
flex-wrap: wrap; }
.community-theme-remove-button {
padding: 4px 6px;
display: flex;
color: var(--text-muted);
background-color: transparent; }
.community-theme .community-theme-screenshot {
max-width: 100%; }
body:not(.is-mobile) .theme-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0 2em; }
body:not(.is-mobile) .theme-list .community-theme {
align-self: stretch;
justify-self: center;
max-width: 100%;
width: 100%;
background-color: var(--background-secondary);
padding: 18px;
border-radius: var(--radius-l);
border: 2px solid transparent; }
body:not(.is-mobile) .theme-list .community-theme:hover {
border: 2px solid var(--text-accent); }
body:not(.is-mobile) .theme-list .community-theme.is-selected {
grid-column: 1/4;
grid-row: 1;
max-width: 100%;
display: grid;
grid-template-columns: 1.5fr 2fr;
padding: 20px 20px;
border-radius: var(--radius-xl);
border-color: transparent; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-info {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 30px 50px 440px;
margin: 0 40px 0 0; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-title {
grid-column: 1/3;
grid-row: 1/2;
text-align: left;
font-size: 2em;
font-weight: 500;
margin: 0; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-info + div {
display: flex;
align-items: center;
flex-grow: 1;
box-shadow: none; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-downloads {
text-align: right; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-remove-button {
bottom: 20px;
left: 0px;
right: auto;
top: auto;
color: var(--text-faint);
display: flex;
align-items: center; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-remove-button:after {
content: 'Delete theme';
padding-left: 5px; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-remove-button:hover {
color: var(--text-error); }
body:not(.is-mobile) .theme-list .community-theme.is-selected .modal-button-container {
grid-column: 2;
grid-row: 1/2;
margin-top: 0;
margin-left: auto;
margin-right: 0; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .modal-button-container button {
margin: 0;
width: 160px;
height: 36px;
cursor: pointer;
border: none;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
body:not(.is-mobile) .theme-list .community-theme.is-selected .modal-button-container button:hover {
background-color: var(--ax2); }
body:not(.is-mobile) .theme-list .community-theme.is-selected .modal-button-container button:not(.mod-cta) {
display: none; }
body:not(.is-mobile) .theme-list .community-theme.is-selected .community-theme-info::after {
grid-column: 1/3;
grid-row: 3/4;
padding-top: 20px;
align-self: flex-start;
justify-self: flex-start;
content: var(--minimal-version);
color: var(--text-normal);
font-size: var(--font-adaptive-normal);
line-height: 1.4;
width: 100%;
position: relative;
white-space: pre-wrap;
text-align: left;
border: none; }
.community-theme-remove-button {
top: 15px; }
.community-theme-remove-button:hover {
color: var(--text-error); }
.community-theme.is-selected {
padding-left: 0;
padding-right: 0;
background-color: transparent;
color: var(--text-normal); }
.community-theme.is-selected .community-theme-info + div {
box-shadow: 0px 0.5px 1px 0.5px rgba(0, 0, 0, 0.1), inset 0 0 0 2px var(--text-accent); }
.community-theme.is-selected .community-theme-downloads,
.community-theme.is-selected .community-theme-info {
margin-bottom: 0;
color: var(--text-muted); }
.community-theme.is-selected .community-theme-info .clickable-icon {
width: 100%;
background-color: var(--background-primary);
border: 1px solid var(--background-modifier-border);
color: var(--text-normal);
cursor: pointer;
display: block;
text-align: center;
grid-column: 1/3;
padding: 7px 0;
margin: 20px 0 0;
height: 36px;
border-radius: 5px;
box-shadow: 0 1px 1px 0px var(--btn-shadow-color); }
.community-theme.is-selected .community-theme-info .clickable-icon:hover {
border: 1px solid var(--background-modifier-border-hover);
box-shadow: 0 2px 3px 0px var(--btn-shadow-color); }
.community-theme.is-selected .community-theme-info .clickable-icon::after {
content: "Learn more";
padding-left: 4px; }
.community-theme.is-selected .modal-button-container .mod-cta {
background-color: var(--interactive-accent);
color: white; }
.community-theme.is-selected .modal-button-container .mod-cta:hover {
background-color: var(--interactive-accent-hover); }
.modal.mod-settings .vertical-tab-header {
background: var(--background-secondary);
padding-top: 5px;
flex: 0 0 220px;
padding-bottom: 100px; }
.vertical-tab-header-group-title {
color: var(--text-faint);
text-transform: none;
font-size: 12px;
letter-spacing: 0;
font-weight: 500; }
.vertical-tab-nav-item {
padding: 5px 8px;
margin: 0 8px 0;
color: var(--text-muted);
font-weight: 400;
border: none;
background: var(--background-secondary);
cursor: var(--cursor);
border-radius: var(--radius-m); }
.vertical-tab-nav-item:hover {
color: var(--text-normal); }
.vertical-tab-nav-item.is-active {
color: var(--text-normal);
background-color: var(--background-tertiary); }
.setting-hotkey {
background-color: var(--background-tertiary);
padding: 3px 4px 3px 8px;
display: flex;
align-items: center; }
.setting-hotkey-icon.setting-delete-hotkey {
margin-left: 3px;
cursor: var(--cursor); }
.setting-delete-hotkey:hover {
background-color: transparent; }
body:not(.minimal-icons) .setting-hotkey-icon.setting-delete-hotkey svg {
width: 16px;
height: 16px; }
.setting-hotkey.mod-empty {
background: transparent;
color: var(--text-faint); }
.setting-item {
padding: 0.75rem 0; }
.setting-item-description {
padding-top: 4px; }
.setting-item-control {
margin-right: 0;
gap: 8px; }
/* Status bar */
.workspace-split.mod-left-split > .workspace-leaf-resize-handle,
.workspace-split.mod-right-split > .workspace-leaf-resize-handle {
height: 100%; }
.status-bar {
transition: color 200ms linear;
color: var(--text-faint);
font-size: var(--font-adaptive-smaller);
border-top: var(--border-width) solid var(--background-divider);
line-height: 1;
max-height: 24px; }
.minimal-status-off .status-bar {
background-color: var(--background-secondary);
border-width: var(--border-width);
padding: 2px 6px 4px; }
body:not(.minimal-status-off) .status-bar {
background-color: var(--background-primary);
z-index: 30;
border-top-left-radius: 5px;
width: auto;
position: absolute;
left: auto;
border: 0;
bottom: 0;
right: 0;
max-height: 26px;
padding: 2px 8px 6px 3px; }
/*
body.plugin-sliding-panes-rotate-header:not(.minimal-status-off) .status-bar {
border-top:1px solid var(--background-modifier-border);
border-left:1px solid var(--background-modifier-border);
}*/
.sync-status-icon.mod-working,
.sync-status-icon.mod-success {
color: var(--text-faint);
cursor: var(--cursor); }
.status-bar:hover .sync-status-icon.mod-working,
.status-bar:hover .sync-status-icon.mod-success,
.status-bar:hover {
color: var(--text-muted);
transition: color 200ms linear; }
.status-bar .plugin-sync:hover .sync-status-icon.mod-working,
.status-bar .plugin-sync:hover .sync-status-icon.mod-success {
color: var(--text-normal); }
.status-bar-item-segment {
margin-right: 10px; }
.status-bar-item,
.sync-status-icon {
display: flex;
align-items: center; }
.status-bar-item {
padding: 7px 4px;
margin: 0 0 0 0;
cursor: var(--cursor) !important; }
.status-bar-item .status-bar-item-icon {
line-height: 0; }
.status-bar-item.plugin-editor-status:hover, .status-bar-item.plugin-sync:hover, .status-bar-item.cMenu-statusbar-button:hover, .status-bar-item.mod-clickable:hover {
text-align: center;
background-color: var(--background-tertiary) !important;
border-radius: 4px; }
.status-bar-item.plugin-editor-status svg, .status-bar-item.plugin-sync svg {
height: 15px;
width: 15px; }
/* Syntax highlighting */
.theme-light code[class*="language-"],
.theme-light pre[class*="language-"],
.theme-dark code[class*="language-"],
.theme-dark pre[class*="language-"] {
color: var(--tx1); }
.theme-light .token.prolog,
.theme-light .token.doctype,
.theme-light .token.cdata,
.theme-light .cm-meta,
.theme-light .cm-qualifier,
.theme-dark .token.prolog,
.theme-dark .token.doctype,
.theme-dark .token.cdata,
.theme-dark .cm-meta,
.theme-dark .cm-qualifier {
color: var(--tx2); }
.theme-light .cm-comment,
.theme-light .token.comment,
.theme-dark .cm-comment,
.theme-dark .token.comment {
color: var(--tx2); }
.theme-light .token.tag,
.theme-light .token.constant,
.theme-light .token.symbol,
.theme-light .token.deleted,
.theme-light .cm-tag,
.theme-dark .token.tag,
.theme-dark .token.constant,
.theme-dark .token.symbol,
.theme-dark .token.deleted,
.theme-dark .cm-tag {
color: var(--red); }
.theme-light .token.punctuation,
.theme-light .cm-punctuation,
.theme-light .cm-bracket,
.theme-light .cm-hr,
.theme-dark .token.punctuation,
.theme-dark .cm-punctuation,
.theme-dark .cm-bracket,
.theme-dark .cm-hr {
color: var(--tx2); }
.theme-light .token.boolean,
.theme-light .token.number,
.theme-light .cm-number,
.theme-dark .token.boolean,
.theme-dark .token.number,
.theme-dark .cm-number {
color: var(--purple); }
.theme-light .token.selector,
.theme-light .token.attr-name,
.theme-light .token.string,
.theme-light .token.char,
.theme-light .token.builtin,
.theme-light .token.inserted,
.theme-light .cm-string,
.theme-light .cm-string-2,
.theme-dark .token.selector,
.theme-dark .token.attr-name,
.theme-dark .token.string,
.theme-dark .token.char,
.theme-dark .token.builtin,
.theme-dark .token.inserted,
.theme-dark .cm-string,
.theme-dark .cm-string-2 {
color: var(--green); }
.theme-light .cm-property,
.theme-light .token.property,
.theme-light .token.operator,
.theme-light .token.entity,
.theme-light .token.url,
.theme-light .language-css .token.string,
.theme-light .style .token.string,
.theme-light .token.variable,
.theme-light .cm-operator,
.theme-light .cm-link,
.theme-light .cm-variable-2,
.theme-light .cm-variable-3,
.theme-dark .cm-property,
.theme-dark .token.property,
.theme-dark .token.operator,
.theme-dark .token.entity,
.theme-dark .token.url,
.theme-dark .language-css .token.string,
.theme-dark .style .token.string,
.theme-dark .token.variable,
.theme-dark .cm-operator,
.theme-dark .cm-link,
.theme-dark .cm-variable-2,
.theme-dark .cm-variable-3 {
color: var(--cyan); }
.theme-light .token.atrule,
.theme-light .token.attr-value,
.theme-light .token.function,
.theme-light .token.class-name,
.theme-light .cm-attribute,
.theme-light .cm-variable,
.theme-light .cm-type,
.theme-light .cm-def,
.theme-dark .token.atrule,
.theme-dark .token.attr-value,
.theme-dark .token.function,
.theme-dark .token.class-name,
.theme-dark .cm-attribute,
.theme-dark .cm-variable,
.theme-dark .cm-type,
.theme-dark .cm-def {
color: var(--yellow); }
.theme-light .token.keyword,
.theme-light .cm-keyword,
.theme-light .cm-builtin,
.theme-dark .token.keyword,
.theme-dark .cm-keyword,
.theme-dark .cm-builtin {
color: var(--pink); }
.theme-light .token.regex,
.theme-light .token.important,
.theme-dark .token.regex,
.theme-dark .token.important {
color: var(--orange); }
/* Preview mode tables */
.markdown-source-view.mod-cm6 table {
border-collapse: collapse; }
.markdown-preview-view table {
margin-block-start: 1em; }
.markdown-source-view.mod-cm6 td,
.markdown-source-view.mod-cm6 th,
.markdown-preview-view th,
.markdown-preview-view td {
padding: 4px 10px; }
.markdown-source-view.mod-cm6 td,
.markdown-preview-view td {
font-size: var(--table-font-size); }
.markdown-source-view.mod-cm6 th,
.markdown-preview-view th {
font-weight: 400;
font-size: var(--table-font-size);
color: var(--text-muted);
border-top: none;
text-align: left; }
.markdown-source-view.mod-cm6 th[align="center"],
.markdown-preview-view th[align="center"] {
text-align: center; }
.markdown-source-view.mod-cm6 th[align="right"],
.markdown-preview-view th[align="right"] {
text-align: right; }
.markdown-source-view.mod-cm6 th:last-child,
.markdown-source-view.mod-cm6 td:last-child,
.markdown-preview-view th:last-child,
.markdown-preview-view td:last-child {
border-right: none; }
.markdown-source-view.mod-cm6 th:first-child,
.markdown-source-view.mod-cm6 td:first-child,
.markdown-preview-view th:first-child,
.markdown-preview-view td:first-child {
border-left: none;
padding-left: 0; }
.markdown-source-view.mod-cm6 tr:last-child td,
.markdown-preview-view tr:last-child td {
border-bottom: none; }
/* Legacy Editor Tables */
.CodeMirror pre.HyperMD-table-row {
font-family: var(--font-monospace);
font-size: var(--table-font-size); }
/* Live Preview Tables */
.is-live-preview .el-table {
width: 100%;
max-width: 100%; }
.cm-s-obsidian .HyperMD-table-row {
font-size: var(--table-font-size); }
.cm-s-obsidian .HyperMD-table-row span.cm-hmd-table-sep,
.cm-hmd-table-sep-dummy {
color: var(--text-faint);
font-weight: 400; }
/* Tags */
body.minimal-unstyled-tags .frontmatter-container .tag,
body.minimal-unstyled-tags a.tag,
body.minimal-unstyled-tags .cm-s-obsidian span.cm-hashtag {
color: var(--tag-color);
font-weight: var(--link-weight);
text-decoration: none; }
body.minimal-unstyled-tags .frontmatter-container .tag:hover,
body.minimal-unstyled-tags a.tag:hover,
body.minimal-unstyled-tags .cm-s-obsidian span.cm-hashtag:hover {
color: var(--text-normal); }
body:not(.minimal-unstyled-tags) .frontmatter-container .tag,
body:not(.minimal-unstyled-tags) a.tag {
background-color: var(--tag-bg);
border: var(--tag-border-width) solid var(--background-modifier-border);
color: var(--tag-color);
font-size: calc(var(--font-adaptive-normal) * 0.8);
font-weight: var(--link-weight);
font-family: var(--font-interface);
padding: 1px 8px;
text-align: center;
text-decoration: none;
vertical-align: middle;
display: inline-block;
margin: 1px 0;
border-radius: var(--tag-radius); }
body:not(.minimal-unstyled-tags) a.tag:hover {
color: var(--text-normal);
border-color: var(--background-modifier-border-hover);
background-color: var(--tag-bg2); }
body:not(.minimal-unstyled-tags) .cm-s-obsidian span.cm-hashtag {
background-color: var(--tag-bg);
border: var(--tag-border-width) solid var(--background-modifier-border);
color: var(--tag-color);
font-size: calc(var(--font-adaptive-normal) * 0.8);
font-family: var(--font-interface);
font-weight: var(--link-weight);
text-align: center;
text-decoration: none;
margin: 0;
vertical-align: text-bottom;
padding-top: 2px;
border-left: none;
border-right: none;
padding-bottom: 3px;
cursor: text; }
body:not(.minimal-unstyled-tags) .cm-s-obsidian span.cm-hashtag:hover {
background-color: var(--tag-bg2); }
body:not(.minimal-unstyled-tags) span.cm-hashtag.cm-hashtag-begin {
border-top-left-radius: var(--tag-radius);
border-bottom-left-radius: var(--tag-radius);
padding-left: 8px;
border-right: none;
border-left: var(--tag-border-width) solid var(--background-modifier-border); }
body:not(.minimal-unstyled-tags) span.cm-hashtag.cm-hashtag-end {
border-top-right-radius: var(--tag-radius);
border-bottom-right-radius: var(--tag-radius);
border-left: none;
padding-right: 8px;
border-right: var(--tag-border-width) solid var(--background-modifier-border); }
/* Tag pane */
.tag-container {
padding-left: 15px; }
.tag-pane-tag-count {
padding: 0;
color: var(--text-faint); }
.pane-list-item-ending-flair {
background: transparent; }
.tag-pane-tag {
padding: 2px 5px 2px 5px;
cursor: var(--cursor); }
.tag-pane-tag:hover {
background: transparent; }
.nav-file.is-active .nav-file-title:hover {
background: var(--background-tertiary) !important; }
.nav-file.is-active > .nav-file-title {
background: var(--background-tertiary); }
/* Tooltips */
.tooltip {
font-size: var(--font-adaptive-smaller);
line-height: 1.3;
font-weight: 500;
padding: 4px 8px;
border-radius: 4px;
transition: none;
text-align: left;
animation: none;
opacity: 0.8; }
.tooltip.mod-left,
.tooltip.mod-right {
transform: none;
animation: none; }
/* Title Bar */
/* Alignment */
.title-align-left:not(.plugin-sliding-panes-rotate-header) .view-header-title-container {
margin-left: 5px; }
.title-align-center:not(.plugin-sliding-panes-rotate-header) .view-header-title {
margin-left: 0;
padding-right: 0;
text-align: center; }
.title-align-left:not(.plugin-sliding-panes-rotate-header) .view-header-title-container,
.title-align-center:not(.plugin-sliding-panes-rotate-header) .view-header-title-container {
width: auto;
position: static; }
.mod-macos.hider-frameless:not(.is-fullscreen):not(.plugin-sliding-panes-rotate-header) .workspace-split.mod-left-split.is-collapsed + .mod-root .workspace-leaf:first-of-type .view-header-title-container {
max-width: calc(100% - (var(--traffic-x-space) * 2) - 30px); }
.mod-macos.is-popout-window.hider-frameless:not(.is-fullscreen):not(.plugin-sliding-panes-rotate-header) .mod-root .workspace-leaf:first-of-type .view-header-title-container {
max-width: calc(100% - (var(--traffic-x-space) * 2) - 30px); }
.view-header {
height: var(--header-height);
align-items: center; }
/* Left side title bar icon */
body:not(.minimal-icons-off) div.view-header-icon svg {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' enable-background='new 0 0 32 32' viewBox='0 0 32 32' xml:space='preserve'%3E%3Cpath d='M10 6h4v4h-4zm8 0h4v4h-4zm-8 8h4v4h-4zm8 0h4v4h-4zm-8 8h4v4h-4zm8 0h4v4h-4z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z'/%3E%3C/svg%3E"); }
.view-header-icon {
margin-left: var(--traffic-x-space);
opacity: 0;
top: 0;
left: 4px;
z-index: 20; }
.show-grabber .view-header-icon {
opacity: var(--icon-muted); }
.show-grabber .view-header-icon:hover {
opacity: 1; }
.view-header-icon:hover {
cursor: grab; }
.view-header-icon:active {
cursor: grabbing; }
/* Right side title bar icon */
.view-actions {
margin-right: 1px;
height: calc(var(--header-height) - 1px);
top: 0;
align-items: center;
z-index: 15;
background: var(--background-primary); }
/* Title area */
.view-header-title {
padding-right: 80px; }
/* Fade out title
body:not(.is-mobile) .view-header-title:before {
background:linear-gradient(90deg,transparent 0%,var(--background-primary) 80%);
width:50px;
content:" ";
height:var(--header-height);
display:inline-block;
vertical-align:bottom;
position:absolute;
right:50px;
pointer-events:none;
}*/
.workspace-leaf-header,
.view-header,
.workspace-leaf.mod-active .view-header,
.workspace-split.mod-root > .workspace-leaf:first-of-type:last-of-type .view-header {
background-color: var(--background-primary) !important;
border-top: none;
border-bottom: none; }
.view-header-title-container {
padding-left: 0;
padding-right: 0px;
position: absolute;
width: var(--line-width-adaptive);
max-width: var(--max-width);
margin: 0 auto;
left: 0;
right: 0; }
.view-header-title-container:after {
display: none; }
.view-actions {
padding: 0px 6px;
margin-right: 0px;
margin-left: auto;
transition: opacity 0.25s ease-in-out; }
.view-actions .view-action {
margin: 0;
top: 0;
padding: 4px;
border-radius: var(--radius-m);
display: flex;
align-items: center; }
body:not(.is-mobile) .view-actions .view-action {
height: 26px; }
.view-action.is-active {
color: var(--icon-color);
opacity: var(--icon-muted); }
body:not(.is-mobile) .view-actions .view-action:last-child {
margin-left: -1px; }
body:not(.minimal-focus-mode) .workspace-ribbon:not(.is-collapsed) ~ .mod-root .view-actions,
.minimal-focus-mode .workspace-ribbon:not(.is-collapsed) ~ .mod-root .view-header:hover .view-actions,
.workspace-ribbon.mod-left.is-collapsed ~ .mod-root .view-header:hover .view-actions,
.mod-right.is-collapsed ~ .mod-root .view-header:hover .view-actions,
.view-action.is-active:hover {
opacity: 1;
transition: opacity 0.25s ease-in-out; }
.view-content {
height: calc(100% - var(--header-height)); }
/* Window frame */
body:not(.hider-frameless):not(.is-fullscreen):not(.is-mobile) {
--titlebar-height:28px;
padding-top: var(--titlebar-height) !important; }
body:not(.hider-frameless):not(.is-fullscreen):not(.is-mobile) .titlebar {
background: var(--background-secondary);
border-bottom: var(--border-width) solid var(--background-divider);
height: var(--titlebar-height) !important;
top: 0 !important;
padding-top: 0 !important; }
body.hider-frameless .titlebar {
border-bottom: none; }
.mod-windows .titlebar-button:hover {
background-color: var(--background-primary-alt); }
.mod-windows .titlebar-button.mod-close:hover {
background-color: var(--background-modifier-error); }
.mod-windows .mod-close:hover svg {
fill: white !important;
stroke: white !important; }
.titlebar-button-container {
height: var(--titlebar-height);
top: 0;
display: flex;
align-items: center; }
.titlebar:hover .titlebar-button-container.mod-left {
opacity: 1; }
.is-focused .titlebar-text {
color: var(--text-normal); }
.titlebar-text {
font-weight: 600;
color: var(--text-faint);
letter-spacing: inherit; }
body:not(.window-title-on) .titlebar-text {
display: none; }
.titlebar-button:hover {
opacity: 1;
transition: opacity 100ms ease-out; }
.titlebar-button {
opacity: 0.5;
cursor: var(--cursor);
color: var(--text-muted);
padding: 2px 4px;
border-radius: 3px;
line-height: 1;
display: flex; }
.titlebar-button:hover {
background-color: var(--background-tertiary); }
.titlebar-button-container.mod-left .titlebar-button {
margin-right: 5px; }
.titlebar-button-container.mod-right .titlebar-button {
margin-left: 0;
border-radius: 0;
height: 100%;
align-items: center;
padding: 2px 15px; }
/* Workspace */
/* Empty state */
.empty-state {
background-color: var(--background-primary);
text-align: center; }
.workspace-leaf-content[data-type="empty"] .view-header,
.empty-state-title {
display: none; }
.empty-state-action-list {
color: var(--text-normal);
font-size: var(--font-adaptive-normal); }
/* Empty side pane */
.pane-empty {
text-align: center;
color: var(--text-faint);
font-size: var(--font-adaptive-small); }
.workspace-split.mod-root {
background-color: var(--background-primary); }
.workspace-split.mod-vertical > .workspace-split {
padding: 0; }
.workspace-split .workspace-tabs {
background: var(--background-primary); }
.workspace-split:not(.mod-right-split) .workspace-tabs {
background: var(--background-secondary); }
.workspace-split.mod-root > .workspace-leaf:first-of-type .workspace-leaf-content,
.workspace-split.mod-root > .workspace-leaf:last-of-type .workspace-leaf-content {
border-top-right-radius: 0px;
border-top-left-radius: 0px; }
/* Resize handles */
.workspace-split.mod-root.mod-horizontal .workspace-leaf-resize-handle,
.workspace-split.mod-root.mod-vertical .workspace-leaf-resize-handle {
border-width: 1px; }
.workspace-split.mod-horizontal > * > .workspace-leaf-resize-handle {
height: 3px;
background: transparent;
border-bottom: var(--border-width-alt) solid var(--background-divider); }
.workspace-split.mod-right-split > .workspace-leaf-resize-handle {
background: transparent;
border-left: var(--border-width-alt) solid var(--background-divider);
width: 3px !important; }
.workspace-split.mod-vertical > * > .workspace-leaf-resize-handle,
.workspace-split.mod-left-split > .workspace-leaf-resize-handle {
border-right: var(--border-width) solid var(--background-divider);
width: 4px !important;
background: transparent; }
.workspace-split.mod-right-split > .workspace-leaf-resize-handle:hover,
.workspace-split.mod-horizontal > * > .workspace-leaf-resize-handle:hover,
.workspace-split.mod-vertical > * > .workspace-leaf-resize-handle:hover,
.workspace-split.mod-left-split > .workspace-leaf-resize-handle:hover {
border-color: var(--background-modifier-border-hover);
transition: border-color 0.1s ease-in-out 0.05s, border-width 0.1s ease-in-out 0.05s;
border-width: 2px; }
.workspace-split.mod-right-split > .workspace-leaf-resize-handle:active,
.workspace-split.mod-horizontal > * > .workspace-leaf-resize-handle:active,
.workspace-split.mod-vertical > * > .workspace-leaf-resize-handle:active,
.workspace-split.mod-left-split > .workspace-leaf-resize-handle:active {
border-color: var(--background-modifier-border-focus);
border-width: 2px; }
.workspace-tab-container-before,
.workspace-tab-container-after {
width: 0; }
.workspace-leaf {
border-left: 0px; }
.workspace-tabs .workspace-leaf,
.workspace-tabs .workspace-leaf.mod-active {
border: none; }
.mod-horizontal .workspace-leaf {
border-bottom: 0px;
background-color: transparent;
box-shadow: none !important; }
.workspace-split.mod-right-split .workspace-tabs .workspace-leaf {
border-radius: 0; }
/* Effects on non-active panels */
.workspace-tab-container-inner {
background: transparent;
border-radius: 0;
width: 100%;
max-width: 100%;
margin: 0 auto;
padding-left: 5px; }
.workspace-tabs .workspace-tab-header-container {
border: none; }
.workspace-sidedock-empty-state + .workspace-tabs .workspace-tab-header-container {
border-bottom: var(--border-width) solid var(--background-divider); }
.mod-right-split .workspace-tabs .nav-buttons-container {
z-index: 1; }
.workspace-tab-header.is-before-active .workspace-tab-header-inner,
.workspace-tab-header.is-active,
.workspace-tab-header.is-after-active,
.workspace-tab-header.is-after-active .workspace-tab-header-inner,
.workspace-tab-header.is-before-active,
.workspace-tab-header.is-after-active {
background: transparent; }
.workspace-tabs {
border: 0;
padding-right: 0;
font-size: 100%; }
.workspace-tab-container-inner {
padding-left: 6px; }
.workspace-tab-header-inner {
padding: 0px 0px 0 2px; }
.workspace-tab-header-container {
height: var(--header-height);
padding: 0;
align-items: center;
background-color: transparent; }
.workspace-tab-header-container {
border-bottom: var(--border-width) solid var(--background-divider); }
/* Components */
/* Audio files */
.theme-dark audio {
filter: none; }
.theme-dark audio::-webkit-media-controls-play-button,
.theme-dark audio::-internal-media-controls-overflow-button,
.theme-dark audio::-webkit-media-controls-timeline,
.theme-dark audio::-webkit-media-controls-volume-control-container,
.theme-dark audio::-webkit-media-controls-current-time-display,
.theme-dark audio::-webkit-media-controls-time-remaining-display,
.theme-dark audio::-internal-media-controls-overflow-button {
filter: invert(1); }
audio {
height: 36px;
border-radius: 4px; }
audio::-webkit-media-controls-enclosure {
border: 1px solid var(--background-modifier-border);
background-color: var(--background-secondary); }
audio::-webkit-media-controls-current-time-display {
color: var(--text-normal);
font-family: var(--font-interface);
font-size: var(--font-adaptive-small);
text-shadow: none; }
audio::-webkit-media-controls-time-remaining-display {
color: var(--text-muted);
font-family: var(--font-interface);
font-size: var(--font-adaptive-small);
text-shadow: none; }
audio::-webkit-media-controls-panel {
padding: 2px 1.5px; }
audio::-webkit-media-controls input[pseudo="-internal-media-controls-overflow-button" i]:enabled:hover::-internal-media-controls-button-hover-background {
background-color: transparent; }
/* Buttons */
button {
cursor: var(--cursor); }
button,
.setting-item-control button {
font-family: var(--font-interface);
font-size: var(--font-inputs);
font-weight: 400;
border-radius: var(--radius-m); }
button:active,
button:focus {
-webkit-appearance: none;
border-color: var(--background-modifier-border-hover); }
body:not(.is-mobile) button:active,
body:not(.is-mobile) button:focus {
box-shadow: 0 0 0px 2px var(--background-modifier-border-hover); }
.modal.mod-settings button:not(.mod-cta):not(.mod-warning),
.modal button:not(.mod-warning),
.modal.mod-settings button:not(.mod-warning) {
background-color: var(--interactive-normal);
color: var(--text-normal);
border: 1px solid var(--background-modifier-border);
box-shadow: 0 1px 1px 0px var(--btn-shadow-color);
cursor: var(--cursor);
height: var(--input-height);
line-height: 0;
white-space: nowrap;
transition: background-color 0.2s ease-out, border-color 0.2s ease-out; }
button.mod-warning {
border: 1px solid var(--background-modifier-error);
color: var(--text-error);
box-shadow: 0 1px 1px 0px var(--btn-shadow-color);
transition: background-color 0.2s ease-out; }
button.mod-warning:hover {
border: 1px solid var(--background-modifier-error);
color: var(--text-error);
box-shadow: 0 2px 3px 0px var(--btn-shadow-color);
transition: background-color 0.2s ease-out; }
button:hover,
.modal button:not(.mod-warning):hover,
.modal.mod-settings button:not(.mod-warning):hover {
background-color: var(--interactive-normal);
border-color: var(--background-modifier-border-hover);
box-shadow: 0 2px 3px 0px var(--btn-shadow-color);
transition: background-color 0.2s ease-out, border-color 0.2s ease-out; }
.is-mobile button.copy-code-button {
width: auto;
margin-right: 4px; }
/* Dropdowns */
.dropdown,
body .addChoiceBox #addChoiceTypeSelector {
font-family: var(--font-interface);
font-size: var(--font-inputs); }
.dropdown,
select {
box-shadow: 0 1px 1px 0px var(--btn-shadow-color);
background-color: var(--interactive-normal);
border-color: var(--background-modifier-border);
transition: border-color 0.1s linear;
height: var(--input-height);
font-family: var(--font-interface);
border-radius: var(--radius-m); }
.dropdown {
background-image: url("data:image/svg+xml;charset=US-ASCII,