mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-24 17:14:15 -05:00
154 lines
2.5 KiB
SCSS
154 lines
2.5 KiB
SCSS
.card {
|
|
margin-top: 40px;
|
|
display: flex;
|
|
background: darken($background-color, 10%);
|
|
border-bottom: 1px solid darken($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;
|
|
|
|
small {
|
|
display: block;
|
|
font-size: 14px;
|
|
color: lighten($quaternary-color, 15%);
|
|
}
|
|
}
|
|
|
|
.avatar {
|
|
width: 96px;
|
|
float: left;
|
|
margin-right: 10px;
|
|
padding: 10px;
|
|
margin-top: -30px;
|
|
|
|
img {
|
|
width: 94px;
|
|
height: 94px;
|
|
display: block;
|
|
border: 2px solid $background-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.activity-stream {
|
|
clear: both;
|
|
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;
|
|
|
|
&.entry-reblog {
|
|
border-left: 2px solid $tertiary-color;
|
|
}
|
|
|
|
&: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;
|
|
box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
|
|
.container {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.header {
|
|
margin-bottom: 10px;
|
|
padding: 10px;
|
|
padding-bottom: 0;
|
|
|
|
.name {
|
|
text-decoration: none;
|
|
color: lighten($quaternary-color, 15%);
|
|
|
|
strong {
|
|
color: $quaternary-color;
|
|
}
|
|
|
|
&:hover {
|
|
strong {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.pre-header {
|
|
border-bottom: 1px solid darken($background-color, 10%);
|
|
color: $tertiary-color;
|
|
padding: 5px 10px;
|
|
padding-left: 8px;
|
|
clear: both;
|
|
|
|
.name {
|
|
color: $tertiary-color;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
font-size: 16px;
|
|
padding: 0 10px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.time {
|
|
text-decoration: none;
|
|
color: lighten($quaternary-color, 15%);
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.counters {
|
|
margin-top: 15px;
|
|
color: lighten($quaternary-color, 15%);
|
|
cursor: default;
|
|
padding: 10px;
|
|
padding-top: 0;
|
|
|
|
.counter {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
color: lighten($quaternary-color, 50%);
|
|
}
|
|
|
|
.conversation-link {
|
|
color: $primary-color;
|
|
text-decoration: underline;
|
|
float: right;
|
|
}
|
|
}
|
|
}
|