2016-03-24 16:03:30 +09:00
|
|
|
.post-item{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-vote{
|
|
|
|
margin-right: $hmargin;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upvote-button{
|
|
|
|
border: 1px solid $light-border;
|
|
|
|
border-radius: 3px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 3px 5px;
|
|
|
|
.icon{
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.vote-count{
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.voted &{
|
|
|
|
color: $light-text;
|
|
|
|
}
|
|
|
|
&:hover{
|
|
|
|
background: $blue;
|
|
|
|
color: $white;
|
|
|
|
border-color: $blue;
|
|
|
|
}
|
|
|
|
&, &:active, &:hover{
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-content{
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-title{
|
2016-03-24 16:12:03 +09:00
|
|
|
font-size: 1.35rem;
|
2016-03-24 16:03:30 +09:00
|
|
|
margin-bottom: 5px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.post-title-link{
|
2016-03-24 16:12:03 +09:00
|
|
|
color: $black;
|
2016-03-24 16:03:30 +09:00
|
|
|
&, &:active, &:hover{
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-categories{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 5px;
|
|
|
|
a{
|
|
|
|
display: block;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
border: 1px solid $light-grey;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-right: 5px;
|
|
|
|
padding: 2px 6px;
|
|
|
|
&:hover{
|
|
|
|
background: $blue;
|
|
|
|
color: $white;
|
|
|
|
border-color: $blue;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-meta{
|
|
|
|
font-size: 0.9rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.user-avatar, .user-name, .post-date, .post-stats, .post-actions{
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-date{
|
|
|
|
color: $medium-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-stats{
|
|
|
|
border: 1px solid $light-border;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
>span{
|
|
|
|
border-right: 1px solid $light-border;
|
|
|
|
padding: 2px 5px;
|
|
|
|
display: inline-block;
|
|
|
|
&:last-child{
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-actions{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-comments{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-commenters{
|
|
|
|
.user-avatar{
|
|
|
|
margin-right: $hmargin;
|
|
|
|
}
|
2016-03-24 16:12:03 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-load-more{
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
border: 1px solid $light-border;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
padding: 10px 20px;
|
|
|
|
&:hover{
|
|
|
|
background: $blue;
|
|
|
|
color: $white;
|
|
|
|
border-color: $blue;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2016-03-24 16:03:30 +09:00
|
|
|
}
|