diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-03-20 18:01:09 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-03-20 18:01:09 +0100 |
commit | 45e5a794ae423e81afa7fdde329f34e3d4a0bcd3 (patch) | |
tree | 1afd7082ca2570a54bd3ba0687542ba94996bbb4 /src/sass | |
parent | a9ece91610c7f33cbc6445b58cfd1a9b43a89a49 (diff) |
feat: add top authors section
Diffstat (limited to 'src/sass')
-rw-r--r-- | src/sass/_commit.sass | 18 | ||||
-rw-r--r-- | src/sass/main.sass | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/sass/_commit.sass b/src/sass/_commit.sass index 64a315c..d59afa0 100644 --- a/src/sass/_commit.sass +++ b/src/sass/_commit.sass @@ -86,3 +86,21 @@ border-radius: 2px @include breakpoint(phablet) max-width: 180px + +.top-author + display: grid + grid-template-columns: 80% 20% + .user + display: flex + img + width: 30px + height: 30px + margin-right: 5px + strong + text-overflow: ellipsis + white-space: nowrap + overflow: hidden + + .number + justify-self: end + color: $secondary diff --git a/src/sass/main.sass b/src/sass/main.sass index 09acd39..deab05d 100644 --- a/src/sass/main.sass +++ b/src/sass/main.sass @@ -5,3 +5,9 @@ body color: #2c3e50 font-family: $font-family background-color: #fbfcfc + +#home + @include breakpoint(phablet) + flex-direction: column-reverse + > div + margin-bottom: 42px |