cours/.obsidian.mobile/snippets/general_interface.css
Oscar Plaisant 3f8f8bf0ac update
2025-05-08 20:54:26 +02:00

86 lines
2.0 KiB
CSS

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/ */
}