Rearrange the post header
Dates will flow below the header if the header is too long. Move the draft up to the top, above the header.
This commit is contained in:
parent
b85ec512ef
commit
501dc6ed51
3 changed files with 22 additions and 6 deletions
|
@ -8,8 +8,8 @@
|
|||
display: inline-block;
|
||||
font-family: 'SF Pro', sans-serif;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
letter-spacing: 3px;
|
||||
margin-inline-start: 1rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
|
|
@ -417,11 +417,24 @@ ul.post-tags li + li {
|
|||
.post-title {
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.post-title .post-date {
|
||||
.post-title > h1 {
|
||||
flex-grow: 1;
|
||||
margin-block-end: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.post-title > .post-date {
|
||||
color: rgb(73, 73, 73);
|
||||
display: inline-block;
|
||||
margin-left: auto;
|
||||
font-size: 1.75rem;
|
||||
inline-size: min-content;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue