Skip to content

Commit 4ca2598

Browse files
Improvements
1 parent b3f4e92 commit 4ca2598

File tree

5 files changed

+20
-25
lines changed

5 files changed

+20
-25
lines changed

assets/built/screen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@ a:hover {
274274
transition: 0.3s ease-in-out;
275275
}
276276

277+
.gh-form-input::placeholder,
278+
button.gh-form-input {
279+
color: rgb(0 0 0 / 0.3);
280+
}
281+
277282
:is(.has-serif-title, .has-slab-title) .gh-form-input {
278283
padding-inline: 20px;
279284
}
@@ -521,10 +526,6 @@ button.gh-form-input {
521526
margin-left: -2px;
522527
}
523528

524-
.gh-search span {
525-
display: none;
526-
}
527-
528529
@media (max-width: 767px) {
529530
.gh-navigation-logo {
530531
white-space: normal;
@@ -686,10 +687,6 @@ Search LOGO Login Subscribe
686687
gap: 10px;
687688
width: auto;
688689
}
689-
690-
.gh-navigation.is-stacked .gh-navigation-actions .gh-search span {
691-
display: inline;
692-
}
693690
}
694691

695692
/* 6.3. Dropdown menu */
@@ -1425,7 +1422,7 @@ Search LOGO Login Subscribe
14251422
flex-direction: column;
14261423
align-items: center;
14271424
gap: 36px;
1428-
padding: clamp(48px, 3.64vw + 33.45px, 80px) clamp(40px, 2.73vw + 29.09px, 64px) clamp(40px, 3.64vw + 25.45px, 72px);
1425+
padding: clamp(48px, 3.64vw + 33.45px, 80px) clamp(40px, 2.73vw + 29.09px, 64px);
14291426
text-align: center;
14301427
background-color: var(--color-lighter-gray);
14311428
}
@@ -1647,7 +1644,7 @@ Search LOGO Login Subscribe
16471644
/* 11.2. Without sidebar */
16481645

16491646
.gh-container.is-list:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
1650-
grid-column: 3 / span 12;
1647+
grid-column: 4 / span 11;
16511648
}
16521649

16531650
.gh-container.is-grid:not(.has-sidebar) .gh-main {

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@
124124
},
125125
"signup_heading": {
126126
"type": "text",
127-
"description": "Shows site title when empty"
127+
"description": "Used in your footer across your theme, defaults to site title when empty"
128128
},
129129
"signup_subheading": {
130130
"type": "text",
131-
"description": "Shows site description when empty"
131+
"description": "Defaults to site description when empty"
132132
},
133133
"header_style": {
134134
"type": "select",
@@ -145,14 +145,12 @@
145145
"use_publication_cover_as_background": {
146146
"type": "boolean",
147147
"default": false,
148-
"description": "Cover image will be used as a background when the header style is Landing or Search",
149148
"group": "homepage",
150149
"visibility": "header_style:[Landing, Search]"
151150
},
152151
"highlight_featured_posts": {
153152
"type": "boolean",
154153
"default": true,
155-
"description": "Featured posts will be displayed when the header style is Highlight or Magazine",
156154
"group": "homepage",
157155
"visibility": "header_style:[Highlight, Magazine]"
158156
},
@@ -175,19 +173,19 @@
175173
"show_author": {
176174
"type": "boolean",
177175
"default": true,
178-
"description": "Toggles author name in the post cards",
176+
"description": "Show the author below each post",
179177
"group": "homepage"
180178
},
181179
"show_publish_date": {
182180
"type": "boolean",
183181
"default": true,
184-
"description": "Toggles published date in the post cards",
182+
"description": "Show the date published below each post",
185183
"group": "homepage"
186184
},
187185
"show_site_in_sidebar": {
188186
"type": "boolean",
189187
"default": false,
190-
"description": "Sidebar will be displayed on the homepage, tag, and author templates",
188+
"description": "Include your site info on the side of the post feed",
191189
"group": "homepage"
192190
}
193191
}

partials/components/post-list.hbs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,31 @@
2222
{{#match @custom.header_style "Highlight"}}
2323
{{#match posts.length ">=" 10}}
2424
{{#if @custom.highlight_featured_posts}}
25-
{{#foreach posts from="5" limit="8"}}
25+
{{#foreach posts from="5" limit="12"}}
2626
{{> "post-card"}}
2727
{{/foreach}}
2828
{{else}}
29-
{{#foreach posts from="11" limit="8"}}
29+
{{#foreach posts from="11" limit="12"}}
3030
{{> "post-card"}}
3131
{{/foreach}}
3232
{{/if}}
3333
{{else}}
34-
{{#foreach posts limit="8"}}
34+
{{#foreach posts limit="12"}}
3535
{{> "post-card"}}
3636
{{/foreach}}
3737
{{/match}}
3838
{{else match @custom.header_style "Magazine"}}
3939
{{#match posts.length ">=" 7}}
40-
{{#foreach posts from="8" limit="8"}}
40+
{{#foreach posts from="8" limit="12"}}
4141
{{> "post-card"}}
4242
{{/foreach}}
4343
{{else}}
44-
{{#foreach posts limit="8"}}
44+
{{#foreach posts limit="12"}}
4545
{{> "post-card"}}
4646
{{/foreach}}
4747
{{/match}}
4848
{{else}}
49-
{{#foreach posts limit="8"}}
49+
{{#foreach posts limit="12"}}
5050
{{> "post-card"}}
5151
{{/foreach}}
5252
{{/match}}

0 commit comments

Comments
 (0)