aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about/about-instance/about-instance.component.scss
blob: 965c04b6c2beb11b19e318a3818e0370ab0b0cb1 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@use '_variables' as *;
@use '_mixins' as *;

.about-instance-title {
  display: flex;
  justify-content: space-between;

  .title {
    font-size: 20px;
    font-weight: $font-semibold;
  }

  .contact-admin {
    @include peertube-button-link;
    @include orange-button;

    height: fit-content;
  }
}

.instance-badges {
  font-size: 16px;
  margin-bottom: 20px;

  .badge {
    @include margin-right(5px);

    font-size: 12px;
    font-weight: $font-semibold;

    &.category {
      background-color: pvar(--mainColor);
    }
  }
}

.section-title {
  font-weight: $font-semibold;
  font-size: 16px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.middle-title {
  @include in-content-small-title;

  margin-top: 0;
  margin-bottom: 25px;
}

.block {
  margin-bottom: 75px;
  font-size: 15px;
}

.short-description {
  margin-top: 10px;
}

.short-description .dedicated-to-nsfw {
  margin-top: 20px;
  font-weight: $font-semibold;
}

.anchor-link {
  @include disable-outline;

  position: relative;

  &:hover,
  &:active {
    &::after {
      @include margin-left(0.2em);

      content: '#';
      display: inline-block;
    }
  }

  .middle-title,
  .section-title {
    display: inline-block;
  }

  .section-title {
    color: var(--mainForegroundColor);
  }
}