Added
This commit is contained in:
38
.obsidian/snippets/checkbox.css
vendored
Normal file
38
.obsidian/snippets/checkbox.css
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
/* Only style checkboxes in notes with the 'styled-checkbox' class */
|
||||
.styled-checkbox li.task-list-item input[type="checkbox"] {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
border-radius: 0.3em;
|
||||
border: 2px solid #74c7ec; /* Text */
|
||||
background-color: #1e1e2e; /* Overlay0 */
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
vertical-align: center;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.styled-checkbox li.task-list-item input[type="checkbox"]:hover {
|
||||
border-color: #a6e3a1; /* Yellow */
|
||||
}
|
||||
|
||||
.styled-checkbox li.task-list-item input[type="checkbox"]:checked {
|
||||
background-color: #a6e3a1; /* Green */
|
||||
border-color: #a6e3a1;
|
||||
}
|
||||
|
||||
.styled-checkbox li.task-list-item input[type="checkbox"]:checked::after {
|
||||
content: "✔";
|
||||
color: #11111b; /* dark text for contrast */
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
5
.obsidian/snippets/no-properties.css
vendored
Normal file
5
.obsidian/snippets/no-properties.css
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/* Hide the Properties section only on the homepage */
|
||||
.no-properties .metadata-container {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
31
.obsidian/snippets/note-bg-blur.css
vendored
Normal file
31
.obsidian/snippets/note-bg-blur.css
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
/* CSS class to add a blurred background image to a note */
|
||||
.note-bg-blur {
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
/* Create the blurred background */
|
||||
.note-bg-blur::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0; left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
z-index: -1;
|
||||
|
||||
/* Replace this URL with your image URL */
|
||||
background-image: var(--note-bg-image);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
filter: blur(10px);
|
||||
|
||||
/* Optional: dim the background slightly */
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/* Ensure note content is above the background */
|
||||
.note-bg-blur .markdown-preview-section {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
15
.obsidian/snippets/small-text.css
vendored
Normal file
15
.obsidian/snippets/small-text.css
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/* Scoped Catppuccin Mocha styling for notes with cssclass: small-text */
|
||||
.small-text.markdown-preview-view {
|
||||
font-size: 1.0em; /* base text size */
|
||||
line-height: 1.5;
|
||||
color: #cdd6f4; /* Catppuccin Mocha text */
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
.small-text.markdown-preview-view h1 { font-size: 2.3em; }
|
||||
.small-text.markdown-preview-view h2 { font-size: 1.9em; }
|
||||
.small-text.markdown-preview-view h3 { font-size: 1.2em; }
|
||||
.small-text.markdown-preview-view h4 { font-size: 0.95em; }
|
||||
.small-text.markdown-preview-view h5 { font-size: 0.9em; }
|
||||
.small-text.markdown-preview-view h6 { font-size: 0.85em; }
|
||||
|
||||
7
.obsidian/snippets/styled-hr.css
vendored
Normal file
7
.obsidian/snippets/styled-hr.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
.markdown-preview-view hr {
|
||||
border: none;
|
||||
height: 4px;
|
||||
background: linear-gradient(to right, #f5c2e7, #fab387, #a6e3a1);
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
29
.obsidian/snippets/wide-dashboard.css
vendored
Normal file
29
.obsidian/snippets/wide-dashboard.css
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
/* Wide layout only for notes with cssclass: wide-dashboard */
|
||||
.wide-dashboard .markdown-source-view,
|
||||
.wide-dashboard .markdown-preview-view {
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
/* Make Dataview and Columns plugin blocks span full width */
|
||||
.wide-dashboard .dataviewjs-rendered,
|
||||
.wide-dashboard .markdown-preview-section {
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* Optional: reduce padding/margins for tighter dashboard look */
|
||||
.wide-dashboard .markdown-preview-view {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
/* Columns plugin fine-tuning */
|
||||
.wide-dashboard .callout[data-callout="col"] {
|
||||
width: 100% !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user