1

Config/Obsidian: Add !important to snippets

This commit is contained in:
2026-04-15 01:28:40 +02:00
parent 00e412cb20
commit 593437fa94
4 changed files with 19 additions and 8 deletions

View File

@ -1,6 +1,10 @@
.bordered-images img {
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
background-color: var(--background-secondary);
border-radius: var(--callout-radius);
/* border-style: solid; */
/* border-width: var(--callout-border-width); */
/* border-color: var(--color-purple-rgb); */
/* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); */
/* Background color so PNGs with transparent backgrounds don't look weird */
/* background-color: var(--background-secondary); */
}

View File

@ -1,5 +1,5 @@
.center-images img {
display: block;
margin-left: auto;
margin-right: auto;
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}

View File

@ -1,4 +1,4 @@
.fullwidth-images img {
width: 100%;
height: auto;
width: 100% !important;
height: auto !important;
}

View File

@ -581,6 +581,13 @@ in {
# opacity = 0.8;
}
# Floating + unmaximized windows
{
matches = [{app-id = "com.github.finefindus.eyedropper";}];
open-floating = true;
open-maximized = false;
}
# Rules for specific windows
{
matches = [{app-id = "neovide";}];