mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-14 11:47:33 +00:00
Drop shadow color
This commit is contained in:
parent
d0d1f9e5c7
commit
faa7de9f37
2 changed files with 15 additions and 4 deletions
17
docs/static/css/extra.css
vendored
17
docs/static/css/extra.css
vendored
|
@ -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) {
|
||||
width: unset !important;
|
||||
}
|
||||
|
@ -6,11 +12,18 @@ article {
|
|||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
figure iframe, figure img, figure video {
|
||||
filter: drop-shadow(3px 3px 3px #ccc);
|
||||
figure img, figure video {
|
||||
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 {
|
||||
width: 100%;
|
||||
max-height: 450px;
|
||||
|
|
|
@ -17,13 +17,11 @@ theme:
|
|||
palette:
|
||||
- media: "(prefers-color-scheme: light)" # Light mode
|
||||
scheme: default
|
||||
primary: teal
|
||||
toggle:
|
||||
icon: material/lightbulb-outline
|
||||
name: Switch to light mode
|
||||
- media: "(prefers-color-scheme: dark)" # Dark mode
|
||||
scheme: slate
|
||||
primary: teal
|
||||
accent: indigo
|
||||
toggle:
|
||||
icon: material/lightbulb
|
||||
|
|
Loading…
Reference in a new issue