Minor adjustments

This commit is contained in:
Sodbileg Gansukh 2023-07-19 13:12:02 +08:00
parent b20c506955
commit 93bce3d338
5 changed files with 27 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,10 @@ production stylesheet in assets/built/screen.css
11.2. Grid style
11.3. No image list
12. Sidebar
13. Article
13. Post/page
13.1. Article
13.2. Page template
13.3. Page without header
14. Content
15. Cards
16. Comments
@ -1317,7 +1320,7 @@ Search LOGO Login Subscribe
}
.gh-article-header {
margin: 48px 0;
margin: 40px 0;
}
.gh-article-tag {
@ -1408,14 +1411,24 @@ Search LOGO Login Subscribe
.gh-article-image {
grid-column: wide;
margin-top: 48px;
margin-top: 40px;
}
.gh-article-image img {
width: 100%;
}
/* 13.2. Page without header */
/* 13.2. Page template */
.page-template .gh-article-header {
margin-block: 72px 24px;
}
.page-template .gh-article-excerpt {
margin-bottom: 12px;
}
/* 13.3. Page without header */
.page-template .gh-content:only-child > *:first-child:not(.kg-width-full) {
margin-top: 48px;
@ -1787,6 +1800,10 @@ figcaption a {
margin-top: 10px;
}
.tag-template .gh-article-title + .gh-article-image {
margin-top: 32px;
}
.author-template .gh-archive {
display: flex;
justify-content: space-between;

View File

@ -21,12 +21,12 @@
<div class="gh-author-location">{{location}}</div>
{{/if}}
<div class="gh-author-social">
{{#if twitter}}
<a class="gh-author-social-link" href="{{twitter_url}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
{{/if}}
{{#if facebook}}
<a class="gh-author-social-link" href="{{facebook_url}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
{{/if}}
{{#if twitter}}
<a class="gh-author-social-link" href="{{twitter_url}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
{{/if}}
</div>
</footer>
</div>

View File

@ -5,7 +5,7 @@
<main class="gh-main">
<div class="gh-feed">
{{#foreach posts from="8"}}
{{#foreach posts from="8" limit="9"}}
{{> "loop"}}
{{/foreach}}
</div>