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;
align-items: center;
gap: 24px;
padding-top: 80px;
padding-top: 100px;
border-top: 1px solid var(--color-border);
}
@@ -1206,11 +1206,15 @@ Search LOGO Login Subscribe
font-weight: 600;
}
.gh-header.is-classic ~ .gh-cta {
display: none;
}
/* 10. Featured posts
/* ---------------------------------------------------------- */
.gh-featured {
margin-top: 64px;
margin-top: 100px;
}
.gh-featured-title {
@@ -1282,6 +1286,10 @@ Search LOGO Login Subscribe
column-gap: var(--grid-gap);
}
:is(.gh-featured, .gh-cta) + .gh-container {
margin-top: 100px;
}
/* 11.1. With sidebar */
.gh-container.has-sidebar .gh-main {
+6 -6
View File
@@ -87,11 +87,11 @@
"navigation_layout": {
"type": "select",
"options": [
"Stacked",
"Logo on the left",
"Logo in the middle",
"Logo on the left"
"Stacked"
],
"default": "Stacked"
"default": "Logo on the left"
},
"page_background_color": {
"type": "color",
@@ -155,10 +155,10 @@
"post_list_style": {
"type": "select",
"options": [
"List",
"Grid"
"Grid",
"List"
],
"default": "List",
"default": "Grid",
"group": "homepage"
},
"hide_images": {
+3 -1
View File
@@ -19,7 +19,9 @@
<p class="gh-card-tag">{{primary_tag.name}}</p>
{{/if}}
<h3 class="gh-card-title is-title">{{title}}</h3>
<p class="gh-card-excerpt is-body">{{excerpt}}</p>
{{#if excerpt}}
<p class="gh-card-excerpt is-body">{{excerpt}}</p>
{{/if}}
<footer class="gh-card-meta"><!--
-->{{#if @custom.show_author}}
<span class="gh-card-author">By {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}</span>