mastodon/app/assets/stylesheets/profile.scss

161 lines
2.7 KiB
SCSS
Raw Normal View History

.card {
display: flex;
background: $darker-background-color;
border: 1px solid darken($darker-background-color, 15%);
box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
.bio {
flex-grow: 1;
}
.name {
font-size: 24px;
line-height: 18px * 1.5;
color: $text-color;
small {
display: block;
font-size: 14px;
color: $lighter-text-color;
}
}
.avatar {
width: 96px;
float: left;
margin-right: 10px;
padding: 10px;
padding-left: 9px;
margin-top: -30px;
img {
width: 94px;
height: 94px;
display: block;
border: 2px solid $lighter-text-color;
border-radius: 5px;
}
}
}
.activity-stream {
clear: both;
2016-02-26 21:11:52 +01:00
box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
.entry {
border-bottom: 1px solid darken($background-color, 10%);
background: $background-color;
border-left: 2px solid $primary-color;
2016-02-26 21:11:52 +01:00
&.entry-reblog {
border-left: 2px solid $tertiary-color;
}
&.entry-predecessor, &.entry-successor {
border-left: 2px solid $lighter-text-color;
background: darken($background-color, 5%);
}
&:last-child {
border-bottom: 0;
}
}
.entry__container {
display: flex;
}
.avatar {
width: 48px;
padding: 10px;
padding-left: 8px;
padding-right: 0;
padding-top: 12px;
img {
width: 48px;
height: 48px;
display: block;
border-radius: 5px;
}
}
.entry__container__container {
flex-grow: 1;
}
.header {
margin-bottom: 10px;
2016-02-26 21:11:52 +01:00
padding: 10px;
padding-bottom: 0;
.name {
text-decoration: none;
color: $lighter-text-color;
2016-02-26 21:11:52 +01:00
strong {
color: $text-color;
2016-02-26 21:11:52 +01:00
}
&:hover {
strong {
text-decoration: underline;
}
}
}
}
2016-02-26 21:11:52 +01:00
.pre-header {
border-bottom: 1px solid darken($background-color, 10%);
color: $tertiary-color;
2016-02-26 21:11:52 +01:00
padding: 5px 10px;
padding-left: 8px;
clear: both;
2016-02-26 21:11:52 +01:00
.name {
color: $tertiary-color;
2016-02-26 21:11:52 +01:00
font-weight: bold;
text-decoration: none;
2016-02-26 21:11:52 +01:00
&:hover {
text-decoration: underline;
}
}
}
.content {
font-size: 16px;
2016-02-26 21:11:52 +01:00
padding: 0 10px;
padding-left: 8px;
}
.time {
text-decoration: none;
color: $lighter-text-color;
&:hover {
text-decoration: underline;
}
}
.counters {
margin-top: 15px;
color: $lighter-text-color;
cursor: default;
2016-02-26 21:11:52 +01:00
padding: 10px;
padding-top: 0;
.counter {
display: inline-block;
margin-right: 10px;
color: $lighter-text-color;
}
2016-02-26 21:11:52 +01:00
.conversation-link {
color: $primary-color;
2016-02-26 21:11:52 +01:00
text-decoration: underline;
float: right;
}
}
}