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
+21 -4
View File
@@ -28,7 +28,10 @@ production stylesheet in assets/built/screen.css
11.2. Grid style 11.2. Grid style
11.3. No image list 11.3. No image list
12. Sidebar 12. Sidebar
13. Article 13. Post/page
13.1. Article
13.2. Page template
13.3. Page without header
14. Content 14. Content
15. Cards 15. Cards
16. Comments 16. Comments
@@ -1317,7 +1320,7 @@ Search LOGO Login Subscribe
} }
.gh-article-header { .gh-article-header {
margin: 48px 0; margin: 40px 0;
} }
.gh-article-tag { .gh-article-tag {
@@ -1408,14 +1411,24 @@ Search LOGO Login Subscribe
.gh-article-image { .gh-article-image {
grid-column: wide; grid-column: wide;
margin-top: 48px; margin-top: 40px;
} }
.gh-article-image img { .gh-article-image img {
width: 100%; 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) { .page-template .gh-content:only-child > *:first-child:not(.kg-width-full) {
margin-top: 48px; margin-top: 48px;
@@ -1787,6 +1800,10 @@ figcaption a {
margin-top: 10px; margin-top: 10px;
} }
.tag-template .gh-article-title + .gh-article-image {
margin-top: 32px;
}
.author-template .gh-archive { .author-template .gh-archive {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
+3 -3
View File
@@ -21,12 +21,12 @@
<div class="gh-author-location">{{location}}</div> <div class="gh-author-location">{{location}}</div>
{{/if}} {{/if}}
<div class="gh-author-social"> <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}} {{#if facebook}}
<a class="gh-author-social-link" href="{{facebook_url}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a> <a class="gh-author-social-link" href="{{facebook_url}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
{{/if}} {{/if}}
{{#if twitter}}
<a class="gh-author-social-link" href="{{twitter_url}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
{{/if}}
</div> </div>
</footer> </footer>
</div> </div>
+1 -1
View File
@@ -5,7 +5,7 @@
<main class="gh-main"> <main class="gh-main">
<div class="gh-feed"> <div class="gh-feed">
{{#foreach posts from="8"}} {{#foreach posts from="8" limit="9"}}
{{> "loop"}} {{> "loop"}}
{{/foreach}} {{/foreach}}
</div> </div>