X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=assets%2Fsass%2Fcomponents%2F_image.scss;h=6b6fdb3496d91cc77a85a9524555a9f30fa17a1c;hb=84032966f14fb3c9269b570b1d4fc16452c601c4;hp=131fa48dc23a75b8055e25478163a545215bb88f;hpb=37ce51473b7359949c4fd667e2cd6cb1115b21ea;p=theme-danix.xyz.git diff --git a/assets/sass/components/_image.scss b/assets/sass/components/_image.scss index 131fa48..6b6fdb3 100644 --- a/assets/sass/components/_image.scss +++ b/assets/sass/components/_image.scss @@ -15,6 +15,14 @@ display: block; } + &.shadow { + img { + @include box-shadow(-5px, 5px, 5px, _palette_light(fg-bold)); + @media screen and (prefers-color-scheme: dark) { + @include box-shadow(-5px, 5px, 5px, _palette_light(fg-bold)); + } + } + } &.left, &.right { max-width: 30%; @@ -26,13 +34,13 @@ &.left { float: left; - margin: 0 1.5em 1.25em 0; + margin: 0 1.5em 0.5em 1em; top: 0.25em; } &.right { float: right; - margin: 0 0 1.25em 1.5em; + margin: 0 1em 0.5em 1.5em; top: 0.25em; } @@ -105,4 +113,20 @@ text-align: center; } } + } + // signature inside single articles + div#post-signature { + clear: both; + overflow: hidden; + width: 100%; + margin: 0; + div#signature { + margin: 0; + padding: 0; + img.signature { + margin: 0; + margin-right: 4em; + width: 350px; + } + } } \ No newline at end of file