From fa474581b41410181642af7bfd67e10c77f6b4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E6=B5=A6=20=E7=9F=A5=E4=B9=9F=20Matsuura=20Tomoy?= =?UTF-8?q?a?= Date: Sat, 22 Jun 2024 01:02:42 +0900 Subject: [PATCH] [obsidian] vault backup: 2024-06-22 01:02:42[ --- .../.obsidian/plugins/obsidian-git/data.json | 2 +- .../plugins/obsidian-git/manifest.json | 2 +- .../.obsidian/plugins/obsidian-git/styles.css | 80 +++++++++++++++---- content/private | 2 +- 4 files changed, 66 insertions(+), 20 deletions(-) diff --git a/content/.obsidian/plugins/obsidian-git/data.json b/content/.obsidian/plugins/obsidian-git/data.json index bc32d31f..17030656 100644 --- a/content/.obsidian/plugins/obsidian-git/data.json +++ b/content/.obsidian/plugins/obsidian-git/data.json @@ -28,7 +28,7 @@ "gitDir": "", "showFileMenu": true, "lineAuthor": { - "show": false, + "show": true, "followMovement": "inactive", "authorDisplay": "initials", "showCommitHash": false, diff --git a/content/.obsidian/plugins/obsidian-git/manifest.json b/content/.obsidian/plugins/obsidian-git/manifest.json index 3491a214..045f4f82 100644 --- a/content/.obsidian/plugins/obsidian-git/manifest.json +++ b/content/.obsidian/plugins/obsidian-git/manifest.json @@ -5,5 +5,5 @@ "isDesktopOnly": false, "fundingUrl": "https://ko-fi.com/vinzent", "js": "main.js", - "version": "2.23.2" + "version": "2.24.2" } diff --git a/content/.obsidian/plugins/obsidian-git/styles.css b/content/.obsidian/plugins/obsidian-git/styles.css index c1d50654..71a55ea3 100644 --- a/content/.obsidian/plugins/obsidian-git/styles.css +++ b/content/.obsidian/plugins/obsidian-git/styles.css @@ -8,20 +8,20 @@ } } -.workspace-leaf-content[data-type='git-view'] .button-border { +.workspace-leaf-content[data-type="git-view"] .button-border { border: 2px solid var(--interactive-accent); border-radius: var(--radius-s); } -.workspace-leaf-content[data-type='git-view'] .view-content { +.workspace-leaf-content[data-type="git-view"] .view-content { padding: 0; } -.workspace-leaf-content[data-type='git-history-view'] .view-content { +.workspace-leaf-content[data-type="git-history-view"] .view-content { padding: 0; } -.loading>svg { +.loading > svg { animation: 2s linear infinite loading; transform-origin: 50% 50%; display: inline-block; @@ -77,6 +77,18 @@ height: auto; } +.git-author { + color: var(--text-accent); +} + +.git-date { + color: var(--text-accent); +} + +.git-ref { + color: var(--text-accent); +} + .workspace-leaf-content[data-type="diff-view"] .d2h-d-none { display: none; } @@ -228,12 +240,18 @@ } .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, -.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del { +.theme-light + .workspace-leaf-content[data-type="diff-view"] + .d2h-code-side-line + del { 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-side-line del { +.theme-dark + .workspace-leaf-content[data-type="diff-view"] + .d2h-code-side-line + del { background-color: #8d232881; } @@ -249,13 +267,19 @@ } .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, -.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins { +.theme-light + .workspace-leaf-content[data-type="diff-view"] + .d2h-code-side-line + ins { background-color: #97f295; 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-side-line ins { +.theme-dark + .workspace-leaf-content[data-type="diff-view"] + .d2h-code-side-line + ins { background-color: #1d921996; text-align: left; } @@ -376,19 +400,31 @@ color: var(--text-normal); } -.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change { +.theme-light + .workspace-leaf-content[data-type="diff-view"] + .d2h-file-diff + .d2h-del.d2h-change { background-color: #fdf2d0; } -.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change { +.theme-dark + .workspace-leaf-content[data-type="diff-view"] + .d2h-file-diff + .d2h-del.d2h-change { background-color: #55492480; } -.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change { +.theme-light + .workspace-leaf-content[data-type="diff-view"] + .d2h-file-diff + .d2h-ins.d2h-change { background-color: #ded; } -.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change { +.theme-dark + .workspace-leaf-content[data-type="diff-view"] + .d2h-file-diff + .d2h-ins.d2h-change { background-color: rgba(37, 78, 37, 0.418); } @@ -401,7 +437,9 @@ text-decoration: none; } -.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited { +.workspace-leaf-content[data-type="diff-view"] + .d2h-file-list-wrapper + a:visited { color: #3572b0; } @@ -427,13 +465,13 @@ 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); margin: 0; 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; } @@ -501,12 +539,20 @@ background-color: var(--background-secondary); } -.cm-gutterElement.obs-git-blame-gutter > div, .line-author-settings-preview { +.cm-gutterElement.obs-git-blame-gutter > div, +.line-author-settings-preview { /* delegate text color to settings */ - color: var(--obs-git-gutter-text); + color: var(--obs-git-gutter-text); font-family: monospace; height: 100%; /* ensure, that age-based background color occupies entire parent */ text-align: right; padding: 0px 6px 0px 6px; white-space: pre; /* Keep spaces and do not collapse them. */ } + +@media(max-width:800px){ + /* hide git blame gutter not to superpose text */ + .cm-gutterElement.obs-git-blame-gutter { + display: none; + } +} diff --git a/content/private b/content/private index bfef64db..ad6c1d8b 160000 --- a/content/private +++ b/content/private @@ -1 +1 @@ -Subproject commit bfef64db8f4b1833b32bd271e65d0c3b5df90515 +Subproject commit ad6c1d8b0baba0ace0e900e07dc597cf0937989e