about summary refs log tree commit diff
path: root/app/javascript/styles/fullwidth-media.scss
blob: f6a036d4f23220de456523d0b91fa148a76657db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
  }
}