Skip to content

Commit c35d460

Browse files
committed
minor updates author styles
1 parent 43516a0 commit c35d460

File tree

6 files changed

+45
-46
lines changed

6 files changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,9 +641,9 @@ figcaption a {
641641

642642
/* ------------------------ Page Recommends ------------------------ */
643643

644-
.recommendations {
644+
/* .recommendations {
645645
646-
}
646+
} */
647647

648648
.recommendation {
649649
@apply flex flex-col p-2 gap-y-3;

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.3",
5+
"version": "1.1.4",
66
"engines": {
77
"ghost": ">=5.0.0"
88
},
@@ -52,9 +52,9 @@
5252
"gulp-uglify": "3.0.2",
5353
"postcss": "^8.4.47",
5454
"postcss-import": "^15.1.0",
55+
"prismjs": "^1.28.0",
5556
"pump": "3.0.2",
56-
"tailwindcss": "^3.4.14",
57-
"prismjs": "^1.28.0"
57+
"tailwindcss": "^3.4.14"
5858
},
5959
"browserslist": [
6060
">0.2%",

partials/components/author-box.hbs

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
<!-- Author Box -->
2-
<section class="flex items-center mt-12 author-box">
3-
{{#foreach authors}}
2+
<section class="mt-8 author-box">
3+
{{#foreach authors}}
44

5-
<div class="flex-row author-box">
6-
{{#if profile_image}}
7-
<img src="{{img_url profile_image size="s" format="webp"}}" alt="{{name}}" class="w-24 h-24 rounded-full">
8-
{{/if}}
5+
<div class="flex flex-col w-full p-4">
6+
<div class="flex items-center gap-4 mb-4">
7+
{{#if profile_image}}
8+
<img src="{{img_url profile_image size="xs" format="webp"}}" alt="{{name}}" class="rounded-full">
9+
{{/if}}
10+
<h3 class="text-xl font-normal text-light">{{name}}</h3>
11+
</div>
912

10-
<h1 class="text-4xl">{{name}}</h1>
1113
{{#if bio}}
1214
<p class="text-lg">{{bio}}</p>
1315
{{/if}}
1416

15-
<div class="flex gap-2 mb-4">
16-
<div class="flex items-center gap-2 text-sm">
17+
<div class="flex flex-wrap gap-2 mb-4">
18+
<div class="flex flex-wrap gap-2 text-sm">
1719
{{#if website}}
1820
<a href="{{website}}" target="_blank" rel="noopener" class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark">
1921
<svg class="w-5 h-5 text-light" role="img" aria-label="Website">
@@ -23,45 +25,40 @@
2325
</a>
2426
{{/if}}
2527
{{#if twitter}}
26-
<a href="{{twitter_url}}" target="_blank" rel="noopener" class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark" target="_blank" rel="noopener">
28+
<a href="{{twitter_url}}" target="_blank" rel="noopener" class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark">
2729
<svg class="w-5 h-5 text-light" role="img" aria-label="Twitter">
2830
<use xlink:href="#icon-x"></use>
2931
</svg>
3032
Twitter
3133
</a>
3234
{{/if}}
3335
{{#if facebook}}
34-
<a href="{{facebook_url}}" target="_blank" rel="noopener" class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark" target="_blank" rel="noopener">
36+
<a href="{{facebook_url}}" target="_blank" rel="noopener" class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark">
3537
<svg class="w-5 h-5 text-light" role="img" aria-label="Facebook">
3638
<use xlink:href="#icon-facebook"></use>
3739
</svg>
3840
Facebook
3941
</a>
4042
{{/if}}
4143
{{#match slug "==" "ngeorger"}}
42-
<a href="mailto:[email protected]" class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark" target="_blank" rel="noopener">
44+
<a href="mailto:[email protected]" class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark">
4345
<svg class="w-5 h-5 text-light" role="img" aria-label="Email">
4446
<use xlink:href="#icon-contact-us"></use>
4547
</svg>
4648
Email
4749
</a>
4850
{{/match}}
4951
{{#if location}}
50-
<span class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark text-light">
52+
<span class="flex items-center gap-2 px-4 py-2 rounded-lg hover:text-lighter hover:bg-dark text-light">
5153
<svg class="w-5 h-5 text-light" role="img" aria-label="Location">
52-
<use xlink:href="#icon-globe"></use>
53-
</svg>
54+
<use xlink:href="#icon-globe"></use>
55+
</svg>
5456
{{location}}
5557
</span>
5658
{{/if}}
5759
</div>
5860
</div>
59-
60-
{{!-- {{#if cover_image}}
61-
<img class="gh-page-image" src="{{cover_image}}" alt="{{name}}" />
62-
{{/if}} --}}
63-
6461
</div>
65-
</div>
66-
{{/foreach}}
62+
{{/foreach}}
63+
6764
</section>

post.hbs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
{{{content}}}
3535
</section>
3636
{{#is "post"}}
37-
{{> "components/author-box"}}
3837
<section id="comments">
3938
{{#if comments}}
4039
<div class="gh-comments gh-canvas">
@@ -47,6 +46,9 @@
4746
</div>
4847
{{/if}}
4948
</section>
49+
50+
{{> "components/author-box"}}
51+
5052
{{/is}}
5153
</article>
5254

yarn.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ caniuse-api@^3.0.0:
310310
lodash.uniq "^4.5.0"
311311

312312
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001646, caniuse-lite@^1.0.30001669:
313-
version "1.0.30001673"
314-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001673.tgz#5aa291557af1c71340e809987367410aab7a5a9e"
315-
integrity sha512-WTrjUCSMp3LYX0nE12ECkV0a+e6LC85E0Auz75555/qr78Oc8YWhEPNfDd6SHdtlCMSzqtuXY0uyEMNRcsKpKw==
313+
version "1.0.30001680"
314+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz#5380ede637a33b9f9f1fc6045ea99bd142f3da5e"
315+
integrity sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==
316316

317317
chalk@^2.4.1:
318318
version "2.4.2"
@@ -621,9 +621,9 @@ each-props@^3.0.0:
621621
object.defaults "^1.1.0"
622622

623623
electron-to-chromium@^1.5.41:
624-
version "1.5.47"
625-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.47.tgz#ef0751bc19b28be8ee44cd8405309de3bf3b20c7"
626-
integrity sha512-zS5Yer0MOYw4rtK2iq43cJagHZ8sXN0jDHDKzB+86gSBSAI4v07S97mcq+Gs2vclAxSh1j7vOAHxSVgduiiuVQ==
624+
version "1.5.57"
625+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.57.tgz#cb43af8784166bca24565b3418bf5f775a6b1c86"
626+
integrity sha512-xS65H/tqgOwUBa5UmOuNSLuslDo7zho0y/lgQw35pnrqiZh7UOWHCeL/Bt6noJATbA6tpQJGCifsFsIRZj1Fqg==
627627

628628
emoji-regex@^8.0.0:
629629
version "8.0.0"
@@ -1417,9 +1417,9 @@ object-hash@^3.0.0:
14171417
integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==
14181418

14191419
object-inspect@^1.13.1:
1420-
version "1.13.2"
1421-
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff"
1422-
integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==
1420+
version "1.13.3"
1421+
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.3.tgz#f14c183de51130243d6d18ae149375ff50ea488a"
1422+
integrity sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==
14231423

14241424
object.defaults@^1.1.0:
14251425
version "1.1.0"
@@ -1489,7 +1489,7 @@ path-scurry@^1.6.1:
14891489
lru-cache "^10.2.0"
14901490
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
14911491

1492-
picocolors@^1.0.0, picocolors@^1.0.1, picocolors@^1.1.0:
1492+
picocolors@^1.0.0, picocolors@^1.0.1, picocolors@^1.1.0, picocolors@^1.1.1:
14931493
version "1.1.1"
14941494
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
14951495
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
@@ -1776,12 +1776,12 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0:
17761776
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==
17771777

17781778
postcss@^8.4.23, postcss@^8.4.47:
1779-
version "8.4.47"
1780-
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.47.tgz#5bf6c9a010f3e724c503bf03ef7947dcb0fea365"
1781-
integrity sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==
1779+
version "8.4.49"
1780+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.49.tgz#4ea479048ab059ab3ae61d082190fabfd994fe19"
1781+
integrity sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==
17821782
dependencies:
17831783
nanoid "^3.3.7"
1784-
picocolors "^1.1.0"
1784+
picocolors "^1.1.1"
17851785
source-map-js "^1.2.1"
17861786

17871787
prismjs@^1.28.0:
@@ -2023,9 +2023,9 @@ stream-exhaust@^1.0.2:
20232023
integrity sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw==
20242024

20252025
streamx@^2.12.0, streamx@^2.12.5, streamx@^2.13.2, streamx@^2.14.0:
2026-
version "2.20.1"
2027-
resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.20.1.tgz#471c4f8b860f7b696feb83d5b125caab2fdbb93c"
2028-
integrity sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==
2026+
version "2.20.2"
2027+
resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.20.2.tgz#6a8911959d6f307c19781a1d19ecd94b5f042d78"
2028+
integrity sha512-aDGDLU+j9tJcUdPGOaHmVF1u/hhI+CsGkT02V3OKlHDV7IukOI+nTWAGkiZEKCO35rWN1wIr4tS7YFr1f4qSvA==
20292029
dependencies:
20302030
fast-fifo "^1.3.2"
20312031
queue-tick "^1.0.1"

0 commit comments

Comments
 (0)