Ghost_Ruby_Theme/assets/less/blog/post.less

112 lines
1.6 KiB
Plaintext
Raw Normal View History

2019-04-29 19:46:11 +03:00
.post-column {
margin-bottom: 30px;
}
.post {
border-radius: 5px;
box-shadow: @shadow-base;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.post-wrapper {
background-color: @white-color;
flex-grow: 1;
padding: 20px;
}
.post-header {
margin-bottom: 10px;
}
.post-title {
font-size: 18px;
margin-bottom: 0;
}
.post-excerpt {
color: @secondary-text-color;
font-size: 14px;
}
.post-meta {
align-items: center;
background-color: @white-color;
display: flex;
padding: 0 20px 20px 22px;
}
.post-author-image-link {
display: block;
height: 34px;
margin: 0 -4px;
position: relative;
width: 34px;
&:first-child {
z-index: 10;
}
&:nth-child(2) {
z-index: 9;
}
&:nth-child(3) {
z-index: 8;
}
&:nth-child(4) {
z-index: 7;
}
&:nth-child(5) {
z-index: 6;
}
}
.post-author-image {
border: 2px solid @white-color;
border-radius: 50%;
}
.post-meta-wrapper {
font-size: 12px;
line-height: 1;
margin-left: 10px;
}
.post-author-name-link {
font-weight: 700;
& + .post-author-name-link:before {
color: @secondary-text-color;
content: ", ";
}
}
.post-date {
color: @secondary-text-color;
display: block;
font-weight: 600;
margin-top: 4px;
}
.post-footer {
align-items: center;
background-color: @white-color;
border-top: 1px solid @light-gray-color;
display: flex;
height: 42px;
padding: 0 20px;
}
.post-link {
color: var(--primary-color);
font-size: 12px;
font-weight: 700;
letter-spacing: .5px;
line-height: 1;
text-transform: uppercase;
}