Skip to content

Commit 11fdddf

Browse files
committed
v1.1.1
1 parent d7d5234 commit 11fdddf

File tree

8 files changed

+33
-43
lines changed

8 files changed

+33
-43
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: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -426,16 +426,14 @@ figcaption a {
426426

427427
/* Tags Page */
428428

429-
@media only screen and (min-width:48rem) {
430-
429+
@media (min-width: 48rem) {
431430
.l-tags-container,
432431
.recommendations {
433432
@apply flex flex-wrap justify-center mx-auto max-w-[720px];
434433
}
435434
}
436435

437-
@media only screen and (min-width:64rem) {
438-
436+
@media (min-width: 64rem) {
439437
.l-tags-container,
440438
.recommendations {
441439
@apply max-w-[1080px];
@@ -457,8 +455,7 @@ figcaption a {
457455
@apply shadow-[var(--article-shadow-hover),0_0_0_transparent];
458456
}
459457

460-
@media only screen and (min-width:48rem) {
461-
458+
@media (min-width: 48rem) {
462459
.m-tag-card,
463460
.recommendation {
464461
@apply my-0 mb-[40px] mx-[20px] w-[320px];
@@ -482,16 +479,16 @@ figcaption a {
482479

483480
.m-tag-card__picture,
484481
.recommendation-favicon {
485-
@apply relative top-0 left-0 w-[75px] h-[75px];
482+
@apply relative top-0 left-0 w-[75px] h-[75px];
486483
}
487484

488485
.recommendation-favicon {
489-
@apply relative top-[5px] left-[5px] max-w-[45px] max-h-[45px];
486+
@apply relative top-[5px] left-[5px] max-w-[45px] max-h-[45px];
490487
}
491488

492489
.m-tag-card__info,
493490
.recommendation__description {
494-
@apply bottom-[15px] text-white left-[15px] absolute ;
491+
@apply bottom-[15px] text-white left-[15px] absolute;
495492
}
496493

497494
.m-tag-card__info.no-picture {
@@ -649,15 +646,15 @@ figcaption a {
649646
}
650647

651648
.recommendation {
652-
@apply flex flex-col gap-y-3;
649+
@apply flex flex-col p-2 gap-y-3;
653650
}
654651

655652
.recommendation-title {
656653
@apply p-2 text-xl font-medium;
657654
}
658655

659656
.recommendation-favicon {
660-
@apply block w-10 h-10 mr-2 align-top;
657+
@apply w-10 h-10 mr-2;
661658
}
662659
.recommendation-url {
663660
@apply text-xs text-lighter;

default.hbs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{{meta_title}}</title>
7-
{{#is "home"}}
8-
<link rel="alternate" hreflang="pt-BR" href="{{@site.url}}/br/" />
9-
<link rel="alternate" hreflang="en" href="{{@site.url}}/en/" />
10-
<link rel="alternate" hreflang="es" href="{{@site.url}}/es/" />
11-
<link rel="alternate" hreflang="x-default" href="{{@site.url}}" />
12-
{{/is}}
7+
138

149
{{> "typography/noto"}}
1510

package.json

Lines changed: 5 additions & 5 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.0",
5+
"version": "1.1.1",
66
"engines": {
77
"ghost": ">=5.0.0"
88
},
@@ -67,19 +67,19 @@
6767
"card_assets": true,
6868
"image_sizes": {
6969
"xs": {
70-
"width": 120
70+
"width": 100
7171
},
7272
"s": {
7373
"width": 220
7474
},
7575
"m": {
76-
"width": 400
76+
"width": 300
7777
},
7878
"l": {
79-
"width": 600
79+
"width": 400
8080
},
8181
"xl": {
82-
"width": 900
82+
"width": 500
8383
}
8484
}
8585
}

page-tags.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<img class="m-tag-card__picture" src="{{img_url feature_image size="xs"}}" loading="lazy" alt="{{name}}">
1818
{{/if}}
1919
<div class="m-tag-card__info {{#unless feature_image}}no-picture{{/unless}}">
20-
<h4 class="m-tag-card__name">{{name}}</h4>
21-
<span class="m-tag-card__description">{{description}}</span>
20+
<h4 class="text-xl font-semibold">{{name}}</h4>
21+
<span class="text-sm text-clip font-extralight max-h-fit">{{description}}</span>
2222
<span class="m-tag-card__counter">
2323
{{plural count.posts empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}}
2424
</span>

partials/feature-image.hbs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
{{#if feature_image}}
22
<figure>
33
<picture>
4-
<source srcset="{{img_url feature_image format="webp" size="xl"}}" media="(min-width: {{image_sizes.xl}})">
5-
<source srcset="{{img_url feature_image format="webp" size="l"}}" media="(min-width: {{image_sizes.l}})">
6-
<source srcset="{{img_url feature_image format="webp" size="m"}}" media="(min-width: {{image_sizes.m}})">
7-
<source srcset="{{img_url feature_image format="webp" size="s"}}" media="(min-width: {{image_sizes.s}})">
8-
<source srcset="{{img_url feature_image format="webp" size="xs"}}" media="(min-width: {{image_sizes.xs}})">
9-
<img src="{{img_url feature_image format="webp" size="m"}}" alt="{{title}}"
4+
<img src="{{img_url feature_image format='webp' size='m'}}"
5+
alt="{{title}}"
106
{{#is "home, index, tag, author, paged" }}
11-
class="object-cover w-full h-56 "
7+
class="object-cover w-full"
128
{{else}}
13-
class="object-center "
9+
class="items-center clear-both mx-auto "
1410
{{/is}}
1511
>
1612
</picture>

partials/header.hbs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<aside id="sidebar" class="fixed z-10 hidden w-64 h-screen p-6 overflow-y-scroll transition-transform duration-300 transform -translate-x-full bg-darker md:block md:translate-x-0">
1414
<div id="logo" class="mb-6">
1515
{{#if @site.logo}}
16-
<a class="logo" href="{{@site.url}}">
17-
<img src="{{@site.logo}}" alt="{{@site.title}}" class="w-full h-auto" loading="lazy">
18-
</a>
16+
<a href="{{@site.url}}" rel="me" alt="{{@site.title}}" aria-label="SREDevOps.org">
17+
<img src="{{asset "img/sredevopsorg.svg"}}" alt="SREDevOps.org" />
18+
</a>
1919
{{else}}
2020
<div class="text-lg font-bold text-lighter">{{@site.title}}</div>
2121
{{/if}}
@@ -54,11 +54,13 @@
5454
<section id="nav" class="mb-6">
5555
{{navigation}}
5656
</section>
57-
<section id="members" class="text-light">
57+
<section id="members" class="pb-4 text-light">
5858
{{#if @member}}
5959
<div class="flex items-center gap-2">
60-
<img src="{{@member.avatar}}" alt="{{@member.name}}" class="w-8 h-8 rounded-full">
61-
<span><a href="/#/portal/account/profile">{{@member.name}} Settings</a> | <a href="javascript:" data-members-signout>Sign out</a> </span>
60+
<ul>
61+
<li><a href="/#/portal/account/profile"><img src="{{@member.avatar}}" alt="{{@member.name}} Settings" aria-label="{{@member.name}} Settings" class="w-8 h-8 rounded-full"></a></li>
62+
<li><a href="javascript:" data-members-signout>Sign out</a></li>
63+
</ul>
6264
</div>
6365
{{else}}
6466
{{> "social-sso"}}

partials/posts-list.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<a href="{{url absolute="true"}}" alt="{{title}}">
77
<img alt="{{title}}"
8-
src="{{img_url feature_image absolute size="xs" format="webp"}}"
8+
src="{{img_url feature_image size='s' format='webp'}}"
99
class="object-cover w-full h-56 " {{#is "paged, tag"}} loading="lazy"{{/is}} />
1010
</a>
1111

@@ -20,9 +20,9 @@
2020
{{excerpt}}
2121
</p>
2222

23-
<a href="{{url absolute="true"}}" class="inline-flex items-center gap-1 mt-4 text-sm font-medium group" alt="{{title}}" rel="" >
24-
<h3 id="{{slug}}" class="block transition-all group-hover:ms-0.5">
25-
Full post &rarr;
23+
<a href="{{url absolute="true"}}" class="inline-flex items-center gap-1 mt-4 text-sm font-medium group" alt="{{title}}" rel="bookmark">
24+
<h3 id="{{slug}}" class="block transition-all group-hover:ms-0.5" alt="{{title}}">
25+
Read the full post &rarr;
2626
</h3>
2727
</a>
2828
</div>

0 commit comments

Comments
 (0)