vault backup: 2022-12-11 01:15:17

This commit is contained in:
Bram Adams
2022-12-11 01:15:17 -06:00
parent 934c51f510
commit 41c0b6be1a
46 changed files with 31662 additions and 141 deletions

View File

@@ -18,5 +18,11 @@
"obsidian-tasks-plugin",
"waypoint",
"templater-obsidian",
"note-refactor-obsidian"
"note-refactor-obsidian",
"obsidian-tracker",
"obsidian-map-view",
"new-tab-default-page",
"obsidian-excalidraw-plugin",
"simple-embeds",
"luhman"
]

View File

@@ -70,5 +70,14 @@
],
"key": "."
}
],
"luhman:open-zettel": [
{
"modifiers": [
"Alt",
"Shift"
],
"key": "Z"
}
]
}

637
.obsidian/plugins/luhman/main.js vendored Normal file

File diff suppressed because one or more lines are too long

10
.obsidian/plugins/luhman/manifest.json vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"id": "luhman",
"name": "Luhman",
"version": "1.1.4",
"minAppVersion": "0.11.13",
"description": "Commands for handling a zettelkasten with Luhmann-style IDs as filenames",
"author": "Dylan Elliott",
"authorUrl": "https://github.com/dyldog",
"isDesktopOnly": false
}

31
.obsidian/plugins/luhman/styles.css vendored Normal file
View File

@@ -0,0 +1,31 @@
.zettel-modal-container {
display: flex;
}
.zettel-modal-textbox {
flex-grow: 100;
margin-right: 10px;
}
.zettel-modal-container.zettel-options-container {
margin-top: 0.5em;
display: flex;
flex-direction: column;
}
.zettel-modal-container.zettel-options-container .zettel-label {
display: flex;
align-items: center;
justify-content: center;
}
.zettel-modal-container.zettel-options-container .labelText {
display: flex;
flex-grow: 1;
justify-content: center;
}
.zettel-modal-container.zettel-options-container input[type=checkbox] {
width: 2em;
height: 2em;
}

View File

@@ -0,0 +1,5 @@
{
"whatToOpen": "periodic-notes:open-daily-note",
"filePath": "",
"mode": "obsidian-default"
}

View File

@@ -0,0 +1,87 @@
{
"folder": "Excalidraw",
"embedUseExcalidrawFolder": false,
"templateFilePath": "Excalidraw/Template.excalidraw",
"scriptFolderPath": "Excalidraw/Scripts",
"compress": false,
"autosave": true,
"autosaveInterval": 15000,
"autosaveIntervalDesktop": 15000,
"autosaveIntervalMobile": 10000,
"drawingFilenamePrefix": "Drawing ",
"drawingEmbedPrefixWithFilename": true,
"drawingFilnameEmbedPostfix": " ",
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
"useExcalidrawExtension": true,
"displaySVGInPreview": true,
"displayExportedImageIfAvailable": false,
"previewMatchObsidianTheme": false,
"width": "400",
"isLeftHanded": false,
"matchTheme": false,
"matchThemeAlways": false,
"matchThemeTrigger": false,
"defaultMode": "normal",
"defaultPenMode": "never",
"zoomToFitOnOpen": true,
"zoomToFitOnResize": true,
"zoomToFitMaxLevel": 2,
"linkPrefix": "📍",
"urlPrefix": "🌐",
"parseTODO": false,
"todo": "☐",
"done": "🗹",
"hoverPreviewWithoutCTRL": false,
"linkOpacity": 1,
"openInAdjacentPane": false,
"openInMainWorkspace": true,
"showLinkBrackets": true,
"allowCtrlClick": true,
"forceWrap": false,
"pageTransclusionCharLimit": 200,
"wordWrappingDefault": 0,
"removeTransclusionQuoteSigns": true,
"iframelyAllowed": true,
"pngExportScale": 1,
"exportWithTheme": true,
"exportWithBackground": true,
"exportPaddingSVG": 10,
"keepInSync": false,
"autoexportSVG": false,
"autoexportPNG": false,
"autoExportLightAndDark": false,
"autoexportExcalidraw": false,
"embedType": "excalidraw",
"embedWikiLink": true,
"syncExcalidraw": false,
"experimentalFileType": false,
"experimentalFileTag": "✏️",
"experimentalLivePreview": true,
"experimentalEnableFourthFont": false,
"experimantalFourthFont": "Virgil",
"fieldSuggester": true,
"compatibilityMode": false,
"drawingOpenCount": 0,
"library": "deprecated",
"library2": {
"type": "excalidrawlib",
"version": 2,
"source": "https://excalidraw.com",
"libraryItems": []
},
"imageElementNotice": true,
"mdSVGwidth": 500,
"mdSVGmaxHeight": 800,
"mdFont": "Virgil",
"mdFontColor": "Black",
"mdBorderColor": "Black",
"mdCSS": "",
"scriptEngineSettings": {},
"defaultTrayMode": false,
"previousRelease": "1.8.4",
"showReleaseNotes": true,
"showNewVersionNotification": true,
"mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js",
"taskboneEnabled": false,
"taskboneAPIkey": ""
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "obsidian-excalidraw-plugin",
"name": "Excalidraw",
"version": "1.8.4",
"minAppVersion": "0.16.0",
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
"author": "Zsolt Viczian",
"authorUrl": "https://zsolt.blog",
"isDesktopOnly": false
}

View File

@@ -0,0 +1,291 @@
.App {
font-family: sans-serif;
text-align: center;
}
.excalidraw-wrapper {
height: 100%;
margin: 0px;
background-color: white;
}
.context-menu-option__shortcut {
background-color: transparent !important;
}
.block-language-excalidraw {
text-align:center;
}
.excalidraw .github-corner {
display: none;
}
img.excalidraw-svg-right-wrap {
float: right;
margin: 0px 0px 20px 20px;
}
img.excalidraw-svg-left-wrap {
float: left;
margin: 0px 35px 20px 0px;
}
img.excalidraw-svg-right {
float: right;
}
.excalidraw-svg-center {
text-align: center;
}
img.excalidraw-svg-left {
float: left;
}
div.excalidraw-svg-right,
div.excalidraw-svg-left {
display: table;
width: 100%;
}
button.ToolIcon_type_button[title="Export"] {
display:none;
}
.excalidraw-prompt-div {
display: flex;
max-width: 800px;
}
.excalidraw-prompt-form {
display: flex;
flex-grow: 1;
}
.excalidraw-prompt-input {
flex-grow: 1;
}
li[data-testid] {
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
}
.excalidraw .context-menu-option-separator {
margin: 4px !important;
}
.excalidraw .popover {
padding: 0 !important;
border-color: transparent !important;
border: 0 !important;
box-shadow: 0 !important;
background-color: transparent !important;
}
.disable-zen-mode--visible {
color: var(--text-primary-color);
}
.disable-zen-mode {
width: 9em !important;
}
.ex-coffee-div {
text-align: center;
margin-bottom: 10px;
}
.excalidraw-scriptengine-install td>img {
width: 100%;
max-width:800px;
}
.excalidraw-scriptengine-install img.coffee {
width: 130px;
}
.excalidraw-scriptengine-install tr {
vertical-align: top;
}
.excalidraw-scriptengine-install table {
max-width: 130ch;
}
.excalidraw-scriptengine-install td.label {
min-width: 11ch;
font-weight: bold;
padding-right: 5px;
}
.excalidraw-scriptengine-install td.data {
width: 100%;
}
.excalidraw-scriptengine-install .modal-content {
max-width: 130ch;
user-select: text;
}
.excalidraw-scriptengine-install .modal {
max-height:90%;
width: auto;
}
.excalidraw-prompt-center {
text-align: center !important;
}
.excalidraw-prompt-center button {
margin: 0 10px;
}
.excalidraw-prompt-center.filepath {
text-align: center;
font-weight: bold;
margin-bottom: 2em;
}
.excalidraw-dirty {
color: red;
}
.workspace-leaf-content .excalidraw-view {
padding: 0px 1px; /*1px so on ipad swipe in from left and right still works*/
}
.excalidraw-videoWrapper {
max-width:600px
}
.excalidraw-videoWrapper div {
position: relative;
padding-bottom: 56.25%;
height: 0;
margin: 0 auto;
}
.excalidraw-videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.excalidraw-release .modal-content{
padding-right: 5px;
margin-right: -5px;
user-select: text;
}
.excalidraw-release .modal {
max-height: 80%;
max-width: 100ch;
}
.excalidraw .Island .scrollbar {
--scrollbar-thumb-bg: silver;
}
.excalidraw .ToolIcon__icon img{
height: 1em;
}
.excalidraw-scriptengine-install tbody>tr>td>div>img {
height:20px;
background-color: silver;
padding: 2px;
}
.excalidraw-scriptengine-install tbody>tr>td>div {
width: 50px;
display: inline-block;
}
.excalidraw-release p>a>img {
width: 100%
}
.excalidraw .context-menu-option {
box-shadow: none;
}
textarea.excalidraw-wysiwyg {
border: none;
outline: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border-radius: 0;
}
.is-tablet .excalidraw button,
.is-mobile .excalidraw button {
padding: initial;
height: 1.8rem;
}
.excalidraw button,
.ToolIcon button {
box-shadow: none;
justify-content: initial;
}
.excalidraw {
--default-button-size: 2rem !important;
--default-icon-size: 1rem !important;
--lg-button-size: 1.8rem !important;
--lg-icon-size: 1rem !important;
}
.excalidraw .tray-zoom {
pointer-events: initial;
padding-bottom: 0.05rem;
padding-top: 0.05rem;
}
.excalidraw-container.theme--dark {
background-color: #121212;
color: #fff;
}
/* https://discordapp.com/channels/686053708261228577/989603365606531104/1041266507256184863 */
/*.workspace-leaf {
contain: none !important;
}*/
.color-picker-content {
overflow-y: auto;
max-height: 10rem;
}
.excalidraw .FixedSideContainer_side_top {
top: 0.3rem;
}
.excalidraw .ToolIcon__keybinding {
font-size: 0.45rem !important;
}
.Island > .Stack > .Stack {
padding:0.2rem;
}
label.color-input-container > input {
max-width: 8rem;
}
.excalidraw .FixedSideContainer_side_top {
left: 10px !important;
top: 10px !important;
right: 10px !important;
bottom: 10px !important;
}
.excalidraw-hidden {
display: none !important;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "obsidian-tracker",
"name": "Tracker",
"version": "1.10.9",
"minAppVersion": "0.9.12",
"description": "A plugin tracks occurrences and numbers in your notes",
"author": "pyrochlore",
"authorUrl": "",
"isDesktopOnly": false
}

View File

@@ -0,0 +1,182 @@
.theme-light {
--color-title: #000000;
--color-axis: #000000;
--color-axis-label: #000000;
--color-tick-label: #000000;
--color-line: #000000;
--color-legend-border: #000000;
--color-dot-fill: #69b3a2;
--color-dot-stroke: none;
--color-bar-fill: #69b3a2;
--color-bar-border: none;
--color-tooltip-bg: #ffffff;
--color-tooltip-border: #000000;
--color-tooltip-label: #000000;
}
.theme-dark {
--color-title: #ffffff;
--color-axis: #ffffff;
--color-axis-label: #ffffff;
--color-tick-label: #ffffff;
--color-line: #ffffff;
--color-legend-border: #ffffff;
--color-dot-fill: #69b3a2;
--color-dot-stroke: none;
--color-bar-fill: #69b3a2;
--color-bar-border: none;
--color-tooltip-bg: #ffffff;
--color-tooltip-border: #000000;
--color-tooltip-label: #000000;
}
.tracker-title {
fill: var(--color-title);
text-anchor: middle;
font-size: 18px;
}
.tracker-title-small {
fill: var(--color-title);
text-anchor: middle;
font-size: 16px;
}
.tracker-axis {
fill: none;
stroke: var(--color-axis);
stroke-width: 1px;
}
.tracker-axis-label {
fill: var(--color-axis-label);
text-anchor: middle;
font-size: 14px;
stroke: none;
}
.tracker-tick-label {
fill: var(--color-tick-label);
stroke: none;
font-size: 12px;
}
.tracker-line {
fill: none;
stroke: var(--color-line);
stroke-width: 1.5px;
stroke-linecap: round;
stroke-linejoin: round;
}
.tracker-dot {
fill: var(--color-dot-fill);
}
.tracker-tooltip {
fill: var(--color-tooltip-bg);
stroke: var(--color-tooltip-border);
stroke-width: 1px;
}
.tracker-tooltip-label {
fill: var(--color-tooltip-label);
stroke: none;
font-size: 12px;
}
.tracker-legend {
fill: none;
stroke: var(--color-legend-border);
stroke-width: 0.5px;
}
.tracker-legend-label {
font-size: 14px;
text-anchor: left;
}
.tracker-bar {
fill: var(--color-bar-fill);
}
.tracker-month-header-year {
fill: var(--color-title);
text-anchor: start;
font-size: 22px;
}
.tracker-month-header-month {
fill: var(--color-title);
text-anchor: start;
font-size: 18px;
}
.tracker-month-dividing-line {
fill: var(--color-bar-fill);
}
.tracker-month-title-arrow {
fill: var(--color-title);
text-anchor: middle;
font-size: 22px;
}
.tracker-month-title-rotator {
fill: var(--color-title);
text-anchor: middle;
font-size: 20px;
}
.tracker-month-title-monitor {
fill: var(--color-title);
text-anchor: middle;
font-size: 18px;
}
.tracker-month-weekday {
fill: var(--color-tick-label);
stroke: none;
font-size: 12px;
}
.tracker-month-today-circle {
fill: none;
stroke: "white";
stroke-width: 4px;
}
.tracker-month-selected-circle {
fill: none;
stroke: "red";
stroke-width: 2px;
}
.tracker-month-label {
fill: var(--color-axis-label);
text-anchor: middle;
font-size: 14px;
stroke: none;
}
.tracker-month-annotation {
fill: var(--color-axis-label);
text-anchor: middle;
font-size: 10px;
stroke: none;
}
.tracker-pie-label {
fill: var(--color-tick-label);
stroke: none;
font-size: 12px;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "oz-image-plugin",
"name": "Ozan's Image in Editor Plugin",
"version": "2.1.5",
"minAppVersion": "0.15.0",
"description": "View Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.",
"author": "Ozan Tellioglu",
"authorUrl": "https://ozan.pl/aboutme/",
"isDesktopOnly": false
}

View File

@@ -0,0 +1,286 @@
.CodeMirror-linewidget img {
margin-top: 5px;
margin-bottom: 5px;
}
.theme-dark img[alt$='#invert'],
.theme-dark div.oz-image-widget > img[alt$='#invert'],
.theme-dark div.oz-image-widget-cm6 > img[alt$='#invert'] {
filter: invert(1) hue-rotate(180deg);
}
.oz-transclusion-widget,
.oz-transclusion-widget-cm6 {
padding: 3px 3px 3px 19px;
border: 0.7px solid var(--text-muted);
max-height: 600px;
overflow: auto;
border-radius: 7px;
margin-top: 5px;
}
.oz-coffee-div,
.oz-tip-div {
text-align: center;
margin-top: 10px;
}
.oz-tip-div img {
border-radius: 10px;
}
/* Line Numbers In Editor CodeBlock Renders */
pre[class*='language-'].line-numbers {
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}
pre[class*='language-'].line-numbers > code {
position: relative;
white-space: inherit;
}
.line-numbers .line-numbers-rows {
position: absolute;
pointer-events: none;
top: 0;
font-size: 100%;
left: -3.8em;
width: 3em; /* works for line-numbers below 1000 lines */
letter-spacing: -1px;
border-right: 1px solid #999;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.line-numbers-rows > span {
display: block;
counter-increment: linenumber;
}
.line-numbers-rows > span:before {
content: counter(linenumber);
color: #999;
display: block;
padding-right: 0.8em;
text-align: right;
}
.mermaid-error-information {
color: red;
font-size: 14px;
margin-bottom: 3px;
}
.oz-modal-center {
text-align: center;
margin: 20px 10px 20px 10px;
}
.oz-modal-title {
text-align: center;
}
.inline-mathjax-block {
margin-left: 5px;
}
.oz-image-widget > img,
.oz-image-widget-cm6 > img {
-webkit-user-drag: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
div.oz-transclusion-widget pre,
div.oz-transclusion-widget-cm6 pre {
overflow-x: auto;
}
.oz-transclusion-widget > *,
.oz-transclusion-widget-cm6 > * {
user-select: text !important;
}
/* Rich Link Cards */
/* Credit: https://github.com/dhamaniasad/obsidian-rich-links */
.oz-rich-link-card {
border: 1px solid var(--background-modifier-border);
border-radius: 3px;
width: 100%;
display: flex;
text-decoration: none;
background-color: var(--background-primary);
}
.oz-rich-link-card-container {
position: relative;
}
.oz-rich-link-image-container {
height: 100px;
width: 35%;
min-width: 120px;
overflow: hidden;
border-right: 1px solid var(--background-modifier-border);
}
.oz-rich-link-image {
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
padding-bottom: 100px;
background-color: var(--background-secondary);
}
.oz-rich-link-card-text {
padding: 4px;
width: 75%;
}
.oz-rich-link-card-title {
font-family: sans-serif;
font-size: 16px;
margin: 0 0 4px 0;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
color: var(--text-normal);
}
.oz-rich-link-card-description {
font-family: sans-serif;
font-size: 14px;
margin: 0;
color: var(--text-muted);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.oz-rich-link-href {
font-family: sans-serif;
font-size: 14px;
margin: 0;
color: var(--text-faint);
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.image-in-editor-settings-main-header {
text-align: center !important;
margin-bottom: 20px;
}
.image-in-editor-cm-header {
margin-top: 0px;
}
.image-in-editor-editor-header {
margin-bottom: 5px;
}
/* Sizing for CM5 and CM6 */
div.oz-image-widget > img[alt$='#small'],
div.oz-image-widget-cm6 > img[alt$='#small'] {
max-width: 75% !important;
min-width: 200pt !important;
}
div.oz-image-widget > img[alt$='#x-small'],
div.oz-image-widget-cm6 > img[alt$='#x-small'] {
max-width: 50% !important;
min-width: 100pt !important;
}
div.oz-image-widget > img[alt$='#xx-small'],
div.oz-image-widget-cm6 > img[alt$='#xx-small'] {
max-width: 25% !important;
min-width: 50pt !important;
}
/* Style For CM6 */
div.oz-image-widget-cm6,
div.oz-custom-html-widget-cm6,
div.oz-pdf-widget-cm6 {
padding-top: 5px;
padding-bottom: 5px;
}
div.oz-image-widget-cm6 + br,
div.oz-custom-html-widget-cm6 + br,
div.oz-pdf-widget-cm6 + br {
display: none;
}
.cm-line div.oz-transclusion-widget-cm6 {
padding-top: 10px;
padding-bottom: 10px;
}
.cm-line div.oz-transclusion-widget-cm6 * {
margin-block-start: 0px !important;
margin-block-end: 0px !important;
}
/* Legacy Admonition */
.oz-admonition {
margin: 1.5em 0;
padding: 0;
overflow: hidden;
page-break-inside: avoid;
border-left: 0.3rem solid rgb(var(--oz-admonition-color));
border-radius: 0.1rem;
box-shadow: 0 0.2rem 0.5rem rgb(44, 43, 43);
}
.oz-admonition-title {
position: relative;
padding: 15px 5px 15px 15px;
font-weight: 700;
background-color: rgba(var(--oz-admonition-color), 0.1);
}
.oz-admonition-title-content {
display: flex;
justify-content: flex-start;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.oz-admonition-content-holder {
position: relative;
padding-top: 15px;
padding-bottom: 15px;
}
.oz-admonition-content {
margin: 10px 15px;
position: relative;
overflow-x: auto;
}
.oz-admonition-title-markdown {
text-transform: capitalize;
display: block;
}
.oz-transclusion-widget-cm6 span.hashtag {
background-color: var(--tag-background);
border: var(--tag-border-width) solid var(--tag-border-color);
border-radius: var(--tag-radius);
color: var(--tag-color);
font-size: var(--tag-size);
text-decoration: var(--tag-decoration);
padding: var(--tag-padding-y) var(--tag-padding-x);
line-height: 1;
}

View File

@@ -1,16 +1,16 @@
{
"showGettingStartedBanner": true,
"showGettingStartedBanner": false,
"hasMigratedDailyNoteSettings": false,
"hasMigratedWeeklyNoteSettings": false,
"daily": {
"format": "",
"template": "",
"template": "Templates/Daily.md",
"folder": "Daily",
"enabled": true
},
"weekly": {
"format": "",
"template": "",
"template": "Templates/Weekly.md",
"folder": "Weekly",
"enabled": true
},
@@ -21,7 +21,7 @@
},
"quarterly": {
"format": "",
"template": "",
"template": "Templates/Quarterly.md",
"folder": "Quarterly",
"enabled": true
},

View File

@@ -0,0 +1 @@
{}

29218
.obsidian/plugins/simple-embeds/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "simple-embeds",
"name": "Simple Embeds",
"version": "1.14.0",
"minAppVersion": "0.15.0",
"description": "Replaces links, like Twitter and YouTube, with embeds when previewing a file.",
"author": "Sam Warnick",
"authorUrl": "https://github.com/samwarnick",
"isDesktopOnly": false
}

View File

@@ -0,0 +1,233 @@
.embed-container {
max-width: 550px; /* This is the max width of Twitter embeds */
}
.is-live-preview .embed-container.hide-link ~ span.external-link {
display: none;
}
.embed-container.center {
margin: 0 auto;
}
.embed-container.full-width {
max-width: 100% !important;
}
/* Instagram */
.embed-container.instagram iframe {
width: 100%;
max-width: 550px;
}
.embed-container.instagram blockquote {
display: none;
}
/* Noteflight and Flat.io */
.embed-container:is(.flat_io, .noteflight) {
max-width: 750px;
}
.embed-container.flat_io iframe {
width: 100%;
height: 450px;
}
.embed-container.noteflight iframe {
width: 100%;
height: 450px;
}
/* GitHub Gists */
.embed-container.github_gist {
max-width: 100%;
}
.embed-container.github_gist iframe {
width: 100%;
}
/* YouTube */
.video-wrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
min-width: 300px;
min-height: calc(300px * 0.5625);
}
.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Apple Podcasts & TV */
.embed-container.apple-podcasts iframe,
.embed-container.apple-tv iframe {
width: 100%;
overflow: hidden;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color: transparent;
}
.embed-container.apple-tv .fake-link {
display: block;
position: absolute;
content: "";
height: 150px;
width: 150px;
top: calc(50% - 75px);
left: calc(50% - 75px);
}
/* Generic Preview */
.embed-container.generic-preview .preview {
text-decoration: none;
color: inherit;
background: var(--background-secondary);
border: 1px solid var(--background-modifier-border);;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
margin: 0.5rem 0;
}
.embed-container.generic-preview .preview:hover {
background: var(--background-secondary-alt);
cursor: pointer;
}
.embed-container.generic-preview .preview .image-container {
max-width: 100px;
}
.embed-container.generic-preview .preview .content {
margin: 0.5rem;
margin-left: 1rem;
}
.embed-container.generic-preview .preview .content .title {
font-size: 1.05rem;
font-weight: 600;
}
.embed-container.generic-preview .preview .content .description {
color: var(--text-muted);
}
/* Settings */
.simple-embeds-settings details > summary {
display: flex;
align-items: center;
cursor: pointer;
}
.simple-embeds-settings details > summary::before {
width: 2em;
height: 2em;
content: "";
font-size: 9px;
margin-right: 5px;
display: inline-block;
vertical-align: -0.3em;
background-color: currentColor;
/* Icon from https://heroicons.com */
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7' /%3E%3C/svg%3E");
transition: transform 0.3s ease;
}
.simple-embeds-settings details[open] > summary::before {
transform: rotate(90deg);
}
.simple-embeds-settings details > summary h4 {
margin: 0.5em 0;
}
/* https://github.com/paulirish/lite-youtube-embed */
lite-youtube {
background-color: #000;
position: relative;
display: block;
contain: content;
background-position: center center;
background-size: cover;
cursor: pointer;
/* max-width: 720px; */
}
/* gradient */
lite-youtube::before {
content: "";
display: block;
position: absolute;
top: 0;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
background-position: top;
background-repeat: repeat-x;
height: 60px;
padding-bottom: 50px;
width: 100%;
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}
/* responsive iframe with a 16:9 aspect ratio
thanks https://css-tricks.com/responsive-iframes/
*/
lite-youtube::after {
content: "";
display: block;
padding-bottom: calc(100% / (16 / 9));
}
lite-youtube > iframe {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
border: 0;
}
/* play button */
lite-youtube > .lty-playbtn {
width: 68px;
height: 48px;
position: absolute;
cursor: pointer;
transform: translate3d(-50%, -50%, 0);
top: 50%;
left: 50%;
z-index: 1;
background-color: transparent;
/* YT's actual play button svg */
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 68 48"><path fill="%23f00" fill-opacity="0.8" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"></path><path d="M 45,24 27,14 27,34" fill="%23fff"></path></svg>');
filter: grayscale(100%);
transition: filter 0.1s cubic-bezier(0, 0, 0.2, 1);
border: none;
}
lite-youtube:hover > .lty-playbtn,
lite-youtube .lty-playbtn:focus {
filter: none;
}
/* Post-click styles */
lite-youtube.lyt-activated {
cursor: unset;
}
lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
opacity: 0;
pointer-events: none;
}
.lyt-visually-hidden {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}

View File

@@ -7,7 +7,7 @@
""
]
],
"trigger_on_file_creation": false,
"trigger_on_file_creation": true,
"auto_jump_to_cursor": false,
"enable_system_commands": false,
"shell_path": "",

View File

@@ -10,53 +10,18 @@
{
"id": "5b35ae2562686366",
"type": "leaf",
"pinned": true,
"state": {
"type": "markdown",
"state": {
"file": "README.md",
"file": "Templates/Daily.md",
"mode": "source",
"source": false
}
}
},
{
"id": "9d5599b6c43cf899",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Templates/Weekly.md",
"mode": "source",
"source": false
}
}
},
{
"id": "9f2c5b6d909d99cb",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "README.md",
"mode": "source",
"source": false
}
}
},
{
"id": "b903b7cd0086d222",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Templates/Quarterly.md",
"mode": "source",
"source": false
}
},
"pinned": true
}
}
],
"currentTab": 2
]
}
],
"direction": "vertical"
@@ -123,7 +88,7 @@
"state": {
"type": "backlink",
"state": {
"file": "README.md",
"file": "Templates/Daily.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -140,7 +105,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "README.md",
"file": "Templates/Daily.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
@@ -163,7 +128,7 @@
"state": {
"type": "outline",
"state": {
"file": "README.md"
"file": "Templates/Daily.md"
}
}
},
@@ -197,24 +162,26 @@
"canvas:Create new canvas": false,
"publish:Publish changes": false,
"omnisearch:Omnisearch": false,
"periodic-notes:Open today": false,
"command-palette:Open command palette": false,
"zk-prefixer:Create new unique note": false,
"random-note:Open random note": false,
"templater-obsidian:Templater": false
"templater-obsidian:Templater": false,
"obsidian-map-view:Open map view": false,
"obsidian-excalidraw-plugin:New Excalidraw drawing": false,
"periodic-notes:Open today": false
}
},
"active": "9f2c5b6d909d99cb",
"active": "5b35ae2562686366",
"lastOpenFiles": [
"Templates/Quarterly.md",
"Templates/Weekly.md",
"README.md",
"_PARA/Archive/Archived Project/Archived Project.md",
"_PARA/Projects/2023 vault/2023 vault.md",
"_tests/Private.md",
"Daily/2022-01-01.md",
"Daily/2022-12-11.md",
"_PARA/Projects/2023 vault/Kanban.md",
"Templates/Daily.md",
"_PARA/Projects/Projects.md",
"_PARA/Archive/Archive.md",
"_PARA/_PARA.md",
"_PARA/Projects/Test Project 2/Test Project 2.md",
"_tests/Private.md"
"Weekly/2022-W51.md",
"Quarterly/2022-Q4.md",
"Weekly/2022-W50.md",
"_tutorial/Hotkeys.md"
]
}