]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/include/_actor.scss
Increase global font size
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _actor.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
67264e06 3
d0800f76 4@mixin actor-row ($avatar-margin-right: 10px, $min-height: 130px, $separator: true) {
4beda9e1 5 @include row-blocks($min-height: $min-height, $separator: $separator);
67264e06 6
4beda9e1 7 > my-actor-avatar {
4beda9e1 8 @include margin-right($avatar-margin-right);
67264e06
C
9 }
10
11 .actor-info {
4beda9e1 12 flex-grow: 1;
67264e06
C
13 }
14
4beda9e1
C
15 .actor-names {
16 @include disable-default-a-behaviour;
b45afe12 17
4beda9e1 18 width: fit-content;
67264e06 19 display: flex;
4beda9e1
C
20 align-items: baseline;
21 color: pvar(--mainForegroundColor);
67264e06
C
22 }
23
4beda9e1
C
24 .actor-display-name {
25 font-weight: $font-semibold;
26 font-size: 18px;
67264e06
C
27 }
28
4beda9e1
C
29 .actor-name {
30 @include margin-left(5px);
fcd8d3e0 31
4beda9e1
C
32 font-size: 14px;
33 color: $grey-actor-name;
67264e06
C
34 }
35
4beda9e1
C
36 .actor-owner {
37 @include disable-default-a-behaviour;
67264e06 38
4beda9e1 39 color: pvar(--mainForegroundColor);
5b0ec7cd
C
40 display: flex;
41 align-items: center;
67264e06 42
4beda9e1
C
43 span:hover {
44 opacity: 0.8;
67264e06
C
45 }
46
4beda9e1 47 my-actor-avatar {
5b0ec7cd 48 @include margin-left(5px);
4beda9e1
C
49 }
50 }
51
52 @media screen and (max-width: $small-view) {
53 .actor-info {
54 padding-bottom: 10px;
55 text-align: center;
56
57 .actor-names {
58 flex-direction: column;
59 align-items: center !important;
60 margin: auto;
61 }
67264e06
C
62 }
63 }
64}