This commit is contained in:
Sodbileg Gansukh
2023-07-31 12:58:56 +08:00
parent 467f1c3ece
commit c5a6870fcf
5 changed files with 21 additions and 11 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+10 -2
View File
@@ -1137,7 +1137,7 @@ Search LOGO Login Subscribe
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 24px; gap: 24px;
padding-top: 80px; padding-top: 100px;
border-top: 1px solid var(--color-border); border-top: 1px solid var(--color-border);
} }
@@ -1206,11 +1206,15 @@ Search LOGO Login Subscribe
font-weight: 600; font-weight: 600;
} }
.gh-header.is-classic ~ .gh-cta {
display: none;
}
/* 10. Featured posts /* 10. Featured posts
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.gh-featured { .gh-featured {
margin-top: 64px; margin-top: 100px;
} }
.gh-featured-title { .gh-featured-title {
@@ -1282,6 +1286,10 @@ Search LOGO Login Subscribe
column-gap: var(--grid-gap); column-gap: var(--grid-gap);
} }
:is(.gh-featured, .gh-cta) + .gh-container {
margin-top: 100px;
}
/* 11.1. With sidebar */ /* 11.1. With sidebar */
.gh-container.has-sidebar .gh-main { .gh-container.has-sidebar .gh-main {
+6 -6
View File
@@ -87,11 +87,11 @@
"navigation_layout": { "navigation_layout": {
"type": "select", "type": "select",
"options": [ "options": [
"Stacked", "Logo on the left",
"Logo in the middle", "Logo in the middle",
"Logo on the left" "Stacked"
], ],
"default": "Stacked" "default": "Logo on the left"
}, },
"page_background_color": { "page_background_color": {
"type": "color", "type": "color",
@@ -155,10 +155,10 @@
"post_list_style": { "post_list_style": {
"type": "select", "type": "select",
"options": [ "options": [
"List", "Grid",
"Grid" "List"
], ],
"default": "List", "default": "Grid",
"group": "homepage" "group": "homepage"
}, },
"hide_images": { "hide_images": {
+2
View File
@@ -19,7 +19,9 @@
<p class="gh-card-tag">{{primary_tag.name}}</p> <p class="gh-card-tag">{{primary_tag.name}}</p>
{{/if}} {{/if}}
<h3 class="gh-card-title is-title">{{title}}</h3> <h3 class="gh-card-title is-title">{{title}}</h3>
{{#if excerpt}}
<p class="gh-card-excerpt is-body">{{excerpt}}</p> <p class="gh-card-excerpt is-body">{{excerpt}}</p>
{{/if}}
<footer class="gh-card-meta"><!-- <footer class="gh-card-meta"><!--
-->{{#if @custom.show_author}} -->{{#if @custom.show_author}}
<span class="gh-card-author">By {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}</span> <span class="gh-card-author">By {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}</span>