2020-07-21 04:50:35 -04:00
|
|
|
/* Post entry
|
|
|
|
-------------------------------------------------- */
|
|
|
|
.first-entry {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2020-09-14 13:09:31 -04:00
|
|
|
min-height: 320px;
|
2020-09-20 02:24:41 -04:00
|
|
|
margin: var(--gap) 0 calc(var(--gap) * 2) 0;
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
2020-07-25 03:58:07 -04:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
.first-entry {
|
2020-09-14 13:09:31 -04:00
|
|
|
min-height: 260px;
|
2020-07-25 03:58:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-21 04:50:35 -04:00
|
|
|
.first-entry .entry-header {
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.first-entry .entry-header h2 {
|
2020-07-25 04:04:23 -04:00
|
|
|
font-size: 34px;
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.first-entry .entry-content {
|
2020-09-20 02:24:41 -04:00
|
|
|
margin: 14px 0;
|
2020-07-21 04:50:35 -04:00
|
|
|
font-size: 16px;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.first-entry .entry-footer {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-entry {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: var(--gap);
|
|
|
|
padding: var(--gap);
|
|
|
|
background: var(--entry);
|
|
|
|
border-radius: var(--radius);
|
|
|
|
transition: transform 0.1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-entry:active {
|
|
|
|
transform: scale(0.96);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-entry .entry-content,
|
|
|
|
.tag-entry .entry-footer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-header h2 {
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content {
|
2020-09-20 02:24:41 -04:00
|
|
|
margin: 8px 0;
|
2020-07-21 04:50:35 -04:00
|
|
|
color: var(--secondary);
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.6;
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-footer {
|
|
|
|
color: var(--secondary);
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-link {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2020-07-24 11:16:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.entry-isdraft {
|
|
|
|
display: inline;
|
|
|
|
color: var(--secondary);
|
|
|
|
font-size: 14px;
|
2020-08-27 10:33:00 -04:00
|
|
|
}
|
|
|
|
|
2020-09-14 08:15:22 -04:00
|
|
|
.entry-cover img {
|
|
|
|
border-radius: var(--radius);
|
|
|
|
margin-bottom: var(--gap);
|
|
|
|
pointer-events: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|