glitch-social/app/assets/stylesheets/profile.scss

154 lines
2.5 KiB
SCSS
Raw Normal View History

.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;
2016-02-26 20:11:52 +00: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 20:11:52 +00:00
&.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;
2016-02-26 20:11:52 +00:00
padding: 10px;
padding-bottom: 0;
.name {
text-decoration: none;
color: lighten($quaternary-color, 15%);
2016-02-26 20:11:52 +00:00
strong {
color: $quaternary-color;
2016-02-26 20:11:52 +00:00
}
&:hover {
strong {
text-decoration: underline;
}
}
}
}
2016-02-26 20:11:52 +00:00
.pre-header {
border-bottom: 1px solid darken($background-color, 10%);
color: $tertiary-color;
2016-02-26 20:11:52 +00:00
padding: 5px 10px;
padding-left: 8px;
clear: both;
2016-02-26 20:11:52 +00:00
.name {
color: $tertiary-color;
2016-02-26 20:11:52 +00:00
font-weight: bold;
text-decoration: none;
2016-02-26 20:11:52 +00:00
&:hover {
text-decoration: underline;
}
}
}
.content {
font-size: 16px;
2016-02-26 20:11:52 +00:00
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;
2016-02-26 20:11:52 +00:00
padding: 10px;
padding-top: 0;
.counter {
display: inline-block;
margin-right: 10px;
color: lighten($quaternary-color, 50%);
}
2016-02-26 20:11:52 +00:00
.conversation-link {
color: $primary-color;
2016-02-26 20:11:52 +00:00
text-decoration: underline;
float: right;
}
}
}