Obsidian_Starter_Template/.obsidian/snippets/NicolaiVdS General Tweaks.css
Nicolai.vanderstorm - DSV 5d48341cc7 Initial commit
2024-05-21 15:51:11 +02:00

79 lines
1.3 KiB
CSS

/* CyanVoxel's General Tweaks */
.theme-light,
.theme-dark {
--link-decoration: none;
}
h1 {
margin-top: 20px !important;
}
hr {
margin-top: 10px;
margin-bottom: 10px;
}
.image-borders img {
border: solid;
/* border-width: 1em; */
border-width: 2px;
/* border-radius: 6px; */
border-color: rgba(122, 122, 122, 0.2);
}
.markdown-preview-view img {
max-width: 100%;
}
img {
max-width: 100%;
border-radius: 6px;
}
.callout {
border-radius: 12px;
border-width: 2px;
}
.task-list-item-checkbox {
border-width: 2px;
}
#calendar-container .title {
font-size: 18px;
}
.center-images img {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}
.no-embed-border {
--embed-border-left: 0px solid black !important;
}
/* .markdown-preview-view */
.markdown-preview-view {
border-radius: 6px;
}
.center-titles :is(h1,
h2,
h3,
h4,
h5,
h6,
.HyperMD-header.HyperMD-header-1,
.HyperMD-header.HyperMD-header-2,
.HyperMD-header.HyperMD-header-3,
.HyperMD-header.HyperMD-header-4,
.HyperMD-header.HyperMD-header-5,
.HyperMD-header.HyperMD-header-6) {
text-align: center;
}
code {
font-family: "JetBrainsMono Nerd Font Mono", monospace;
}