mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
147 lines
No EOL
2.3 KiB
SCSS
147 lines
No EOL
2.3 KiB
SCSS
|
|
.post-list-header{
|
|
@include flex-center;
|
|
justify-content: space-between;
|
|
margin-bottom: $vmargin;
|
|
}
|
|
|
|
.post-views{
|
|
a{
|
|
@include border;
|
|
@include blueHover;
|
|
// @include border-radius;
|
|
// padding: 3px 5px;
|
|
// margin-right: 5px;
|
|
&.post-view-active{
|
|
background: $light-blue;
|
|
}
|
|
}
|
|
}
|
|
.post-list-content{
|
|
border-top: $border;
|
|
// padding-top: 15px;
|
|
// margin-top: 15px;
|
|
margin-bottom: $vmargin;
|
|
}
|
|
|
|
.post-item{
|
|
@include flex-center;
|
|
border-bottom: $border;
|
|
padding: $vmargin 5px;
|
|
// margin-bottom: 15px;
|
|
&.post-sticky{
|
|
background: $light-yellow;
|
|
|
|
}
|
|
}
|
|
|
|
.post-vote{
|
|
margin-right: $hmargin;
|
|
}
|
|
|
|
.upvote-button{
|
|
@include border;
|
|
@include border-radius;
|
|
@include flex-center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 3px 5px;
|
|
.icon{
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
.vote-count{
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
.voted &{
|
|
color: $light-text;
|
|
}
|
|
@include blueHover;
|
|
&, &:active, &:hover{
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.post-content{
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.post-title{
|
|
font-size: 1.35rem;
|
|
margin-bottom: 5px;
|
|
@include flex-center;
|
|
.post-title-link{
|
|
color: $black;
|
|
&, &:active, &:hover{
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-categories{
|
|
@include flex-center;
|
|
margin-left: 5px;
|
|
a{
|
|
display: block;
|
|
font-size: 0.8rem;
|
|
@include border;
|
|
@include border-radius;
|
|
margin-right: 5px;
|
|
padding: 2px 6px;
|
|
@include blueHover;
|
|
}
|
|
}
|
|
|
|
.post-meta{
|
|
font-size: 0.9rem;
|
|
@include flex-center;
|
|
.user-avatar{
|
|
margin-right: 5px;
|
|
}
|
|
.user-name, .post-date, .post-comments, .post-stats, .post-actions{
|
|
margin-right: $hmargin;
|
|
}
|
|
}
|
|
|
|
.post-date, .post-comments{
|
|
color: $medium-text;
|
|
}
|
|
|
|
.post-stats{
|
|
@include border;
|
|
@include border-radius;
|
|
font-size: 0.8rem;
|
|
.post-stat{
|
|
border-right: $border;
|
|
padding: 2px 5px;
|
|
display: inline-block;
|
|
&:last-child{
|
|
border: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-actions{
|
|
@include flex-center;
|
|
}
|
|
|
|
.post-comments{
|
|
@include flex-center;
|
|
}
|
|
|
|
.post-commenters{
|
|
.user-avatar{
|
|
margin-right: $hmargin;
|
|
}
|
|
}
|
|
|
|
.post-load-more{
|
|
display: block;
|
|
text-align: center;
|
|
@include border;
|
|
@include border-radius;
|
|
font-size: 1.25rem;
|
|
padding: 10px 20px;
|
|
@include blueHover;
|
|
} |