diff options
author | chr <chr@cybre.space> | 2021-03-01 22:07:29 -0800 |
---|---|---|
committer | chr <chr@cybre.space> | 2021-03-01 22:07:29 -0800 |
commit | a00797766b84b728a076fff0aab1e24d04d899ed (patch) | |
tree | 811ad349a4062bb3e0fa059dca0f142ed7138abc /app/javascript/styles/fullwidth-media.scss | |
parent | 2854fcdbb2dffa0a6dc67562bde0a3655136b0b3 (diff) | |
parent | 75334de32c4e8888f6d16a4e1b6f774b64c4a5b9 (diff) |
Merge branch 'themes_merged' into cybrespace-3.3
Diffstat (limited to 'app/javascript/styles/fullwidth-media.scss')
-rw-r--r-- | app/javascript/styles/fullwidth-media.scss | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app/javascript/styles/fullwidth-media.scss b/app/javascript/styles/fullwidth-media.scss new file mode 100644 index 000000000..f6a036d4f --- /dev/null +++ b/app/javascript/styles/fullwidth-media.scss @@ -0,0 +1,48 @@ + +.detailed-status > .media-spoiler, +.status > .media-spoiler, +.status .video-player, +.media-gallery, +.status .status-card.interactive { + margin-top: 20px; + margin-left: -68px; + width: calc(100% + 80px); +} + +.detailed-status > .media-spoiler, +.status > .media-spoiler, +.video-player { + max-width: none; +} + +/* If there's no status text, add an extra margin on top */ +.status .status__info + .media-gallery, +.status .status__info + .media-spoiler, +.status .status__info + .video-player, +.status .status__info + .status-card { + margin-top: 40px; +} + +.status__video-player-video { + transform: unset; + top: unset; +} + +.detailed-status .media-gallery { + margin-left: -10px; + width: calc(100% + 22px); +} + +.public-layout .status { + .status__content { + min-height: 15px; + } + & > .media-spoiler, + .video-player, + .media-gallery, + .status-card { + margin-top: 20px; + width: calc(100% + 94px); + margin-left: -78px; + } +} |