Skip to content

Commit 15f65fa

Browse files
committed
Migrated seeral CSS into main stylesheet, improved Lighthouse audit
1 parent d798558 commit 15f65fa

File tree

14 files changed

+106
-41
lines changed

14 files changed

+106
-41
lines changed

.github/workflows/deploy-theme.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: deploy-theme
22
on:
33
workflow_dispatch:
4-
push:
5-
branches:
6-
- main
4+
# push:
5+
# branches:
6+
# - main
77
permissions:
88
contents: read
99
jobs:

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/css/screen.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,4 +584,21 @@ figcaption a {
584584
margin-right: auto;
585585
max-width: 95%;
586586
min-width: 75%;
587+
}
588+
589+
/* Post List Images */
590+
#post-list article div{
591+
@apply p-4 sm:p-6;
592+
}
593+
#post-list article div h1{
594+
@apply block text-lg font-medium text-lighter;
595+
}
596+
#post-list article a img{
597+
@apply object-cover w-full h-56;
598+
}
599+
#post-list article{
600+
@apply mx-6 overflow-hidden border border-transparent rounded-lg bg-dark md:mx-0;
601+
}
602+
#post-list {
603+
@apply grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3;
587604
}

default.hbs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
<link rel="stylesheet" href="{{asset "built/prism.css"}}">
1111
{{/is}}
1212

13-
{{> "typography/noto"}}
14-
15-
{{!-- {{> "algolia"}} --}}
13+
{{!-- {{> "typography/noto"}} --}}
1614

1715
{{ghost_head}}
1816
</head>

home-br.hbs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{!< default}}
2+
<main id="main" class="container pt-6 pb-6 mx-auto md:pl-64">
3+
{{> "tags-nav" }}
4+
5+
{{#tag}}
6+
<h1 class="pb-4 text-4xl">{{name}}</h1>
7+
{{#if description}}
8+
<h2 class="pb-4 text-xl">{{description}}</h2>
9+
{{/if}}
10+
{{/tag}}
11+
12+
{{> "posts-list" }}
13+
14+
</main>

home-en.hbs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{!< default}}
2+
<main id="main" class="container pt-6 pb-6 mx-auto md:pl-64">
3+
{{> "tags-nav" }}
4+
5+
{{#tag}}
6+
<h1 class="pb-4 text-4xl">{{name}}</h1>
7+
{{#if description}}
8+
<h2 class="pb-4 text-xl">{{description}}</h2>
9+
{{/if}}
10+
{{/tag}}
11+
12+
{{> "posts-list" }}
13+
14+
</main>

home-es.hbs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{!< default}}
2+
<main id="main" class="container pt-6 pb-6 mx-auto md:pl-64">
3+
{{> "tags-nav" }}
4+
5+
{{#tag}}
6+
<h1 class="pb-4 text-4xl">{{name}}</h1>
7+
{{#if description}}
8+
<h2 class="pb-4 text-xl">{{description}}</h2>
9+
{{/if}}
10+
{{/tag}}
11+
12+
{{> "posts-list" }}
13+
14+
</main>

index.hbs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
{{!< default}}
22
<main id="main" class="container pt-6 pb-6 mx-auto md:pl-64">
33
{{> "tags-nav" }}
4-
{{#is "tag" }}
5-
{{#tag}}
6-
<h1 class="pb-4 text-4xl">{{name}}</h1>
7-
{{#if description}}
8-
<h2 class="pb-4 text-xl">{{description}}</h2>
9-
{{/if}}
10-
{{/tag}}
11-
{{/is}}
12-
134

145
{{> "posts-list" }}
156

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sredevopsorg-ghost-theme",
33
"description": "Ghost v5 Theme made for SREDevOps.org (https://sredevops.org) based on Tailwind CSS v3, responsive, dark color schema, SVG icons, sidebar + footer navgation, customized tags and recommendations pages.",
44
"demo": "https://sredevops.org",
5-
"version": "1.1.6",
5+
"version": "1.1.7",
66
"engines": {
77
"ghost": ">=5.0.0"
88
},
@@ -50,10 +50,10 @@
5050
"gulp-livereload": "4.0.2",
5151
"gulp-postcss": "10.0.0",
5252
"gulp-uglify": "3.0.2",
53-
"postcss": "^8.4.47",
53+
"postcss": "^8.4.49",
5454
"postcss-import": "^15.1.0",
5555
"pump": "3.0.2",
56-
"tailwindcss": "^3.4.15"
56+
"tailwindcss": "^3.4.17"
5757
},
5858
"browserslist": [
5959
">0.2%",

partials/feature-image.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{#if feature_image}}
22
<figure>
33
<picture>
4-
<img src="{{img_url feature_image format='webp' size='l'}}"
4+
<img src="{{img_url feature_image format='webp' size='xl'}}"
55
alt="{{title}}"
66
{{#is "home, index, tag, author, paged" }}
77
class="object-cover w-full"

0 commit comments

Comments
 (0)