Rename a lot of classes from post- to page-

This commit is contained in:
2023-03-23 12:42:13 -05:00
parent 0e0195afd1
commit 553d1584f4
24 changed files with 84 additions and 92 deletions

View File

@ -368,7 +368,7 @@ h1 svg.icon {
font-size: 1.5em;
}
/* this is also used i.e. in post-title */
/* this is also used i.e. in page-title */
.heading-link {
color: inherit;
font-weight: bold;
@ -514,15 +514,14 @@ h1 svg.icon {
gap: 40px;
}
.page-list > .post {
.page-list > .page {
padding: 24px;
border-radius: 12px;
background-color: var(--background-1);
color: var(--text-1);
}
.post > .post-title,
.author > .author-name {
.page > .page-title {
margin-top: 0;
}
@ -534,28 +533,24 @@ h1 svg.icon {
}
*/
.post-title,
.author-name {
.page-title {
margin-bottom: 10px;
}
.post-title h1,
.author-name h1 {
.page-title h1 {
margin: 0;
}
.post-meta-item,
.author-meta-item {
.page-metadata {
margin-bottom: 24px;
}
.page-metadata-item {
margin-right: 10px;
display: inline-block;
}
.post-metadata,
.author-metadata {
margin-bottom: 24px;
}
.post-meta-section {
.page-metadata-section {
margin-top: 10px;
}
@ -563,8 +558,7 @@ h1 svg.icon {
margin-top: 15px;
}
.post-description,
.author-description {
.page-description {
margin-top: 10px;
}
@ -643,7 +637,7 @@ h1 svg.icon {
padding: 8px;
border-radius: 16px;
}
.page-list.series-inner > .post {
.page-list.series-inner > .page {
flex: 1;
min-width: 49%;
}
@ -948,16 +942,16 @@ aside.quote {
margin-right: 20px;
}
.full-width-page-list .post {
.full-width-page-list .page {
min-width: 300px;
max-width: 300px;
}
.full-width-page-list .post:first-child {
.full-width-page-list .page:first-child {
margin-left: 20px;
}
.full-width-page-list .post:last-child {
.full-width-page-list .page:last-child {
margin-right: 20px;
}