aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include/_account-channel-page.scss
blob: c47acb7b798624fe0abe6849b69e82834631a87a (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
@use '_variables' as *;
@use '_mixins' as *;

@mixin section-label-responsive {
  color: pvar(--mainColor);
  font-size: 12px;
  margin-bottom: 15px;
  font-weight: $font-bold;
  letter-spacing: 2.5px;

  @media screen and (max-width: $mobile-view) {
    font-size: 10px;
    letter-spacing: 2.1px;
    margin-bottom: 5px;
  }
}

@mixin show-more-description {
  @include margin(10px, auto, 45px);
  
  color: pvar(--mainColor);
  cursor: pointer;
}

@mixin avatar-row-responsive ($img-margin, $grey-font-size) {
  @include margin-bottom(2rem);

  display: flex;
  grid-column: 1;

  > div {
    @include margin-left($img-margin);

    min-width: 1px;
  }

  .actor-info {
    display: flex;

    > div:first-child {
      flex-grow: 1;
      min-width: 1px;
    }
  }

  .actor-display-name {
    @include peertube-word-wrap;

    display: flex;
    flex-wrap: wrap;
  }

  h1 {
    @include font-size(2rem);

    font-weight: $font-bold;
    margin: 0;
  }

  .actor-handle {
    @include ellipsis;
  }

  .actor-handle,
  .actor-counters {
    @include font-size($grey-font-size);

    color: pvar(--greyForegroundColor);
  }

  .actor-counters > *:not(:last-child)::after {
    content: '•';
    margin: 0 10px;
    color: pvar(--mainColor);
  }

  .main-avatar {
    @include actor-avatar-size(120px);
  }

  @media screen and (max-width: $mobile-view) {

    .main-avatar {
      @include actor-avatar-size(80px);
    }
  }
}