This commit is contained in:
Oscar Plaisant 2025-05-08 20:54:26 +02:00
parent 00850d8482
commit 3f8f8bf0ac
24 changed files with 5927 additions and 2 deletions

View File

@ -1 +0,0 @@
.obsidian/snippets

View File

@ -0,0 +1,21 @@
/*⣏⡱ ⣎⣱ ⡎⠑ ⣏⡉ ⡇⢸ ⡇ ⣏⡉ ⡇⢸ ⢎⡑*/
/*⠇ ⠇⠸ ⠣⠝ ⠧⠤ ⠸⠃ ⠇ ⠧⠤ ⠟⠻ ⠢⠜*/
/*TRAIL view*/
.BC-trail-view-item > .internal-link {
/* smaller font size */
font-size: var(--font-ui-medium);
padding: 0px 0px 0px 0px;
}
/*NEXT / PREV view*/
.BC-next-prev-item {
/* smaller font size */
font-size: var(--font-ui-medium);
padding-top: 0px;
padding-bottom: 0px;
}

View File

@ -0,0 +1,8 @@
/* ┏┓ ┏━╸╺┳╸╺┳╸┏━╸┏━┓ ┏┳┓┏━┓┏━┓┏━╸╻┏┓╻┏━┓ */
/* ┣┻┓┣╸ ┃ ┃ ┣╸ ┣┳┛ ┃┃┃┣━┫┣┳┛┃╺┓┃┃┗┫┗━┓ */
/* ┗━┛┗━╸ ╹ ╹ ┗━╸╹┗╸ ╹ ╹╹ ╹╹┗╸┗━┛╹╹ ╹┗━┛ */
.mod-cm6 .HyperMD-task-line[data-task] .task-list-item-checkbox {
margin-right: 10px;
}

View File

@ -0,0 +1,168 @@
/* ┏┓ ┏━╸╺┳╸╺┳╸┏━╸┏━┓ ┏┳┓┏━┓┏━┓┏━╸╻┏┓╻┏━┓ */
/* ┣┻┓┣╸ ┃ ┃ ┣╸ ┣┳┛ ┃┃┃┣━┫┣┳┛┃╺┓┃┃┗┫┗━┓ */
/* ┗━┛┗━╸ ╹ ╹ ┗━╸╹┗╸ ╹ ╹╹ ╹╹┗╸┗━┛╹╹ ╹┗━┛ */
.callout {
/* top right bottom left */
--callout-padding: var(--size-4-1) var(--size-4-3) var(--size-4-1) var(--size-4-3);
}
.callout-content > p,
.callout-content > ul{
margin-top: 0px;
margin-bottom: 0px;
}
/*┏┓ ┏━╸╺┳╸╺┳╸┏━╸┏━┓ ╻┏━╸┏━┓┏┓╻ ┏━┓╻╺━┓┏━╸*/
/*┣┻┓┣╸ ┃ ┃ ┣╸ ┣┳┛ ┃┃ ┃ ┃┃┗┫ ┗━┓┃┏━┛┣╸ */
/*┗━┛┗━╸ ╹ ╹ ┗━╸╹┗╸ ╹┗━╸┗━┛╹ ╹ ┗━┛╹┗━╸┗━╸*/
.callout {
--icon-size: 22px;
}
/* ┏━╸╻ ╻╻┏━┓╺┳╸╻┏┓╻┏━╸ ┏━╸┏━┓╻ ╻ ┏━┓╻ ╻╺┳╸┏━┓ */
/* ┣╸ ┏╋┛┃┗━┓ ┃ ┃┃┗┫┃╺┓ ┃ ┣━┫┃ ┃ ┃ ┃┃ ┃ ┃ ┗━┓ */
/* ┗━╸╹ ╹╹┗━┛ ╹ ╹╹ ╹┗━┛ ┗━╸╹ ╹┗━╸┗━╸┗━┛┗━┛ ╹ ┗━┛ */
.callout {
/* font-size: 80%; */
}
/* Also create the small vertion of the todo (smalltodo) */
.callout[data-callout="todo"], .callout[data-callout="smalltodo"]{
/* orange is my color for todo
* (especially since tags are orange, and tasks have the #task tag) */
--callout-color: 255, 160, 30;
--callout-icon: clipboard-list;
}
.callout[data-callout="smalltodo"] {
font-size: 80%;
--table-font-size: 80%;
--font-code: 80%;
}
.callout[data-callout="info"] {
--callout-color: 30, 180, 30;
}
.callout[data-callout="cite"] {
--callout-title-size: 90%;
}
.callout[data-callout="cite"] {
/* padding: 0pt; */
--callout-padding: var(--size-2-3)
}
.callout[data-callout="cite"] > .callout-title > .callout-title-inner {
/* overflow: scroll; */
}
/* ┏┓╻┏━╸╻ ╻ ┏━╸┏━┓╻ ╻ ┏━┓╻ ╻╺┳╸┏━┓ */
/* ┃┗┫┣╸ ┃╻┃ ┃ ┣━┫┃ ┃ ┃ ┃┃ ┃ ┃ ┗━┓ */
/* ╹ ╹┗━╸┗┻┛ ┗━╸╹ ╹┗━╸┗━╸┗━┛┗━┛ ╹ ┗━┛ */
.callout[data-callout="query"], .callout[data-callout="smallquery"]{
/* small and green, for queries (dataview...) */
/* change this -------. to adjust brightness */
/* | */
/* V */
/* --callout-color: 68, 140, 80; */
--callout-color: 64, 208, 64;
--callout-icon: database;
/* --callout-icon: '<svg>...custom svg...</svg>'; */
/* font-size: 18px; /1* smaller font size, to see more results at se same time *1/ */
}
.callout[data-callout="smallquery"] {
font-size: 80%; /* smaller font size, to see more results at se same time */
/* also change the size of any table contained in the callout */
--table-font-size: 80%;
--font-code: 80%;
}
.callout[data-callout="idea"] {
/* ideas for future things (improvements...) */
--callout-color: 252, 213, 0;
--callout-icon: lightbulb;
}
.callout[data-callout="date"] {
--callout-color: 240, 90, 80;
--callout-icon: calendar;
/* --callout-icon: '<svg>...custom svg...</svg>'; */
}
.callout[data-callout="zotero"] {
--callout-icon: align-left;
--callout-color: 38, 38, 38;
background-color: transparent;
border: 1pt solid;
/* border-color: var(--background-modifier-border); */
border-color: rgb(80, 80, 80);
}
.callout[data-callout="zotero"] > .callout-title {
border-bottom: 1pt solid rgb(80, 80, 80);
filter: brightness(0.9) saturate(2);
color: var(--text-normal);
}
.callout[data-callout="zotero"] > .callout-title > .callout-icon > .svg-icon {
/* display: none; /1* hide icon in favor of the colored one *1/ */
/* color: rgb(90, 90, 90); */
color: var(--text-normal);
stroke-width: 3;
}
/* ⡷⢾ ⣎⣱ ⢹⠁ ⣇⣸ ⣏⡉ ⡷⢾ ⣎⣱ ⢹⠁ ⡇ ⡎⢱ ⡇⢸ ⣏⡉ ⢎⡑ */
/* ⠇⠸ ⠇⠸ ⠸ ⠇⠸ ⠧⠤ ⠇⠸ ⠇⠸ ⠸ ⠇ ⠣⠪ ⠣⠜ ⠧⠤ ⠢⠜ */
.callout[data-callout="definition"], .callout[data-callout="définition"]{
/* definitions (expecially in maths) */
/*--callout-color: 77, 149, 247;*/
--callout-color: 54, 140, 243; /* same blue as h1 headings */
--callout-icon: feather;
}
/* même les liens sont bleus pour les définitions */
.callout[data-callout="definition"] > .callout-title > .callout-title-inner > a,
.callout[data-callout="définition"] > .callout-title > .callout-tiltle-inner > a {
color: inherit;
}
.callout[data-callout="démonstration"], .callout[data-callout="Démonstration"]{
/* démonstrations (expecially in maths) */
--callout-color: 252, 213, 0;
--callout-icon: square;
}
.callout[data-callout="proposition"], .callout[data-callout="Proposition"] {
/* propositions mathématiques */
--callout-color: 29, 180, 30; /* green */
/*--callout-color: 41, 103, 179; /* definition's blue */
--callout-icon: book-open-check;
background-color: transparent;
border: 2pt solid;
border-color: rgba(var(--callout-color), 1);
border-radius: 5pt;
/*--callout-icon: corner-down-right;*/
}
.callout[data-callout="corollaire"], .callout[data-callout="Corollaire"] {
/* corollaires à des propositions */
--callout-color: 29, 180, 30;
--callout-icon: chevrons-right;
/*--callout-icon: corner-down-right;*/
}
.callout[data-callout="lemme"] {
/* corollaires à des propositions */
--callout-color: 29, 180, 30;
--callout-icon: scan;
}

View File

@ -0,0 +1,34 @@
/* ╺┳┓┏━┓┏━┓╻┏ ┏┳┓┏━┓╺┳┓┏━╸ */
/* ┃┃┣━┫┣┳┛┣┻┓┃┃┃┃ ┃ ┃┃┣╸ */
/* ╺┻┛╹ ╹╹┗╸╹ ╹╹ ╹┗━┛╺┻┛┗━╸ */
/* for all sorts of ui elements : */
/* pdfs, figures... */
/* markmind pdf reader (and annotator) */
.pdf-viewer>.page,
.mm-pdf-container {
filter: invert(0.7)
brightness(0.85)
contrast(1.6)
hue-rotate(180deg)
saturate(150%)
/* blur(0.5px) /1* blur makes the white text less agressive *1/ */
;
}
/* .mm-highlight { */
/* filter: invert(0.3); */
/* } */
/* /1* argdown maps *1/ */
/* .argdown-figure { */
/* filter: invert(0.70) */
/* brightness(0.9) */
/* contrast(1.5) */
/* hue-rotate(180deg) */
/* saturate(200%) */
/* ; */
/* } */

View File

@ -0,0 +1,7 @@
ul.dataview { /* smaller margins */
margin-block-start: 0px;
margin-block-end: 0px;
}

View File

@ -0,0 +1,14 @@
/* smaller tasks in the unscheduled tasks list */
.unscheduled-task-container .padding .content .markdown-block-content {
font-size: var(--font-ui-smaller);
line-height: 1em;
}
.unscheduled-task-container .padding .content .markdown-block-content .rendered-markdown {
margin-left: 10px;
}
.unscheduled-task-container .padding .content .markdown-block-content .rendered-markdown ul.contains-task-list li.task-list-item input.task-list-item-checkbox {
transform: scale(0.9);
}

View File

@ -0,0 +1,20 @@
/* make embeds appear seamlessly */
.markdown-embed {
/* border: none; */
border: var(--embed-border-left);
border-color: #404040;
/* hide some borders */
border-right-color: transparent;
/* border-left: var(--embed-border-left); */
border-top-left-radius: 5pt;
border-bottom-left-radius: 5pt;
padding: 0ex 0 1ex 1ex;
}
/* *:has(>.markdown-embed) { */
/* } */

View File

@ -0,0 +1,15 @@
/* Set fonts for both Edit and Preview mode
.view-content {
font-family: 'Courier New', monospace !important;
}
*/
.markdown-source-view {
font-family: 'Fira Code Nerd Font', 'Fira Code', Menlo, Monaco, 'Courier New', monospace !important;
}
.markdown-preview-view {
/* font-family: georgia, serif !important; */
font-family: 'Fira Code Nerd Font', 'Fira Code', Menlo, Monaco, 'Courier New', monospace !important;
}

View File

@ -0,0 +1,85 @@
aody {
/* font SIZES */
/*--font-ui-normal: ...*/
--font-ui-medium: 20px;
--font-ui-small: 18px; /* what minimal theme settings calls "small font size" */
--font-ui-smaller: 15px;
/* dataview */
--table-background: inherit;
/* --table-row-alt-background: #1A1A1A; */
}
/* tags */
body:not(.minimal-unstyled-tags) a.tag,
a.tag {
font-size: unset; /* make the size like the text around it */
}
/* horizontal rulers */
.markdown-rendered hr {
border-color: var(--tx2);
}
.is-live-preview .markdown-rendered hr {
margin-bottom: 1rem;
margin-top: 1rem;
}
/* ⡇ ⡇ ⢎⡑ ⢹⠁ ⢎⡑ */
/* ⠧⠤ ⠇ ⠢⠜ ⠸ ⠢⠜ */
* {
/* color of bullet points */
--list-marker-color: var(--text-normal);
}
/* bigger collapse indicator on titles and lists */
.collapse-indicator {
transform: scale(2);
}
.task-list-item-checkbox {
/* transform: scale(2) !important; */
}
/* ⣏⡱ ⣏⡱ ⡎⢱ ⣏⡱ ⣏⡉ ⣏⡱ ⢹⠁ ⡇ ⣏⡉ ⢎⡑ */
/* ⠇ ⠇⠱ ⠣⠜ ⠇ ⠧⠤ ⠇⠱ ⠸ ⠇ ⠧⠤ ⠢⠜ */
/*.markdown-source-view .metadata-container {*/
/* margin: 0;*/
/* padding: 0;*/
/* font-size: var(--font-adaptative-normal);*/
/*}*/
/*┏━┓╻ ╻ ╻┏━╸╻┏┓╻┏━┓*/
/*┣━┛┃ ┃ ┃┃╺┓┃┃┗┫┗━┓*/
/*╹ ┗━╸┗━┛┗━┛╹╹ ╹┗━┛*/
/* spaced repetition modal */
.sr-modal-content {
font-size: calc(max(1.5vw , 3vh));
}
/*┏━┓┏━┓┏┓╻┏━╸┏━┓*/
/*┣━┛┣━┫┃┗┫┣╸ ┗━┓*/
/*╹ ╹ ╹╹ ╹┗━╸┗━┛*/
/* /1* side panes margins *1/ */
/* .workspace-leaf-content>.view-content { */
/* padding: 5pt; */
/* } */
/* for every pane content */
.markdown-source-view.mod-cm6:not(.is-readable-line-width) .cm-contentContainer {
/* bigger left-margin */
/* margin: 0 0 0 calc(52% - var(--max-width)/2) !important; /1* note : i hate the person that used !important in the first place *1/ */
}

View File

@ -0,0 +1,4 @@
.MJX-TEX mjx-mtext {
font-family: "CMU Bright" !important;
}

View File

@ -0,0 +1,7 @@
@media print {
body {
}
}

View File

@ -0,0 +1,98 @@
* {
--font-size: 1cm;
}
.container {
margin: 1ex;
padding: 1ex;
border: none;
display: flex;
align-items: center;
/* width: 11em; */
/* height: 4em; */
}
.permutation {
display: flex;
flex-direction: row;
}
.parenthesis {
display: inline;
font-size: calc(2.2 * var(--font-size));
transform: scaleX(0.5) translateY(calc(-0.05 * var(--font-size)));
}
.lines {
display: flex;
flex-direction: column;
}
.text {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
gap: calc(var(--font-size)/2);
font-size: var(--font-size);
font-family: serif;
}
.text > div {
flex-basis: min-content;
flex-grow: 1;
text-align: center;
}
.perm {
/* animation-fill-mode: forwards; */
animation-duration: 3s;
/* animation-fill-mode: forwards; */
animation-timing-function: quartic;
animation-direction: alternate;
animation-iteration-count: infinite;
}
.perm.shift-of-1 { animation-name: shift_1; }
.perm.shift-of-1.reverse { animation-name: shift_1_reverse; }
.perm.shift-of-2 { animation-name: shift_2; }
.perm.shift-of-2.reverse { animation-name: shift_2_reverse; }
.perm.shift-of-3 { animation-name: shift_3; }
.perm.shift-of-3.reverse { animation-name: shift_3_reverse; }
.perm.shift-of-4 { animation-name: shift_4; }
.perm.shift-of-4.reverse { animation-name: shift_4_reverse; }
.perm.shift-of-5 { animation-name: shift_5; }
.perm.shift-of-5.reverse { animation-name: shift_5_reverse; }
.perm.shift-of-6 { animation-name: shift_6; }
.perm.shift-of-6.reverse { animation-name: shift_6_reverse; }
@keyframes shift_1 { 90%, to { transform: translateX(calc(var(--font-size))); } }
@keyframes shift_1_reverse { 90%, to { transform: translateX(calc(-1 * var(--font-size))); } }
@keyframes shift_2 { 90%, to { transform: translateX(calc(2 * var(--font-size))); } }
@keyframes shift_2_reverse { 90%, to { transform: translateX(calc(-2 * var(--font-size))); } }
@keyframes shift_3 { 90%, to { transform: translateX(calc(3 * var(--font-size))); } }
@keyframes shift_3_reverse { 90%, to { transform: translateX(calc(-3 * var(--font-size))); } }
@keyframes shift_4 { 90%, to { transform: translateX(calc(4 * var(--font-size))); } }
@keyframes shift_4_reverse { 90%, to { transform: translateX(calc(-4 * var(--font-size))); } }
@keyframes shift_5 { 90%, to { transform: translateX(calc(5 * var(--font-size))); } }
@keyframes shift_5_reverse { 90%, to { transform: translateX(calc(-5 * var(--font-size))); } }
@keyframes shift_6 { 90%, to { transform: translateX(calc(6 * var(--font-size))); } }
@keyframes shift_6_reverse { 90%, to { transform: translateX(calc(-6 * var(--font-size))); } }

View File

@ -0,0 +1,7 @@
.theme-light, .theme-dark {
--popover-width: 90vw;
--popover-height: 70vw;
/* --popover-width: 650px; */
/* --popover-height: 600px; */
}

View File

@ -0,0 +1,10 @@
/* when using a ```query ``` block, the query is showed even in preview mode.
* The default size is too big, so this is to set my prefered reasonable size.
* */
.internal-query-header-title {
/* sadly i have to use important, else this file does not have the priority */
font-size : 17px !important;
}

View File

@ -0,0 +1,372 @@
/* WARNING: This file will be overwritten by the plugin.
Do not edit this file directly! First copy this file and rename it if you want to edit things. */
:root {
--591a-86c0-color: #A36AAA;
--591a-86c0-weight: initial;
--591a-86c0-before: '';
--7812-52e6-color: #9270D3;
--7812-52e6-weight: initial;
--7812-52e6-before: '';
--f1e2-3136-color: #F27D88;
--f1e2-3136-weight: initial;
--89ca-499e-color: #78C664;
--89ca-499e-weight: initial;
--4694-3e42-color: #008F7A;
--4694-3e42-weight: initial;
--8606-2a08-color: #FF6F91;
--8606-2a08-weight: initial;
--ef64-500f-color: #007160;
--ef64-500f-weight: initial;
--c309-a78f-color: #0089BA;
--c309-a78f-weight: initial;
}
div[data-id="591a-86c0"] div.setting-item-description,
[data-link-tags*="personne" i] {
color: var(--591a-86c0-color) !important;
font-weight: var(--591a-86c0-weight);
}
div[data-id="591a-86c0"] div.setting-item-description::before,
.data-link-icon[data-link-tags*="personne" i]::before {
content: var(--591a-86c0-before);
}
div[data-id="7812-52e6"] div.setting-item-description,
[data-link-path*="daily" ] {
color: var(--7812-52e6-color) !important;
font-weight: var(--7812-52e6-weight);
}
div[data-id="7812-52e6"] div.setting-item-description::before,
.data-link-icon[data-link-path*="daily" ]::before {
content: var(--7812-52e6-before);
}
div[data-id="f1e2-3136"] div.setting-item-description,
[data-link-tags*="politique" i] {
color: var(--f1e2-3136-color) !important;
font-weight: var(--f1e2-3136-weight);
}
div[data-id="89ca-499e"] div.setting-item-description,
[data-link-tags*="science/sociologie" i] {
color: var(--89ca-499e-color) !important;
font-weight: var(--89ca-499e-weight);
}
div[data-id="4694-3e42"] div.setting-item-description,
[data-link-tags*="informatique" i] {
color: var(--4694-3e42-color) !important;
font-weight: var(--4694-3e42-weight);
}
div[data-id="8606-2a08"] div.setting-item-description,
[data-link-tags*="maths" i] {
color: var(--8606-2a08-color) !important;
font-weight: var(--8606-2a08-weight);
}
div[data-id="ef64-500f"] div.setting-item-description,
[data-link-tags*="obsidian" i] {
color: var(--ef64-500f-color) !important;
font-weight: var(--ef64-500f-weight);
}
div[data-id="c309-a78f"] div.setting-item-description,
[data-link-tags*="pkm" i] {
color: var(--c309-a78f-color) !important;
font-weight: var(--c309-a78f-weight);
}
/* @settings
name: Supercharged Links
id: supercharged-links
settings:
-
id: 591a-86c0
title: tag is personne
description: Example note
type: heading
collapsed: true
level: 3
-
id: 591a-86c0-color
title: Link color
type: variable-color
format: hex
default: '#A36AAA'
-
id: 591a-86c0-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: 591a-86c0-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: 591a-86c0-before
title: Prepend text
description: Add some text, such as an emoji, before the links.
type: variable-text
default: ''
quotes: true
-
id: 7812-52e6
title: path is daily
description: Example note
type: heading
collapsed: true
level: 3
-
id: 7812-52e6-color
title: Link color
type: variable-color
format: hex
default: '#9270D3'
-
id: 7812-52e6-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: 7812-52e6-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: 7812-52e6-before
title: Prepend text
description: Add some text, such as an emoji, before the links.
type: variable-text
default: ''
quotes: true
-
id: f1e2-3136
title: tag is politique
description: Example note
type: heading
collapsed: true
level: 3
-
id: f1e2-3136-color
title: Link color
type: variable-color
format: hex
default: '#F27D88'
-
id: f1e2-3136-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: f1e2-3136-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: 89ca-499e
title: tag is science/sociologie
description: Example note
type: heading
collapsed: true
level: 3
-
id: 89ca-499e-color
title: Link color
type: variable-color
format: hex
default: '#78C664'
-
id: 89ca-499e-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: 89ca-499e-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: 4694-3e42
title: tag is informatique
description: Example note
type: heading
collapsed: true
level: 3
-
id: 4694-3e42-color
title: Link color
type: variable-color
format: hex
default: '#008F7A'
-
id: 4694-3e42-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: 4694-3e42-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: 8606-2a08
title: tag is maths
description: Example note
type: heading
collapsed: true
level: 3
-
id: 8606-2a08-color
title: Link color
type: variable-color
format: hex
default: '#FF6F91'
-
id: 8606-2a08-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: 8606-2a08-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: ef64-500f
title: tag is obsidian
description: Example note
type: heading
collapsed: true
level: 3
-
id: ef64-500f-color
title: Link color
type: variable-color
format: hex
default: '#007160'
-
id: ef64-500f-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: ef64-500f-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: c309-a78f
title: tag is pkm
description: Example note
type: heading
collapsed: true
level: 3
-
id: c309-a78f-color
title: Link color
type: variable-color
format: hex
default: '#0089BA'
-
id: c309-a78f-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: c309-a78f-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
*/

View File

@ -0,0 +1,46 @@
body {
--tab-stacked-pane-width: 100%;
}
/* tabs of the side panes */
/* .workspace-tab-header-inner { */
/* padding-left: 0pt !important; */
/* padding-right: 0pt !important; */
/* /1* width: 15pt; *1/ */
/* } */
/* /1* write the letters vertically *1/ */
/* .workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-title{ */
/* text-orientation: upright; */
/* letter-spacing: -3px; */
/* text-transform: uppercase; */
/* } */
/*/* stacked tabs - hide text */*/
/*.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-title {*/
/* width: 0;*/
/*}*/
/*/* stacked tabs - hide icon */*/
/*.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-icon {*/
/* display: none;*/
/*}*/
/*/* stacked tabs - adjust note margins */*/
/*.markdown-source-view.mod-cm6 {*/
/* margin-left: -30px;*/
/* margin-right: 10px;*/
/*}*/
/* stacked tabs - old Andy's mode */
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container > * {
position: static;
}
/* stacked tabs - border for old Andy's mode */
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner {
border-left: var(--divider-width) solid var(--divider-color);
}

View File

@ -0,0 +1,71 @@
/* --------------multiple tab rows--------------------*/
.workspace .mod-root .workspace-tab-header-container {
/*display: table; */
height: unset;
}
.workspace .mod-root .workspace-tab-header-container-inner {
flex-wrap: wrap;
margin: unset;
padding: unset;
}
/* wrapping rows */
.workspace .mod-root .workspace-tab-header {
flex: none !important;
max-width: 25vw; /* maximum width of a tab (trim text longer that this) */
}
/* styling on new tab button */
.titlebar .workspace-tab-header-new-tab,
.mod-root .workspace-tab-header-new-tab {
/* flex-wrap: wrap; */
/* display: unset; */
display: table-cell;
padding: unset;
/* padding: var(--size-4-2) 0 var(--size-2-3); /* 8 and 7 px*/
/* padding: 0 0 0; */
/* margin: unset; */
/* height: unset; */
}
/* hide tab list button */
.titlebar .workspace-tab-header-tab-list,
.mod-root .workspace-tab-header-tab-list
{
display: none;
}
/* keep close button at all times */
/* .workspace .mod-root .workspace-tab-header:not(.is-active) .workspace-tab-header-inner-close-button {
display: flex;
} */
/* hide close button at all times */
/* .workspace .mod-root .workspace-tab-header.is-active:hover .workspace-tab-header-inner-close-button, .workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-close-button {
display: none;
} */
/* hide inactive close button */
.workspace .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:not(.is-active) .workspace-tab-header-inner-close-button {
display: none;
}
/* hide active close button */
.workspace .mod-root .workspace-tab-header.is-active:hover .workspace-tab-header-inner-close-button, .workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-close-button {
display: none;
/* width: 0;
height: 0;
padding: 0 0 0 0; */
}
/* another rule to override the app trying to make it flex */
.workspace .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:hover .workspace-tab-header-inner-close-button {
display: none;
}

View File

@ -0,0 +1,9 @@
/* checkbox items */
.task-list-item-checkbox {
/* bigger checkbox items */
transform: scale(1.2) translateX(4pt);
}

View File

@ -12,5 +12,6 @@
"lazy-plugins", "lazy-plugins",
"vault-size-history", "vault-size-history",
"obsidian42-brat", "obsidian42-brat",
"mysnippets-plugin" "mysnippets-plugin",
"github-sync"
] ]

View File

@ -0,0 +1,7 @@
{
"remoteURL": "https://gitea.dariow.fr",
"gitLocation": "",
"syncinterval": 0,
"isSyncOnLoad": true,
"checkStatusOnLoad": true
}

4870
.obsidian/plugins/github-sync/main.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
{
"id": "github-sync",
"name": "GitHub Sync",
"version": "1.0.6",
"minAppVersion": "0.15.0",
"description": "Sync vault to personal GitHub.",
"author": "Kevin Chin",
"authorUrl": "https://kevin.gd/",
"isDesktopOnly": true
}

View File

@ -0,0 +1,42 @@
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
.gh-sync-ribbon
{
order: 100;
}
.gh-sync-status
{
order: -1;
}
.howto {
border: 1px solid var(--background-modifier-border);
padding: 10px;
}
.howto_title {
font-weight: 600;
}
.howto_text {
color: var(--text-muted);
font-size: smaller;
}
.my-plugin-setting-text {
width: 30em;
}
.my-plugin-setting-text2 {
width: 30em;
}