activitypub-academy/app/assets/stylesheets/profile.scss

130 lines
2.1 KiB
SCSS
Raw Normal View History

.card {
padding-top: 20px;
.name {
font-size: 24px;
line-height: 18px * 1.5;
small {
display: block;
font-size: 14px;
color: lighten($quaternary-color, 15%);
}
}
.bio {
}
.counter {
display: block;
float: left;
width: 100px;
text-align: center;
border: 1px solid #A593E0;
color: #A593E0;
border-radius: 5px;
padding: 3px 0;
margin-right: 3px;
.num {
display: block;
font-size: 24px;
}
}
}
.activity-stream {
clear: both;
2016-02-27 05:11:52 +09: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-27 05:11:52 +09:00
&.entry-reblog {
border-left: 2px solid $tertiary-color;
}
&:last-child {
border-bottom: 0;
}
}
.header {
margin-bottom: 10px;
2016-02-27 05:11:52 +09:00
padding: 10px;
padding-bottom: 0;
padding-left: 8px;
.name {
text-decoration: none;
color: lighten($quaternary-color, 15%);
2016-02-27 05:11:52 +09:00
strong {
color: $quaternary-color;
2016-02-27 05:11:52 +09:00
}
&:hover {
strong {
text-decoration: underline;
}
}
}
}
2016-02-27 05:11:52 +09:00
.pre-header {
border-bottom: 1px solid darken($background-color, 10%);
color: $tertiary-color;
2016-02-27 05:11:52 +09:00
padding: 5px 10px;
padding-left: 8px;
2016-02-27 05:11:52 +09:00
.name {
color: $tertiary-color;
2016-02-27 05:11:52 +09:00
font-weight: bold;
text-decoration: none;
2016-02-27 05:11:52 +09:00
&:hover {
text-decoration: underline;
}
}
}
.content {
font-size: 16px;
2016-02-27 05:11:52 +09: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-27 05:11:52 +09:00
padding: 10px;
padding-top: 0;
padding-left: 8px;
.counter {
display: inline-block;
margin-right: 10px;
color: lighten($quaternary-color, 50%);
}
2016-02-27 05:11:52 +09:00
.conversation-link {
color: $primary-color;
2016-02-27 05:11:52 +09:00
text-decoration: underline;
float: right;
}
}
}