Drop shadow color

pull/53/head
Philipp Heckel 2021-12-06 19:04:45 -05:00
parent d0d1f9e5c7
commit faa7de9f37
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,9 @@
:root {
--md-primary-fg-color: #3a9784;
--md-primary-fg-color--light: #3a9784;
--md-primary-fg-color--dark: #3a9784;
}
.md-header__button.md-logo :is(img, svg) { .md-header__button.md-logo :is(img, svg) {
width: unset !important; width: unset !important;
} }
@ -6,11 +12,18 @@ article {
padding-bottom: 50px; padding-bottom: 50px;
} }
figure iframe, figure img, figure video { figure img, figure video {
filter: drop-shadow(3px 3px 3px #ccc);
border-radius: 7px; border-radius: 7px;
} }
body[data-md-color-scheme="default"] figure img, body[data-md-color-scheme="default"] figure video {
filter: drop-shadow(3px 3px 3px #ccc);
}
body[data-md-color-scheme="slate"] figure img, body[data-md-color-scheme="slate"] figure video {
filter: drop-shadow(3px 3px 3px #1a1313);
}
figure video { figure video {
width: 100%; width: 100%;
max-height: 450px; max-height: 450px;

View File

@ -17,13 +17,11 @@ theme:
palette: palette:
- media: "(prefers-color-scheme: light)" # Light mode - media: "(prefers-color-scheme: light)" # Light mode
scheme: default scheme: default
primary: teal
toggle: toggle:
icon: material/lightbulb-outline icon: material/lightbulb-outline
name: Switch to light mode name: Switch to light mode
- media: "(prefers-color-scheme: dark)" # Dark mode - media: "(prefers-color-scheme: dark)" # Dark mode
scheme: slate scheme: slate
primary: teal
accent: indigo accent: indigo
toggle: toggle:
icon: material/lightbulb icon: material/lightbulb