diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-23 09:38:27 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:20 -0500 |
commit | 5622de4a785e6b7c9a4946af3efaf8b4c2bc5755 (patch) | |
tree | b9378500aa449af54ac09c44b2aba8f6ee2a184b /app/javascript/flavours/glitch/styles/monsterfork/components/status.scss | |
parent | 5de7e2d667fa55f353a8b3d988cd047c118a4250 (diff) |
[Feature] Support Misskey-compatible boosts with attached content notes
Diffstat (limited to 'app/javascript/flavours/glitch/styles/monsterfork/components/status.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/monsterfork/components/status.scss | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss index 0486c9a80..65ac9286d 100644 --- a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss +++ b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss @@ -142,15 +142,25 @@ div[data-nest-deep="true"] { margin-bottom: 0px; } - p:first-child, - pre:first-child, - blockquote:first-child, - div.status__notice-wrapper + p { - margin-top: 0px; + .status__content__spoiler { + .status__content__spoiler--visible { + margin-top: 1em; + } } - .status__content__spoiler.status__content__spoiler--visible { - margin-top: 1em; + .spoiler { + & > i { + padding-right: 8px; + color: lighten($dark-text-color, 4%); + } + } + + .reblog-spoiler { + font-style: italic; + + & > span { + color: lighten($ui-highlight-color, 8%); + } } } |