2018-07-22 00:47:19 +02:00
|
|
|
|
2018-11-17 21:55:42 +01:00
|
|
|
/* Use 100% of the viewport width always*/
|
2018-07-22 00:47:19 +02:00
|
|
|
.detailed-status > .media-spoiler,
|
|
|
|
.status > .media-spoiler,
|
|
|
|
.status .video-player,
|
2018-11-17 21:55:42 +01:00
|
|
|
.media-gallery,
|
|
|
|
.status .status-card {
|
2018-07-22 00:47:19 +02:00
|
|
|
margin-top:20px;
|
|
|
|
margin-left:-68px;
|
|
|
|
width: calc(100% + 80px);
|
|
|
|
}
|
|
|
|
|
2018-11-17 21:55:42 +01:00
|
|
|
/* Unset max-width for spoilers and the video player */
|
2018-07-22 00:47:19 +02:00
|
|
|
.detailed-status > .media-spoiler,
|
|
|
|
.status > .media-spoiler,
|
|
|
|
.video-player {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
2018-11-17 21:55:42 +01:00
|
|
|
/* 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;
|
2018-07-22 00:47:19 +02:00
|
|
|
}
|
|
|
|
|
2018-11-17 21:55:42 +01:00
|
|
|
/* Undo transforms on videos inside the video player */
|
2018-07-22 00:47:19 +02:00
|
|
|
.status__video-player-video {
|
|
|
|
transform:unset;
|
|
|
|
top:unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Adjust offset and width for detail view */
|
|
|
|
.detailed-status .media-gallery {
|
|
|
|
margin-left:-10px;
|
|
|
|
width: calc(100% + 22px);
|
|
|
|
}
|
|
|
|
|
2018-11-17 21:55:42 +01:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|