mastodon-glitch/app/assets/stylesheets/accounts.scss

72 lines
1.2 KiB
SCSS

.card {
background: $primary-color image-url('background-photo.jpeg');
background-size: cover;
padding: 60px 0;
padding-bottom: 10px;
border-radius: 4px 4px 0 0;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
.name {
display: block;
font-size: 20px;
line-height: 18px * 1.5;
color: #fff;
font-weight: 500;
text-align: center;
small {
display: block;
font-size: 14px;
color: #2b90d9;
font-weight: 400;
}
}
.avatar {
width: 120px;
margin: 0 auto;
margin-bottom: 15px;
img {
width: 120px;
height: 120px;
display: block;
border-radius: 120px;
}
}
.details {
display: flex;
margin-top: 30px;
}
.counter {
width: 80px;
color: #9baec8;
padding: 0 10px;
border-right: 1px solid #9baec8;
cursor: default;
.counter-label {
font-size: 12px;
text-transform: uppercase;
display: block;
margin-bottom: 5px;
}
.counter-number {
font-weight: 500;
font-size: 18px;
color: #fff;
}
}
.bio {
flex: 1;
font-size: 14px;
line-height: 18px;
padding: 5px 10px;
color: #d9e1e8;
}
}