Add author block and publish dates
This commit is contained in:
1 parent
e98442984b
commit
483d11b88d
6 files changed
+67
-25
No files matched your search
@@ -1,4 +1,12 @@
|
||||
article {
|
||||
.published {
|
||||
color: var(--color-subtle);
|
||||
display: inline-block;
|
||||
font-size: var(--text-size-s);
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
img {
|
||||
margin-inline-start: auto;
|
||||
margin-inline-end: auto;
|
||||
@@ -18,4 +26,28 @@ article {
|
||||
.p-summary {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section[data-section="author"] {
|
||||
display: flex;
|
||||
gap: var(--space-size-m);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
h2 {
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p {
|
||||
flex-basis: 0;
|
||||
flex-grow: 999;
|
||||
min-inline-size: 70%;
|
||||
}
|
||||
|
||||
picture {
|
||||
flex-basis: 7rem;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user