From f9b8e5c457ad507e77b500866786c82ed4187c92 Mon Sep 17 00:00:00 2001 From: Wicklow Date: Fri, 17 Feb 2023 12:21:14 +0100 Subject: Refactoring accounts component style --- client/src/sass/include/_account-channel-page.scss | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/include/_account-channel-page.scss b/client/src/sass/include/_account-channel-page.scss index f05b8169e..ab6c772c1 100644 --- a/client/src/sass/include/_account-channel-page.scss +++ b/client/src/sass/include/_account-channel-page.scss @@ -16,15 +16,17 @@ } @mixin show-more-description { + @include rfs(10px auto 45px, margin); + color: pvar(--mainColor); cursor: pointer; - margin: 10px auto 45px; } @mixin avatar-row-responsive ($img-margin, $grey-font-size) { + @include margin-bottom(2rem); + display: flex; grid-column: 1; - margin-bottom: 30px; > div { @include margin-left($img-margin); @@ -49,7 +51,8 @@ } h1 { - font-size: 28px; + @include font-size(2rem); + font-weight: $font-bold; margin: 0; } @@ -60,8 +63,9 @@ .actor-handle, .actor-counters { + @include font-size($grey-font-size); + color: pvar(--greyForegroundColor); - font-size: $grey-font-size; } .actor-counters > *:not(:last-child)::after { @@ -75,11 +79,6 @@ } @media screen and (max-width: $mobile-view) { - margin-bottom: 15px; - - h1 { - font-size: 22px; - } .main-avatar { @include actor-avatar-size(80px); -- cgit v1.2.3