mirror of
https://github.com/danbulant/notes
synced 2026-05-19 04:18:49 +00:00
vault backup: 2022-11-15 13:25:02
This commit is contained in:
parent
116eb2f5c0
commit
7e60d1db92
6 changed files with 41616 additions and 2 deletions
|
|
@ -13,7 +13,7 @@
|
|||
{
|
||||
"path": "/",
|
||||
"date": "2022-11-15",
|
||||
"size": 921925
|
||||
"size": 921954
|
||||
}
|
||||
],
|
||||
"activityHistory": [
|
||||
|
|
@ -902,7 +902,7 @@
|
|||
},
|
||||
{
|
||||
"date": "2022-11-15",
|
||||
"value": 85
|
||||
"value": 114
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
40581
notes/.obsidian/plugins/obsidian-math-plus/main.js
vendored
Normal file
40581
notes/.obsidian/plugins/obsidian-math-plus/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
notes/.obsidian/plugins/obsidian-math-plus/manifest.json
vendored
Normal file
10
notes/.obsidian/plugins/obsidian-math-plus/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-math-plus",
|
||||
"name": "Obsidian Math+",
|
||||
"version": "0.4.2",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "This is an Obsidian plugin for taking math notes using Excalidraw.",
|
||||
"author": "Oscar Capraro",
|
||||
"authorUrl": "https://github.com/ocapraro",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
545
notes/.obsidian/plugins/obsidian-math-plus/styles.css
vendored
Normal file
545
notes/.obsidian/plugins/obsidian-math-plus/styles.css
vendored
Normal file
|
|
@ -0,0 +1,545 @@
|
|||
/* Sets all the text color to red! */
|
||||
/* body {
|
||||
color: red;
|
||||
} */
|
||||
|
||||
|
||||
|
||||
.block-language-math mjx-container.MathJax, .livePrevPlus mjx-container.MathJax {
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
.block-language-math {
|
||||
position: relative;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
/* .block-language-math:active {
|
||||
min-height: 0;
|
||||
} */
|
||||
|
||||
/* Math Block Webkit Resizer */
|
||||
|
||||
.cm-preview-code-block:hover .block-language-math::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.block-language-math::after {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
content:'';
|
||||
position: fixed;
|
||||
right: 4px;
|
||||
bottom: 4px;
|
||||
background: linear-gradient( 315deg,
|
||||
var(--text-normal), var(--text-normal) 1px,
|
||||
transparent 1px, transparent 3px,
|
||||
var(--text-normal) 3px, var(--text-normal) 4px,
|
||||
transparent 4px, transparent 6px,
|
||||
var(--text-normal) 6px, var(--text-normal) 7px,
|
||||
transparent 7px, transparent 9px
|
||||
);
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 500ms;
|
||||
}
|
||||
|
||||
.block-language-math::-webkit-resizer {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.block-language-math::-webkit-scrollbar-corner {
|
||||
background: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
/* .block-language-math:not(:hover)::-webkit-resizer {
|
||||
background-color: transparent;
|
||||
transition: all 10000ms;
|
||||
} */
|
||||
|
||||
.block-language-math ~ .edit-block-button {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* .block-language-math::-webkit-scrollbar-track {
|
||||
background: #202020;
|
||||
} */
|
||||
|
||||
/* .block-language-math:hover::-webkit-scrollbar-track {
|
||||
background: unset;
|
||||
transition: all 300ms;
|
||||
} */
|
||||
|
||||
.block-language-math.editing {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Fix Border Flickering */
|
||||
.markdown-source-view.mod-cm6 .cm-embed-block {
|
||||
border: none;
|
||||
box-shadow: 0 0 0 2px transparent;
|
||||
transition: box-shadow 500ms;
|
||||
}
|
||||
|
||||
.markdown-source-view.mod-cm6 .cm-embed-block:hover {
|
||||
box-shadow: 0 0 0 2px var(--background-modifier-border);
|
||||
}
|
||||
|
||||
/* Fix Expanding Toolbar */
|
||||
.excalidraw .App-bottom-bar > .Island {
|
||||
width: unset;
|
||||
min-width: unset;
|
||||
}
|
||||
|
||||
.excalidraw .ToolIcon_type_button {
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.big-text-area {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.big-text-area textarea {
|
||||
overflow-wrap: normal;
|
||||
height: 300px;
|
||||
width: 500px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.big-text-area .setting-item-control {
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.math-pill {
|
||||
height: 3.5px;
|
||||
width: 50%;
|
||||
background-color: var(--background-modifier-border);
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
border-radius: 10px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.math-pill:after{
|
||||
content: "";
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
left: -5px;
|
||||
display: block;
|
||||
width: calc(100% + 10px);
|
||||
height: 12px;
|
||||
top: -5px;
|
||||
}
|
||||
|
||||
.math-button-group {
|
||||
margin-right: 25px;
|
||||
position: fixed;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
z-index: 2;
|
||||
padding: 0;
|
||||
/* margin-top: calc(-20px - calc(var(--font-text-size) - 16px)); */
|
||||
}
|
||||
|
||||
.markdown-reading-view .math-button-group {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.math-button {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
padding: 5px;
|
||||
display: flex;
|
||||
position: relative;
|
||||
background-color: var(--interactive-accent);
|
||||
color: var(--text-on-accent);
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
margin-right: 7px;
|
||||
opacity: 0;
|
||||
z-index: 1;
|
||||
transition: opacity 500ms;
|
||||
}
|
||||
|
||||
.block-language-math:not(.user-sized) .math-button.snap-button{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.block-language-math svg{
|
||||
display: block;
|
||||
width: 16px;
|
||||
fill: var(--text-on-accent);
|
||||
}
|
||||
|
||||
.math-svg-wrapper > svg {
|
||||
height: calc(100% + 500px);
|
||||
width: unset;
|
||||
filter: var(--theme-filter);
|
||||
margin-left: -500px;
|
||||
margin-top: -500px;
|
||||
}
|
||||
|
||||
.math-svg-wrapper {
|
||||
top: 0;
|
||||
position: absolute;
|
||||
height: calc(100% + 20px);
|
||||
margin-top: -9px;
|
||||
margin-left: -9px;
|
||||
overflow: hidden;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.markdown-reading-view .math-svg-wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* Canvas */
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw-canvas {
|
||||
font-family: sans-serif;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
/* position: absolute; */
|
||||
}
|
||||
.excalidraw-canvas-wrapper {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.button-wrapper button {
|
||||
z-index: 1;
|
||||
height: 40px;
|
||||
max-width: 200px;
|
||||
margin: 10px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw .App-menu_top .buttonList {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw-wrapper {
|
||||
height: 100%;
|
||||
/* // margin: 50px; */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw {
|
||||
background: #fff0 !important;
|
||||
}
|
||||
|
||||
:root[dir="ltr"]
|
||||
.excalidraw-canvas-wrapper
|
||||
.excalidraw
|
||||
.layer-ui__wrapper
|
||||
.zen-mode-transition.App-menu_bottom--transition-left {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw .panelColumn {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.export-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 50px;
|
||||
|
||||
/* &__checkbox {
|
||||
display: flex;
|
||||
} */
|
||||
}
|
||||
|
||||
/* Hide UI */
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section:not(:first-of-type) {
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.hidden-color-picker .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section:not(:first-of-type) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section:not(:first-of-type) input {
|
||||
height: 30px;
|
||||
caret-color: var(--caret-color);
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section:not(:first-of-type) .popover {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section:last-of-type .panelColumn > * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section:last-of-type .panelColumn > div:first-of-type {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section:last-of-type .panelColumn > h3:first-of-type {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-bottom-bar.App-bottom-bar.App-bottom-bar, .excalidraw-canvas-wrapper .HintViewer.HintViewer.HintViewer, .excalidraw-canvas-wrapper .App-menu_bottom.App-menu_bottom.App-menu_bottom {
|
||||
display: none ;
|
||||
}
|
||||
|
||||
/* Hide Buttons */
|
||||
.excalidraw-canvas-wrapper .App-toolbar label[title="Insert image — 9"] {
|
||||
display: none;
|
||||
}
|
||||
.no-diamond .App-toolbar label[title="Diamond — D or 3"] {
|
||||
display: none;
|
||||
}
|
||||
.no-ellipse .App-toolbar label[title="Ellipse — E or 4"] {
|
||||
display: none;
|
||||
}
|
||||
.no-line .App-toolbar label[title="Line — P or 6"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-select .App-toolbar label[title="Selection — V or 1"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-rect .App-toolbar label[title="Rectangle — R or 2"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-arrow .App-toolbar label[title="Arrow — A or 5"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-pen .App-toolbar label[title="Draw — X or 7"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-text .App-toolbar label[title="Text — T or 8"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Style UI */
|
||||
.excalidraw-canvas-wrapper .App-toolbar-container.App-toolbar-container.App-toolbar-container > * {
|
||||
display: none;
|
||||
}
|
||||
.excalidraw-canvas-wrapper .App-toolbar-container .Island.App-toolbar {
|
||||
display: block;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
opacity: 0;
|
||||
transition: opacity 300ms;
|
||||
}
|
||||
|
||||
.cm-preview-code-block:hover .App-toolbar-container .Island.App-toolbar, .cm-preview-code-block:hover button, .cm-preview-code-block:hover .math-button,.cm-preview-code-block:hover .math-color-box {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .App-toolbar .Stack.Stack_horizontal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px solid var(--background-modifier-border);
|
||||
border-right: none;
|
||||
background-color: none;
|
||||
padding: 10px;
|
||||
padding-right: 5px;
|
||||
border-radius: 10px 0 0 10px;
|
||||
font-size: 16px;
|
||||
/* position: absolute; */
|
||||
/* right: 0; */
|
||||
/* top: 50%; */
|
||||
/* transform: translateY(-50%); */
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .FixedSideContainer.FixedSideContainer_side_top {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .FixedSideContainer.FixedSideContainer_side_top.App-top-bar section, .excalidraw-canvas-wrapper .App-menu_top.App-menu_top.App-menu_top > section {
|
||||
position: absolute;
|
||||
top: calc(50% - 20px);
|
||||
transform: translateY(-50%);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw section {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw * {
|
||||
caret-color: #000;
|
||||
}
|
||||
|
||||
/* Color Picker */
|
||||
.math-color-swatch {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-color: #000;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
filter: var(--theme-filter);
|
||||
}
|
||||
|
||||
.math-color-box {
|
||||
display: flex;
|
||||
background-color: var(--background-primary);
|
||||
position: absolute;
|
||||
gap: 10px;
|
||||
left: 50%;
|
||||
bottom: 3px;
|
||||
z-index: 2;
|
||||
transform: translateX(-50%);
|
||||
padding: 12px 20px;
|
||||
border-radius: 100px;
|
||||
border: 2px solid var(--background-modifier-border);
|
||||
box-shadow: 0 0 0 1px rgb(0 0 0 / 1%), 1px 1px 5px rgb(0 0 0 / 12%);
|
||||
padding-top: 15px;
|
||||
opacity: 0;
|
||||
transition: bottom 200ms, opacity 300ms;
|
||||
}
|
||||
|
||||
.math-color-box.minimized:hover {
|
||||
bottom: -35px;
|
||||
}
|
||||
|
||||
.math-color-box.minimized {
|
||||
bottom: -40px;
|
||||
}
|
||||
|
||||
.math-color-swatch.selected {
|
||||
cursor: unset;
|
||||
}
|
||||
|
||||
.math-color-swatch.selected:before {
|
||||
filter: var(--theme-filter);
|
||||
content: " ";
|
||||
border: 1.5px solid var(--background-primary);
|
||||
border-radius: 100px;
|
||||
/* height: 10px; */
|
||||
height: 17px;
|
||||
transform: scale(0.8);
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Small UI */
|
||||
.excalidraw-canvas-wrapper .small-canvas section{
|
||||
max-width: 60px;
|
||||
transition: max-width 300ms;
|
||||
top: unset !important;
|
||||
bottom: 8px;
|
||||
margin-bottom: -25px;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .small-canvas section:hover {
|
||||
max-width: 250px;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .small-canvas section .Stack_horizontal .Stack_horizontal {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .small-canvas .App-menu_top.App-menu_top.App-menu_top > .Stack.Stack_vertical section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Small Math block */
|
||||
.small-math-block .math-color-box {
|
||||
bottom: 2px;
|
||||
}
|
||||
|
||||
.small-math-block .math-color-box.minimized:hover {
|
||||
bottom: -34px;
|
||||
}
|
||||
|
||||
.small-math-block .math-color-box.minimized {
|
||||
bottom: -40px;
|
||||
}
|
||||
|
||||
.cm-gutterElement {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Live Preview */
|
||||
.livePrevPlusBox {
|
||||
/* border: 2px solid aqua !important; */
|
||||
/* background-color: #ccc; */
|
||||
border: 2px solid var( --icon-fill-color) !important;
|
||||
}
|
||||
|
||||
.livePrevPlusBox:active {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.livePrevPlusBox .edit-block-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.livePrevPlusBox .livePrevPlus.livePrevPlus mjx-container {
|
||||
margin-top: 0;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
/* Vars */
|
||||
.excalidraw-canvas-wrapper .excalidraw {
|
||||
--color-primary: var(--interactive-accent) !important;
|
||||
--color-primary-darker: #f783ac;
|
||||
--color-primary-darkest: #e64980;
|
||||
--color-primary-light: #fcc2d7;
|
||||
--color-primary-chubb: #faa2c1;
|
||||
--theme-filter: none;
|
||||
}
|
||||
|
||||
.excalidraw-canvas-wrapper .excalidraw.theme--dark{
|
||||
--theme-filter:unset;
|
||||
--icon-fill-color: unset;
|
||||
}
|
||||
|
||||
.theme-dark {
|
||||
--theme-filter: invert(93%) hue-rotate(180deg);
|
||||
--icon-fill-color: #ced4da;
|
||||
--caret-color: #fff;
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--theme-filter: none;
|
||||
--icon-fill-color: #414244;
|
||||
--caret-color: #000;
|
||||
}
|
||||
6
notes/.obsidian/themes/Atom/manifest.json
vendored
Normal file
6
notes/.obsidian/themes/Atom/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "Atom",
|
||||
"version": "0.0.0",
|
||||
"minAppVersion": "0.16.0",
|
||||
"author": "kognise"
|
||||
}
|
||||
472
notes/.obsidian/themes/Atom/theme.css
vendored
Normal file
472
notes/.obsidian/themes/Atom/theme.css
vendored
Normal file
|
|
@ -0,0 +1,472 @@
|
|||
.theme-dark {
|
||||
--background-primary: #272b34;
|
||||
--background-primary-alt: #20242b;
|
||||
--background-secondary: #20242b;
|
||||
--background-secondary-alt: #1a1e24;
|
||||
--background-accent: #000;
|
||||
--background-modifier-border: #424958;
|
||||
--background-modifier-form-field: rgba(0, 0, 0, 0.3);
|
||||
--background-modifier-form-field-highlighted: rgba(0, 0, 0, 0.22);
|
||||
--background-modifier-box-shadow: rgba(0, 0, 0, 0.3);
|
||||
--background-modifier-success: #539126;
|
||||
--background-modifier-error: #3d0000;
|
||||
--background-modifier-error-rgb: 61, 0, 0;
|
||||
--background-modifier-error-hover: #470000;
|
||||
--background-modifier-cover: rgba(0, 0, 0, 0.6);
|
||||
--text-accent: #61afef;
|
||||
--text-accent-hover: #69bafd;
|
||||
--text-normal: #dcddde;
|
||||
--text-muted: #888;
|
||||
--text-faint: rgb(81, 86, 99);
|
||||
--text-error: #e16d76;
|
||||
--text-error-hover: #c9626a;
|
||||
--text-highlight-bg: rgba(255, 255, 0, 0.4);
|
||||
--text-selection: rgba(0, 122, 255, 0.2);
|
||||
--text-on-accent: #dcddde;
|
||||
--interactive-normal: #20242b;
|
||||
--interactive-hover: #353b47;
|
||||
--interactive-accent: #4c78cc;
|
||||
--interactive-accent-rgb: 76, 120, 204;
|
||||
--interactive-accent-hover: #5082df;
|
||||
--scrollbar-active-thumb-bg: rgba(255, 255, 255, 0.2);
|
||||
--scrollbar-bg: rgba(255, 255, 255, 0.05);
|
||||
--scrollbar-thumb-bg: rgba(255, 255, 255, 0.1);
|
||||
--panel-border-color: #18191e;
|
||||
--gray-1: #5C6370;
|
||||
--gray-2: #abb2bf;
|
||||
--red: #e06c75;
|
||||
--orange: #d19a66;
|
||||
--green: #98c379;
|
||||
--aqua: #56b6c2;
|
||||
--purple: #c678dd;
|
||||
--blue: #61afef;
|
||||
--yellow: #e5c07b;
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--background-primary: #fafafa;
|
||||
--background-primary-alt: #eaeaeb;
|
||||
--background-secondary: #eaeaeb;
|
||||
--background-secondary-alt: #dbdbdc;
|
||||
--background-accent: #fff;
|
||||
--background-modifier-border: #dbdbdc;
|
||||
--background-modifier-form-field: #fff;
|
||||
--background-modifier-form-field-highlighted: #fff;
|
||||
--background-modifier-box-shadow: rgba(0, 0, 0, 0.1);
|
||||
--background-modifier-success: #A4E7C3;
|
||||
--background-modifier-error: #e68787;
|
||||
--background-modifier-error-rgb: 230, 135, 135;
|
||||
--background-modifier-error-hover: #FF9494;
|
||||
--background-modifier-cover: rgba(0, 0, 0, 0.8);
|
||||
--text-accent: #1592ff;
|
||||
--text-accent-hover: #2d9dff;
|
||||
--text-normal: #383a42;
|
||||
--text-muted: #8e8e90;
|
||||
--text-faint: #999999;
|
||||
--text-error: #e75545;
|
||||
--text-error-hover: #f86959;
|
||||
--text-highlight-bg: rgba(255, 255, 0, 0.4);
|
||||
--text-selection: rgba(0, 122, 255, 0.15);
|
||||
--text-on-accent: #f2f2f2;
|
||||
--interactive-normal: #eaeaeb;
|
||||
--interactive-hover: #dbdbdc;
|
||||
--interactive-accent-rgb: 21, 146, 255;
|
||||
--interactive-accent: #5871ef;
|
||||
--interactive-accent-hover: #445bd1;
|
||||
--scrollbar-active-thumb-bg: rgba(0, 0, 0, 0.2);
|
||||
--scrollbar-bg: rgba(0, 0, 0, 0.05);
|
||||
--scrollbar-thumb-bg: rgba(0, 0, 0, 0.1);
|
||||
--panel-border-color: #dbdbdc;
|
||||
--gray-1: #383a42;
|
||||
--gray-2: #383a42;
|
||||
--red: #e75545;
|
||||
--green: #4ea24c;
|
||||
--blue: #3d74f6;
|
||||
--purple: #a625a4;
|
||||
--aqua: #0084bc;
|
||||
--yellow: #e35649;
|
||||
--orange: #986800;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: auto;
|
||||
}
|
||||
|
||||
.titlebar {
|
||||
background-color: var(--background-secondary-alt);
|
||||
}
|
||||
|
||||
.titlebar-inner {
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.tooltip:not(.mod-right):not(.mod-left):not(.mod-top) .tooltip-arrow {
|
||||
border-bottom-color: var(--background-secondary-alt) !important;
|
||||
}
|
||||
|
||||
.mod-right .tooltip-arrow {
|
||||
border-right-color: var(--background-secondary-alt) !important;
|
||||
}
|
||||
|
||||
.mod-left .tooltip-arrow {
|
||||
border-left-color: var(--background-secondary-alt) !important;
|
||||
}
|
||||
|
||||
.mod-top .tooltip-arrow {
|
||||
border-top-color: var(--background-secondary-alt) !important;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
cursor: pointer;
|
||||
background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234c78cc%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);
|
||||
}
|
||||
|
||||
.dropdown:hover {
|
||||
background-color: var(--background-modifier-form-field);
|
||||
}
|
||||
|
||||
.search-result-file-title {
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
li {
|
||||
padding-top: 0.5px;
|
||||
padding-bottom: 0.5px;
|
||||
}
|
||||
|
||||
a.tag, a.tag:hover {
|
||||
color: var(--yellow);
|
||||
background-color: var(--background-primary-alt);
|
||||
padding: 2px 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.markdown-preview-view .task-list-item-checkbox {
|
||||
-webkit-appearance: none;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--text-muted);
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
width: 1.3em;
|
||||
height: 1.3em;
|
||||
margin: 0;
|
||||
filter: none;
|
||||
outline: none;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 2px;
|
||||
cursor: pointer;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.markdown-preview-view .task-list-item-checkbox:checked {
|
||||
border: none;
|
||||
background-color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.markdown-preview-view .task-list-item-checkbox:checked::before {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
left: 2px;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
bottom: 2px;
|
||||
-webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 14 14\'%3E%3Cpolygon points=\'5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039\'%3E%3C/polygon%3E%3C/svg%3E');
|
||||
}
|
||||
|
||||
.markdown-preview-view .task-list-item.is-checked a {
|
||||
filter: saturate(0.8) brightness(0.7);
|
||||
}
|
||||
|
||||
.cm-formatting-task {
|
||||
font-family: var(--font-monospace);
|
||||
}
|
||||
|
||||
.nav-file, .nav-folder {
|
||||
padding: 1px 2px;
|
||||
}
|
||||
|
||||
.nav-file-title, .nav-folder-title {
|
||||
width: 100%;
|
||||
cursor: default;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex-direction: row;
|
||||
--text-normal: var(--text-muted);
|
||||
}
|
||||
|
||||
body:not(.is-grabbing) .nav-file .nav-file-title:hover:not(.is-active), body:not(.is-grabbing) .nav-folder .nav-folder-title:hover:not(.is-active) {
|
||||
--background-secondary-alt: transparent;
|
||||
}
|
||||
|
||||
.nav-file .is-active {
|
||||
--background-secondary-alt: var(--interactive-accent);
|
||||
--text-normal: #ffffff;
|
||||
}
|
||||
|
||||
.nav-file-title-content, .nav-folder-title-content {
|
||||
text-indent: 0;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.markdown-preview-view.is-readable-line-width .markdown-preview-section, .markdown-source-view.is-readable-line-width .CodeMirror {
|
||||
max-width: 900px !important;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 20px 0;
|
||||
border-radius: 4px !important;
|
||||
}
|
||||
|
||||
body {
|
||||
--font-monospace: 'Fira Code', 'Source Code Pro', monospace;
|
||||
}
|
||||
|
||||
mjx-container[jax='CHTML'] {
|
||||
text-align: left;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.math-block {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
.cm-s-obsidian pre.HyperMD-codeblock, .cm-s-obsidian span.cm-inline-code, .cm-s-obsidian span.cm-math:not(.cm-formatting-math-begin):not(.cm-formatting-math-end), .markdown-preview-view code {
|
||||
/* fix `` tag color */
|
||||
color: #98c379;
|
||||
}
|
||||
|
||||
.cm-s-obsidian span.cm-inline-code, .cm-s-obsidian span.cm-math, .cm-s-obsidian span.hmd-fold-math-placeholder {
|
||||
/* fix tag size */
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.markdown-preview-view code {
|
||||
vertical-align: 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.markdown-preview-section:not(:first-child) h1, .markdown-preview-section:not(:first-child) h2, .markdown-preview-section:not(:first-child) h3, .markdown-preview-section:not(:first-child) h4, .markdown-preview-section:not(:first-child) h5, .markdown-preview-section:not(:first-child) h6 {
|
||||
margin-top: 40px !important;
|
||||
}
|
||||
|
||||
.markdown-preview-section h1, .markdown-preview-section h2, .markdown-preview-section h3, .markdown-preview-section h4, .markdown-preview-section h5, .markdown-preview-section h6 {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, strong, b, .view-header-title {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.workspace>.workspace-split>.workspace-leaf:first-of-type:last-of-type .view-header {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.status-bar, .side-dock.mod-right, .side-dock.mod-left {
|
||||
border-color: var(--panel-border-color);
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.status-bar {
|
||||
--bar-vertical-padding: 4px;
|
||||
--bar-height: calc(22px + (var(--bar-vertical-padding) * 2));
|
||||
line-height: 20px;
|
||||
padding: 0 20px;
|
||||
height: var(--bar-height);
|
||||
max-height: var(--bar-height);
|
||||
min-height: var(--bar-height);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.status-bar-item {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
.status-bar-item>* {
|
||||
padding-top: var(--bar-vertical-padding) !important;
|
||||
padding-bottom: var(--bar-vertical-padding) !important;
|
||||
}
|
||||
|
||||
.side-dock-plugin-panel-inner {
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
a, .markdown-preview-view .internal-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover, .markdown-preview-view .internal-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.theme-dark :not(pre)>code[class*='language-'], .theme-dark pre[class*='language-'] {
|
||||
background: var(--background-primary-alt);
|
||||
}
|
||||
|
||||
.theme-light :not(pre)>code[class*='language-'], .theme-light pre[class*='language-'] {
|
||||
background: var(--background-primary);
|
||||
box-shadow: inset 0 0 0 1px var(--background-primary-alt);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.markdown-embed:not(.hover-popover .markdown-embed), .file-embed {
|
||||
margin: 0;
|
||||
border-radius: 4px;
|
||||
margin: 0 !important;
|
||||
margin-inline-start: 30px !important;
|
||||
margin-inline-end: 30px !important;
|
||||
}
|
||||
|
||||
.markdown-embed {
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-left-width: 5px;
|
||||
}
|
||||
|
||||
.markdown-embed .markdown-preview-view {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.markdown-embed-link, .file-embed-link {
|
||||
left: 8px;
|
||||
right: unset;
|
||||
}
|
||||
|
||||
.theme-light .token.operator, .theme-light .token.entity, .theme-light .token.url, .theme-light .language-css .token.string, .theme-light .style .token.string {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Source: https://github.com/AGMStudio/prism-theme-one-dark */
|
||||
|
||||
code[class*='language-'], pre[class*='language-'] {
|
||||
text-align: left !important;
|
||||
white-space: pre !important;
|
||||
word-spacing: normal !important;
|
||||
word-break: normal !important;
|
||||
word-wrap: normal !important;
|
||||
line-height: 1.5 !important;
|
||||
-moz-tab-size: 4 !important;
|
||||
-o-tab-size: 4 !important;
|
||||
tab-size: 4 !important;
|
||||
-webkit-hyphens: none !important;
|
||||
-moz-hyphens: none !important;
|
||||
-ms-hyphens: none !important;
|
||||
hyphens: none !important;
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
|
||||
pre[class*='language-'] {
|
||||
padding: 1em !important;
|
||||
margin: .5em 0 !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
|
||||
:not(pre)>code[class*='language-'] {
|
||||
padding: .1em !important;
|
||||
border-radius: .3em !important;
|
||||
white-space: normal !important;
|
||||
}
|
||||
|
||||
.token.comment, .token.prolog, .token.doctype, .token.cdata {
|
||||
color: var(--gray-1) !important;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: var(--gray-2) !important;
|
||||
}
|
||||
|
||||
.token.selector, .token.tag {
|
||||
color: var(--red) !important;
|
||||
}
|
||||
|
||||
.token.property, .token.boolean, .token.number, .token.constant, .token.symbol, .token.attr-name, .token.deleted {
|
||||
color: var(--orange) !important;
|
||||
}
|
||||
|
||||
.token.string, .token.char, .token.attr-value, .token.builtin, .token.inserted {
|
||||
color: var(--green) !important;
|
||||
}
|
||||
|
||||
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string {
|
||||
color: var(--aqua) !important;
|
||||
}
|
||||
|
||||
.token.atrule, .token.keyword {
|
||||
color: var(--purple) !important;
|
||||
}
|
||||
|
||||
.token.function, .token.macro.property {
|
||||
color: var(--blue) !important;
|
||||
}
|
||||
|
||||
.token.class-name {
|
||||
color: var(--yellow) !important;
|
||||
}
|
||||
|
||||
.token.regex, .token.important, .token.variable {
|
||||
color: var(--purple) !important;
|
||||
}
|
||||
|
||||
.token.important, .token.bold {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.token.italic {
|
||||
font-style: italic !important;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help !important;
|
||||
}
|
||||
|
||||
pre.line-numbers {
|
||||
position: relative !important;
|
||||
padding-left: 3.8em !important;
|
||||
counter-reset: linenumber !important;
|
||||
}
|
||||
|
||||
pre.line-numbers>code {
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
.line-numbers .line-numbers-rows {
|
||||
position: absolute !important;
|
||||
pointer-events: none !important;
|
||||
top: 0 !important;
|
||||
font-size: 100% !important;
|
||||
left: -3.8em !important;
|
||||
width: 3em !important;
|
||||
/* works for line-numbers below 1000 lines */
|
||||
letter-spacing: -1px !important;
|
||||
border-right: 0 !important;
|
||||
-webkit-user-select: none !important;
|
||||
-moz-user-select: none !important;
|
||||
-ms-user-select: none !important;
|
||||
user-select: none !important;
|
||||
}
|
||||
|
||||
.line-numbers-rows>span {
|
||||
pointer-events: none !important;
|
||||
display: block !important;
|
||||
counter-increment: linenumber !important;
|
||||
}
|
||||
|
||||
.line-numbers-rows>span:before {
|
||||
content: counter(linenumber) !important;
|
||||
color: var(--syntax-gray-1) !important;
|
||||
display: block !important;
|
||||
padding-right: 0.8em !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
Loading…
Reference in a new issue