Skip to content

Commit

Permalink
turn profile accent into border + $bg background
Browse files Browse the repository at this point in the history
  • Loading branch information
f0x52 committed Jun 19, 2022
1 parent 31b6dc6 commit 84f9f54
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
10 changes: 3 additions & 7 deletions web/source/css/profile.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ main {
height: 8.5rem;
width: 8.5rem;
grid-row: 1 / span 2;
background: $acc2;
padding: 0.2rem;
background: $bg;
border: 0.2rem solid $acc2;
padding: 0;
border-radius: $br;
position: relative;

Expand Down Expand Up @@ -135,11 +136,6 @@ main {

.toot, .toot:last-child {
box-shadow: $boxshadow;

.avatar img {
padding-right: 0.15rem;
padding-top: 0.15rem;
}
}

#recent {
Expand Down
11 changes: 6 additions & 5 deletions web/source/css/status.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ main {

.avatar {
grid-row: span 2;
aspect-ratio: 1/1;

img {
height: 4rem;
width: 4rem;
height: 100%;
width: 100%;
object-fit: cover;
background: $acc2;
padding: 0.1rem;
box-sizing: border-box;
background: $bg;
border: 0.1rem solid $acc2;
/* box-sizing: border-box; */
border-radius: calc($br / 1.5);
}
}
Expand Down

0 comments on commit 84f9f54

Please sign in to comment.