feat(profile): Add optional title above subtitle (#308)

This commit is contained in:
Dave A-W
2020-05-04 16:43:47 +08:00
committed by GitHub
parent 417851b1cd
commit 67617b82dc
10 changed files with 44 additions and 28 deletions

View File

@@ -17,19 +17,21 @@
@include border-radius(100%);
@include box-shadow(0 0 0 .3618em rgba(0, 0, 0, .05));
@include transition(all 0.4s ease);
}
a img {
cursor: pointer;
&:hover {
position: relative;
@include transform(translateY(-.75rem));
cursor: pointer;
}
}
}
.home-title {
font-size: 1.2rem;
font-weight: bold;
margin: 0;
padding: .4rem;
}
.home-subtitle {
font-size: 1rem;
font-weight: normal;