项目:更新 1.0.0 版本
This commit is contained in:
parent
ed2e379b59
commit
c9ca6886b6
3
.obsidian/appearance.json
vendored
3
.obsidian/appearance.json
vendored
@ -6,5 +6,6 @@
|
|||||||
"translucency": false,
|
"translucency": false,
|
||||||
"textFontFamily": "霞鹜文楷等宽,微软雅黑",
|
"textFontFamily": "霞鹜文楷等宽,微软雅黑",
|
||||||
"monospaceFontFamily": "霞鹜文楷等宽,微软雅黑",
|
"monospaceFontFamily": "霞鹜文楷等宽,微软雅黑",
|
||||||
"baseFontSizeAction": true
|
"baseFontSizeAction": true,
|
||||||
|
"accentColor": ""
|
||||||
}
|
}
|
1
.obsidian/community-plugins.json
vendored
1
.obsidian/community-plugins.json
vendored
@ -1,7 +1,6 @@
|
|||||||
[
|
[
|
||||||
"calendar",
|
"calendar",
|
||||||
"obsidian-hider",
|
"obsidian-hider",
|
||||||
"code-block-copy",
|
|
||||||
"templater-obsidian",
|
"templater-obsidian",
|
||||||
"obsidian-mind-map",
|
"obsidian-mind-map",
|
||||||
"periodic-notes",
|
"periodic-notes",
|
||||||
|
130
.obsidian/plugins/code-block-copy/main.js
vendored
130
.obsidian/plugins/code-block-copy/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "code-block-copy",
|
|
||||||
"name": "Copy button for code blocks",
|
|
||||||
"author": "Daniel Brandenburg",
|
|
||||||
"description": "Copy button for code blocks",
|
|
||||||
"isDesktopOnly": false,
|
|
||||||
"version": "0.1.0"
|
|
||||||
}
|
|
41
.obsidian/plugins/code-block-copy/styles.css
vendored
41
.obsidian/plugins/code-block-copy/styles.css
vendored
@ -1,41 +0,0 @@
|
|||||||
.copy-code-button {
|
|
||||||
color: var(--background-primary);
|
|
||||||
background-color: var(--text-faint);
|
|
||||||
border-radius: 1px 1px 0px 0px;
|
|
||||||
/* right-align */
|
|
||||||
display: block;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: 0;
|
|
||||||
margin-bottom: -2px;
|
|
||||||
padding: 3px 8px;
|
|
||||||
font-size: 0.8em;
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
right: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.copy-code-button:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
background-color: var(--text-normal);
|
|
||||||
}
|
|
||||||
|
|
||||||
.copy-code-button:focus {
|
|
||||||
/* Avoid an ugly focus outline on click in Chrome,
|
|
||||||
but darken the button for accessibility.
|
|
||||||
See https://stackoverflow.com/a/25298082/1481479 */
|
|
||||||
background-color: var(--text-normal);
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.copy-code-button:active {
|
|
||||||
background-color: var(--text-normal);
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight pre {
|
|
||||||
/* Avoid pushing up the copy buttons. */
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.has-copy-button {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
7
.obsidian/plugins/obsidian-git/data.json
vendored
7
.obsidian/plugins/obsidian-git/data.json
vendored
@ -13,12 +13,15 @@
|
|||||||
"showStatusBar": true,
|
"showStatusBar": true,
|
||||||
"updateSubmodules": false,
|
"updateSubmodules": false,
|
||||||
"syncMethod": "merge",
|
"syncMethod": "merge",
|
||||||
"gitPath": "",
|
|
||||||
"customMessageOnAutoBackup": false,
|
"customMessageOnAutoBackup": false,
|
||||||
"autoBackupAfterFileChange": false,
|
"autoBackupAfterFileChange": false,
|
||||||
"treeStructure": false,
|
"treeStructure": false,
|
||||||
"refreshSourceControl": true,
|
"refreshSourceControl": true,
|
||||||
"basePath": "",
|
"basePath": "",
|
||||||
"differentIntervalCommitAndPush": false,
|
"differentIntervalCommitAndPush": false,
|
||||||
"changedFilesInStatusBar": true
|
"changedFilesInStatusBar": true,
|
||||||
|
"username": "",
|
||||||
|
"showedMobileNotice": true,
|
||||||
|
"refreshSourceControlTimer": 7000,
|
||||||
|
"showBranchStatusBar": true
|
||||||
}
|
}
|
28465
.obsidian/plugins/obsidian-git/main.js
vendored
28465
.obsidian/plugins/obsidian-git/main.js
vendored
File diff suppressed because it is too large
Load Diff
6
.obsidian/plugins/obsidian-git/manifest.json
vendored
6
.obsidian/plugins/obsidian-git/manifest.json
vendored
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-git",
|
"id": "obsidian-git",
|
||||||
"name": "Obsidian Git",
|
"name": "Obsidian Git",
|
||||||
"description": "Backup your vault with git.",
|
"description": "Backup your vault with Git.",
|
||||||
"isDesktopOnly": true,
|
"isDesktopOnly": false,
|
||||||
"js": "main.js",
|
"js": "main.js",
|
||||||
"version": "1.28.0"
|
"version": "2.6.0"
|
||||||
}
|
}
|
||||||
|
130
.obsidian/plugins/obsidian-git/styles.css
vendored
130
.obsidian/plugins/obsidian-git/styles.css
vendored
@ -2,10 +2,16 @@
|
|||||||
0% {
|
0% {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type='git-view'] .view-content {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.loading>svg {
|
.loading>svg {
|
||||||
animation: 2s linear infinite loading;
|
animation: 2s linear infinite loading;
|
||||||
transform-origin: 50% 50%;
|
transform-origin: 50% 50%;
|
||||||
@ -17,6 +23,17 @@
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.obsidian-git-textarea {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.obsidian-git-center-button {
|
||||||
|
display: block;
|
||||||
|
margin: 20px auto;
|
||||||
|
}
|
||||||
|
|
||||||
.tooltip.mod-left {
|
.tooltip.mod-left {
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
@ -44,9 +61,11 @@
|
|||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border-bottom: 1px solid var(--interactive-accent);
|
border-bottom: 1px solid var(--interactive-accent);
|
||||||
@ -54,16 +73,19 @@
|
|||||||
height: 35px;
|
height: 35px;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
||||||
border: 1px solid #b4e2b4;
|
border: 1px solid #b4e2b4;
|
||||||
border-radius: 5px 0 0 5px;
|
border-radius: 5px 0 0 5px;
|
||||||
@ -72,6 +94,7 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
||||||
border: 1px solid #e9aeae;
|
border: 1px solid #e9aeae;
|
||||||
border-radius: 0 5px 5px 0;
|
border-radius: 0 5px 5px 0;
|
||||||
@ -81,6 +104,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
@ -91,16 +115,19 @@
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
||||||
border: 1px solid var(--background-modifier-border);
|
border: 1px solid var(--background-modifier-border);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
||||||
-webkit-box-pack: end;
|
-webkit-box-pack: end;
|
||||||
-ms-flex-pack: end;
|
-ms-flex-pack: end;
|
||||||
@ -115,24 +142,30 @@
|
|||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
||||||
background-color: #c8e1ff;
|
background-color: #c8e1ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
||||||
margin: 0 4px 0 0;
|
margin: 0 4px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
font-family: Menlo, Consolas, monospace;
|
font-family: Menlo, Consolas, monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: -8px;
|
margin-bottom: -8px;
|
||||||
@ -141,9 +174,11 @@
|
|||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
||||||
padding: 0 8em;
|
padding: 0 8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -154,9 +189,11 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||||
padding: 0 4.5em;
|
padding: 0 4.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
background: none;
|
background: none;
|
||||||
@ -170,20 +207,17 @@
|
|||||||
white-space: pre;
|
white-space: pre;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
.theme-light
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
|
||||||
.d2h-code-side-line
|
|
||||||
del {
|
|
||||||
background-color: #ffb6ba;
|
background-color: #ffb6ba;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
.theme-dark
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
|
||||||
.d2h-code-side-line
|
|
||||||
del {
|
|
||||||
background-color: #8d232881;
|
background-color: #8d232881;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
|
||||||
@ -194,22 +228,19 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
.theme-light
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
|
||||||
.d2h-code-side-line
|
|
||||||
ins {
|
|
||||||
background-color: #97f295;
|
background-color: #97f295;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
.theme-dark
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
|
||||||
.d2h-code-side-line
|
|
||||||
ins {
|
|
||||||
background-color: #1d921996;
|
background-color: #1d921996;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
background: none;
|
background: none;
|
||||||
@ -217,9 +248,11 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
@ -229,9 +262,11 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 3.5em;
|
width: 3.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border: solid var(--background-modifier-border);
|
border: solid var(--background-modifier-border);
|
||||||
@ -245,9 +280,11 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
width: 7.5em;
|
width: 7.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
||||||
content: "\200b";
|
content: "\200b";
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border: solid var(--background-modifier-border);
|
border: solid var(--background-modifier-border);
|
||||||
@ -264,14 +301,21 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 4em;
|
width: 4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
|
||||||
content: "\200b";
|
content: "\200b";
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border-color: var(--background-modifier-border);
|
border-color: var(--background-modifier-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
|
||||||
@ -281,115 +325,127 @@
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||||
direction: rtl;
|
direction: rtl;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||||
background-color: #fee8e9;
|
background-color: #fee8e9;
|
||||||
border-color: #e9aeae;
|
border-color: #e9aeae;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||||
background-color: #dfd;
|
background-color: #dfd;
|
||||||
border-color: #b4e2b4;
|
border-color: #b4e2b4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||||
background-color: #521b1d83;
|
background-color: #521b1d83;
|
||||||
border-color: #691d1d73;
|
border-color: #691d1d73;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||||
background-color: rgba(30, 71, 30, 0.5);
|
background-color: rgba(30, 71, 30, 0.5);
|
||||||
border-color: #13501381;
|
border-color: #13501381;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border-color: var(--background-modifier-border);
|
border-color: var(--background-modifier-border);
|
||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
}
|
}
|
||||||
.theme-light
|
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||||
.d2h-file-diff
|
|
||||||
.d2h-del.d2h-change {
|
|
||||||
background-color: #fdf2d0;
|
background-color: #fdf2d0;
|
||||||
}
|
}
|
||||||
.theme-dark
|
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||||
.d2h-file-diff
|
|
||||||
.d2h-del.d2h-change {
|
|
||||||
background-color: #55492480;
|
background-color: #55492480;
|
||||||
}
|
}
|
||||||
.theme-light
|
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||||
.d2h-file-diff
|
|
||||||
.d2h-ins.d2h-change {
|
|
||||||
background-color: #ded;
|
background-color: #ded;
|
||||||
}
|
}
|
||||||
.theme-dark
|
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||||
.d2h-file-diff
|
|
||||||
.d2h-ins.d2h-change {
|
|
||||||
background-color: rgba(37, 78, 37, 0.418);
|
background-color: rgba(37, 78, 37, 0.418);
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.workspace-leaf-content[data-type="diff-view"]
|
|
||||||
.d2h-file-list-wrapper
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
|
||||||
a:visited {
|
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
||||||
display: block;
|
display: block;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
|
||||||
border-bottom: 1px solid var(--background-modifier-border);
|
border-bottom: 1px solid var(--background-modifier-border);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
||||||
color: #c33;
|
color: #c33;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
||||||
color: #399839;
|
color: #399839;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
||||||
color: #d0b44c;
|
color: #d0b44c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
@ -399,15 +455,19 @@
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
||||||
border: 2px solid #c33;
|
border: 2px solid #c33;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
||||||
border: 1px solid #399839;
|
border: 1px solid #399839;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
||||||
border: 1px solid #d0b44c;
|
border: 1px solid #d0b44c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
||||||
border: 1px solid #3572b0;
|
border: 1px solid #3572b0;
|
||||||
}
|
}
|
7
.obsidian/plugins/obsidian-hider/data.json
vendored
7
.obsidian/plugins/obsidian-hider/data.json
vendored
@ -1,11 +1,14 @@
|
|||||||
{
|
{
|
||||||
"frameless": false,
|
|
||||||
"hideRibbon": false,
|
"hideRibbon": false,
|
||||||
"hideStatus": false,
|
"hideStatus": false,
|
||||||
|
"hideTabs": true,
|
||||||
"hideScroll": false,
|
"hideScroll": false,
|
||||||
|
"hideSidebarButtons": false,
|
||||||
"hideTooltips": false,
|
"hideTooltips": false,
|
||||||
"hideSearchSuggestions": false,
|
"hideSearchSuggestions": false,
|
||||||
|
"hideSearchCounts": false,
|
||||||
"hideInstructions": false,
|
"hideInstructions": false,
|
||||||
"hideMeta": false,
|
"hideMeta": false,
|
||||||
"hideVault": true
|
"hideVault": true,
|
||||||
|
"frameless": false
|
||||||
}
|
}
|
63
.obsidian/plugins/obsidian-hider/main.js
vendored
63
.obsidian/plugins/obsidian-hider/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-hider",
|
"id": "obsidian-hider",
|
||||||
"name": "Hider",
|
"name": "Hider",
|
||||||
"version": "1.1.1",
|
"version": "1.2.3",
|
||||||
"minAppVersion": "0.12.2",
|
"minAppVersion": "0.16.0",
|
||||||
"description": "Hide UI elements such as tooltips, status, titlebar and more",
|
"description": "Hide UI elements such as tooltips, status, titlebar and more",
|
||||||
"author": "@kepano",
|
"author": "@kepano",
|
||||||
"authorUrl": "https://www.twitter.com/kepano",
|
"authorUrl": "https://www.twitter.com/kepano",
|
||||||
|
42
.obsidian/plugins/obsidian-hider/styles.css
vendored
42
.obsidian/plugins/obsidian-hider/styles.css
vendored
@ -3,7 +3,25 @@
|
|||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide tabs */
|
||||||
|
.hider-tabs .mod-root .workspace-tabs .workspace-tab-header-container {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide sidebar buttons */
|
||||||
|
.hider-sidebar-buttons .sidebar-toggle-button.mod-right,
|
||||||
|
.hider-sidebar-buttons .sidebar-toggle-button.mod-left {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.hider-sidebar-buttons.mod-macos.is-hidden-frameless:not(.is-popout-window) .workspace .workspace-tabs.mod-top-right-space .workspace-tab-header-container {
|
||||||
|
padding-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Hide ribbon */
|
/* Hide ribbon */
|
||||||
|
.hider-ribbon.mod-macos.is-hidden-frameless:not(.is-fullscreen):not(.is-popout-window) .workspace-tabs.mod-top-left-space .workspace-tab-header-container {
|
||||||
|
padding-left: calc(var(--frame-left-space) + var(--ribbon-width));
|
||||||
|
}
|
||||||
|
|
||||||
.hider-ribbon .workspace-ribbon.mod-left {
|
.hider-ribbon .workspace-ribbon.mod-left {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
@ -18,24 +36,6 @@
|
|||||||
margin-left:0;
|
margin-left:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Frameless */
|
|
||||||
.hider-frameless .titlebar-button-container {
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
.hider-frameless .titlebar,
|
|
||||||
.hider-frameless .titlebar-inner {
|
|
||||||
position:fixed;
|
|
||||||
top:0;
|
|
||||||
height:12px;
|
|
||||||
background:transparent;
|
|
||||||
}
|
|
||||||
.hider-frameless {
|
|
||||||
padding-top:0 !important;
|
|
||||||
}
|
|
||||||
.hider-frameless .workspace-split.mod-left-split > .workspace-tabs {
|
|
||||||
padding-top:18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide meta */
|
/* Hide meta */
|
||||||
.hider-meta .frontmatter-container {
|
.hider-meta .frontmatter-container {
|
||||||
display:none;
|
display:none;
|
||||||
@ -61,7 +61,13 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide search count flair */
|
||||||
|
.hider-search-counts .tree-item-flair:not(.tag-pane-tag-count) {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Hide instructions */
|
/* Hide instructions */
|
||||||
.hider-instructions .prompt-instructions {
|
.hider-instructions .prompt-instructions {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
7
.obsidian/themes/Minimal/manifest.json
vendored
Normal file
7
.obsidian/themes/Minimal/manifest.json
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"name": "Minimal",
|
||||||
|
"version": "6.0.12",
|
||||||
|
"minAppVersion": "0.16.0",
|
||||||
|
"author": "@kepano",
|
||||||
|
"authorUrl": "https://twitter.com/kepano"
|
||||||
|
}
|
1646
.obsidian/themes/Minimal/theme.css
vendored
Normal file
1646
.obsidian/themes/Minimal/theme.css
vendored
Normal file
File diff suppressed because one or more lines are too long
134
.obsidian/workspace.json
vendored
Normal file
134
.obsidian/workspace.json
vendored
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"main": {
|
||||||
|
"id": "1f445337c2d6e92a",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "92d55d495ed63201",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "63b55a8eb1738113",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "markdown",
|
||||||
|
"state": {
|
||||||
|
"file": "journal/2022/W41/2022-10-14.md",
|
||||||
|
"mode": "source",
|
||||||
|
"backlinks": false,
|
||||||
|
"source": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "vertical"
|
||||||
|
},
|
||||||
|
"left": {
|
||||||
|
"id": "807eda8c7f9d39d6",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "127edee3cbe2de12",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "32e3954140b6c675",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "file-explorer",
|
||||||
|
"state": {
|
||||||
|
"sortOrder": "alphabetical"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "0aacbc5bc1b33126",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "search",
|
||||||
|
"state": {
|
||||||
|
"query": "",
|
||||||
|
"matchingCase": false,
|
||||||
|
"explainSearch": false,
|
||||||
|
"collapseAll": false,
|
||||||
|
"extraContext": false,
|
||||||
|
"sortOrder": "alphabetical"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "horizontal",
|
||||||
|
"width": 235.5
|
||||||
|
},
|
||||||
|
"right": {
|
||||||
|
"id": "b6d0f50ff4f93745",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "72bfceaff7d9617c",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "216a95b1562d56d5",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "calendar",
|
||||||
|
"state": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "9701940d4d2f1bc6",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "tag",
|
||||||
|
"state": {
|
||||||
|
"sortOrder": "frequency",
|
||||||
|
"useHierarchy": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "c5fde77b8d301a14",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "outline",
|
||||||
|
"state": {
|
||||||
|
"file": "journal/2022/W41/2022-10-14.md"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bf8d2979ce1401e1",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "git-view",
|
||||||
|
"state": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "horizontal",
|
||||||
|
"width": 294.5
|
||||||
|
},
|
||||||
|
"ribbon": {
|
||||||
|
"mostRecentAction": ""
|
||||||
|
},
|
||||||
|
"active": "63b55a8eb1738113",
|
||||||
|
"lastOpenFiles": [
|
||||||
|
"journal/2022/W41/未命名.md",
|
||||||
|
"journal/2022/W41/2022-10-13.md",
|
||||||
|
"journal/2022/W41/2022-10-11.md",
|
||||||
|
"journal/2022/W38/2022-09-21.md",
|
||||||
|
"wiki/safe/系统权限/权限设计方案/主流权限系统的设计.md",
|
||||||
|
"wiki/safe/系统权限/系统权限简明指南.md",
|
||||||
|
"wiki/dev/Git/进阶/命令示例.md",
|
||||||
|
"wiki/dev/Git/进阶/工作流.md",
|
||||||
|
"wiki/dev/Git/进阶/常用技巧.md",
|
||||||
|
"wiki/dev/Git/进阶/参考手册.md"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user