chinwagsocial/app/assets/stylesheets/profile.scss

160 lines
2.7 KiB
SCSS

.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;
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;
}
&.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;
padding: 10px;
padding-bottom: 0;
.name {
text-decoration: none;
color: $lighter-text-color;
strong {
color: $text-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: $lighter-text-color;
&:hover {
text-decoration: underline;
}
}
.counters {
margin-top: 15px;
color: $lighter-text-color;
cursor: default;
padding: 10px;
padding-top: 0;
.counter {
display: inline-block;
margin-right: 10px;
color: $lighter-text-color;
}
.conversation-link {
color: $primary-color;
text-decoration: underline;
float: right;
}
}
}