Initial setup: official notes and obsidian settings

This commit is contained in:
2026-04-27 16:41:40 +03:30
commit 57d64d4040
996 changed files with 1267038 additions and 0 deletions

38
.obsidian/snippets/Figure.css vendored Normal file
View File

@@ -0,0 +1,38 @@
/* Custom Figure Callout */
.callout[data-callout="figure"] {
background: transparent;
border: none;
box-shadow: none;
padding: 0;
margin: 15px auto;
width: fit-content;
}
/* Hide the default callout title bar */
.callout[data-callout="figure"] .callout-title {
display: none;
}
/* Center the image and caption */
.callout[data-callout="figure"] .callout-content {
display: flex;
flex-direction: column;
align-items: center;
padding: 0;
}
/* Automatically style the text below the image as a caption */
.callout[data-callout="figure"] .callout-content p:last-child {
margin-top: 8px;
font-size: 0.85em;
text-align: center;
color: var(--text-muted);
}
/* 6. Hide the automatic file name / alt-text generated by the theme */
.callout[data-callout="figure"] .internal-embed::after,
.callout[data-callout="figure"] .image-embed::after,
.callout[data-callout="figure"] .markdown-embed-title {
display: none !important;
content: none !important;
}

55
.obsidian/snippets/alignment.css vendored Normal file
View File

@@ -0,0 +1,55 @@
/* --- Improved RTL/LTR control for Obsidian --- */
/* Block-level RTL (for standard paragraphs) */
.markdown-preview-view div.rtl,
.markdown-source-view div.rtl,
.markdown-preview-view p.rtl,
.markdown-source-view p.rtl {
direction: rtl !important;
unicode-bidi: isolate !important;
text-align: right !important;
display: block;
}
/* Inline RTL (for headers, bullets, and inline text) */
span.rtl {
direction: rtl !important;
unicode-bidi: isolate !important;
/* We don't force display: block here so it stays on the same line */
}
/* Block-level LTR */
.markdown-preview-view div.ltr,
.markdown-source-view div.ltr,
.markdown-preview-view p.ltr,
.markdown-source-view p.ltr {
direction: ltr !important;
unicode-bidi: isolate !important;
text-align: left !important;
display: block;
}
/* --- Fix for LaTeX / Math blocks --- */
/* Completely reset the bidi and direction for math containers */
.rtl .math-block,
.rtl mjx-container,
.math-block.rtl {
direction: ltr !important;
unicode-bidi: normal !important; /* Fixes rendering corruption in MathJax */
text-align: center !important;
}
/* Force right-alignment for English text inside .rtl blocks */
.rtl p,
.rtl span {
text-align: right !important;
}
/* Force inner paragraphs and elements to respect RTL in Reading Mode */
.markdown-preview-view .rtl p,
.markdown-preview-view .rtl span,
.markdown-preview-view .rtl div {
direction: rtl !important;
text-align: right !important;
unicode-bidi: isolate !important;
}

View File

@@ -0,0 +1,3 @@
.encyclopedia .metadata-container {
display: none !important;
}

87
.obsidian/snippets/pdf-table-style.css vendored Normal file
View File

@@ -0,0 +1,87 @@
/* PDF / full-width version for sheet tables */
.block-language-sheet {
overflow: visible !important;
max-width: 100%;
max-height: none;
display: block;
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
}
/* force table inside text width */
.block-language-sheet table {
width: 100% !important;
max-width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
/* compact typography for all cells */
.block-language-sheet td,
.block-language-sheet th {
font-size: 0.78em;
line-height: 1.15;
padding: 3px 6px;
white-space: normal;
overflow: hidden;
text-overflow: clip;
overflow-wrap: normal;
word-break: normal;
word-wrap: normal;
}
/* original top header look, without sticky */
.block-language-sheet th {
position: static !important;
top: auto !important;
z-index: auto !important;
background-color: var(--background-secondary) !important;
box-shadow: 0 1px 0 var(--background-modifier-border);
font-size: 0.78em; /* same as normal cells */
font-weight: bold;
color: var(--text-accent);
}
/* original italic-based left header look, without sticky */
.block-language-sheet td:has(em),
.block-language-sheet td:has(i),
.block-language-sheet th:has(em),
.block-language-sheet th:has(i) {
position: static !important;
left: auto !important;
z-index: auto !important;
background-color: var(--background-secondary) !important;
box-shadow: 1px 0 0 var(--background-modifier-border) !important;
}
/* corner cell fix, same look */
.block-language-sheet th:has(em),
.block-language-sheet th:has(i) {
z-index: auto !important;
box-shadow: 1px 1px 0 var(--background-modifier-border) !important;
}
/* styling for em/i text inside headers */
.block-language-sheet td em,
.block-language-sheet th em,
.block-language-sheet td i,
.block-language-sheet th i {
font-style: normal !important;
font-size: 100%;
font-weight: bold;
color: var(--text-accent);
}
/* footer row */
.block-language-sheet tbody tr:last-child td {
background-color: var(--background-secondary);
box-shadow: inset 0 1px 0 var(--background-modifier-border);
}
/* table name cell */
.block-language-sheet tbody tr:last-child td:first-child {
background-color: var(--background-secondary);
font-weight: bold;
color: var(--text-accent);
}

95
.obsidian/snippets/table-style.css vendored Normal file
View File

@@ -0,0 +1,95 @@
/* 1. Make the container scrollable */
.block-language-sheet {
overflow-x: auto !important;
overflow-y: auto !important;
max-width: 100% !important;
max-height: 80vh; /* Adjust this value to change maximum height */
display: block;
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
}
/* 2. Prevent the table from squishing (Reverted to original) */
.block-language-sheet table {
width: max-content !important;
min-width: 100%;
border-collapse: collapse;
}
/* 3. Force cells to expand to the longest line (No Text Wrapping) */
.block-language-sheet td,
.block-language-sheet th {
white-space: nowrap !important;
padding: 6px 10px !important;
}
/* 4. Top Header Sticky (Standard Markdown Headers) */
.block-language-sheet th {
position: sticky;
top: 0;
z-index: 10;
background-color: var(--background-secondary) !important;
box-shadow: 0 1px 0 var(--background-modifier-border);
}
/* 5. Custom Row/Col Headers defined by Italics (Sticky Horizontally) */
.block-language-sheet td:has(em),
.block-language-sheet td:has(i),
.block-language-sheet th:has(em),
.block-language-sheet th:has(i) {
position: sticky !important;
left: 0;
z-index: 15;
background-color: var(--background-secondary) !important;
box-shadow: 1px 0 0 var(--background-modifier-border) !important;
}
/* 5.1 Corner Cell Fix: If a Top Header is also an Italic Header */
.block-language-sheet th:has(em),
.block-language-sheet th:has(i) {
z-index: 25 !important; /* Keep it above both horizontal and vertical scrolling */
box-shadow: 1px 1px 0 var(--background-modifier-border) !important;
}
/* 5.2 Style the text inside the italic tags */
.block-language-sheet td em,
.block-language-sheet th em,
.block-language-sheet td i,
.block-language-sheet th i {
font-style: normal !important;
font-size: 110%;
font-weight: bold;
color: var(--text-accent);
}
/* 6. Constant Sticky Footer for the Last Row (Background for empty cells) */
.block-language-sheet tbody tr:last-child td,
.block-language-sheet tbody tr:last-child th {
position: sticky !important;
bottom: 0;
z-index: 10;
background-color: var(--background-secondary) !important;
box-shadow: 0 -1px 0 var(--background-modifier-border) !important;
}
/* 7. Table Name (Last Row, First Cell) - Independent Width & Sticky */
.block-language-sheet tbody tr:last-child td:first-child,
.block-language-sheet tbody tr:last-child th:first-child {
position: sticky !important;
left: 0;
bottom: 0;
z-index: 20;
background-color: var(--background-secondary) !important;
box-shadow: 1px -1px 0 var(--background-modifier-border) !important;
/* Reverted text style */
font-weight: bold;
color: var(--text-accent);
/* MAGIC TRICK: Prevent this cell from stretching the first column */
max-width: 0px !important;
width: 0px !important;
overflow: visible !important;
}