Improvements
This commit is contained in:
parent
b3f4e92070
commit
4ca2598046
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -274,6 +274,11 @@ a:hover {
|
||||
transition: 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.gh-form-input::placeholder,
|
||||
button.gh-form-input {
|
||||
color: rgb(0 0 0 / 0.3);
|
||||
}
|
||||
|
||||
:is(.has-serif-title, .has-slab-title) .gh-form-input {
|
||||
padding-inline: 20px;
|
||||
}
|
||||
@ -521,10 +526,6 @@ button.gh-form-input {
|
||||
margin-left: -2px;
|
||||
}
|
||||
|
||||
.gh-search span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.gh-navigation-logo {
|
||||
white-space: normal;
|
||||
@ -686,10 +687,6 @@ Search LOGO Login Subscribe
|
||||
gap: 10px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.gh-navigation.is-stacked .gh-navigation-actions .gh-search span {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
/* 6.3. Dropdown menu */
|
||||
@ -1425,7 +1422,7 @@ Search LOGO Login Subscribe
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 36px;
|
||||
padding: clamp(48px, 3.64vw + 33.45px, 80px) clamp(40px, 2.73vw + 29.09px, 64px) clamp(40px, 3.64vw + 25.45px, 72px);
|
||||
padding: clamp(48px, 3.64vw + 33.45px, 80px) clamp(40px, 2.73vw + 29.09px, 64px);
|
||||
text-align: center;
|
||||
background-color: var(--color-lighter-gray);
|
||||
}
|
||||
@ -1647,7 +1644,7 @@ Search LOGO Login Subscribe
|
||||
/* 11.2. Without sidebar */
|
||||
|
||||
.gh-container.is-list:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
|
||||
grid-column: 3 / span 12;
|
||||
grid-column: 4 / span 11;
|
||||
}
|
||||
|
||||
.gh-container.is-grid:not(.has-sidebar) .gh-main {
|
||||
|
12
package.json
12
package.json
@ -124,11 +124,11 @@
|
||||
},
|
||||
"signup_heading": {
|
||||
"type": "text",
|
||||
"description": "Shows site title when empty"
|
||||
"description": "Used in your footer across your theme, defaults to site title when empty"
|
||||
},
|
||||
"signup_subheading": {
|
||||
"type": "text",
|
||||
"description": "Shows site description when empty"
|
||||
"description": "Defaults to site description when empty"
|
||||
},
|
||||
"header_style": {
|
||||
"type": "select",
|
||||
@ -145,14 +145,12 @@
|
||||
"use_publication_cover_as_background": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Cover image will be used as a background when the header style is Landing or Search",
|
||||
"group": "homepage",
|
||||
"visibility": "header_style:[Landing, Search]"
|
||||
},
|
||||
"highlight_featured_posts": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Featured posts will be displayed when the header style is Highlight or Magazine",
|
||||
"group": "homepage",
|
||||
"visibility": "header_style:[Highlight, Magazine]"
|
||||
},
|
||||
@ -175,19 +173,19 @@
|
||||
"show_author": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Toggles author name in the post cards",
|
||||
"description": "Show the author below each post",
|
||||
"group": "homepage"
|
||||
},
|
||||
"show_publish_date": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Toggles published date in the post cards",
|
||||
"description": "Show the date published below each post",
|
||||
"group": "homepage"
|
||||
},
|
||||
"show_site_in_sidebar": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Sidebar will be displayed on the homepage, tag, and author templates",
|
||||
"description": "Include your site info on the side of the post feed",
|
||||
"group": "homepage"
|
||||
}
|
||||
}
|
||||
|
@ -22,31 +22,31 @@
|
||||
{{#match @custom.header_style "Highlight"}}
|
||||
{{#match posts.length ">=" 10}}
|
||||
{{#if @custom.highlight_featured_posts}}
|
||||
{{#foreach posts from="5" limit="8"}}
|
||||
{{#foreach posts from="5" limit="12"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{#foreach posts from="11" limit="8"}}
|
||||
{{#foreach posts from="11" limit="12"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="8"}}
|
||||
{{#foreach posts limit="12"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
{{else match @custom.header_style "Magazine"}}
|
||||
{{#match posts.length ">=" 7}}
|
||||
{{#foreach posts from="8" limit="8"}}
|
||||
{{#foreach posts from="8" limit="12"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="8"}}
|
||||
{{#foreach posts limit="12"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="8"}}
|
||||
{{#foreach posts limit="12"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
|
Loading…
Reference in New Issue
Block a user