ProfileStats: move scss to its own file

This commit is contained in:
Alex Gleason
2021-09-13 13:16:40 -05:00
parent 0eed6405d2
commit 3606901e87
3 changed files with 31 additions and 31 deletions

View File

@ -87,6 +87,7 @@
@import 'components/federation-restrictions';
@import 'components/aliases';
@import 'components/icon';
@import 'components/profile-stats';
// Holiday
@import 'holiday/halloween';

View File

@ -0,0 +1,30 @@
.profile-stats {
display: flex;
margin-top: 12px;
}
.profile-stat {
display: flex;
font-size: 14px;
text-decoration: none;
&:not(:first-of-type) {
margin-left: 18px;
}
&__value {
display: flex;
margin-right: 3px;
font-weight: 700;
color: var(--primary-text-color);
}
&__label {
display: flex;
color: var(--primary-text-color--faint);
}
&:hover {
text-decoration: underline;
}
}

View File

@ -131,37 +131,6 @@
}
}
.profile-stats {
display: flex;
margin-top: 12px;
}
.profile-stat {
display: flex;
font-size: 14px;
text-decoration: none;
&:not(:first-of-type) {
margin-left: 18px;
}
&__value {
display: flex;
margin-right: 3px;
font-weight: 700;
color: var(--primary-text-color);
}
&__label {
display: flex;
color: var(--primary-text-color--faint);
}
&:hover {
text-decoration: underline;
}
}
.sidebar-account {
text-decoration: none;
}