Skip to content

Commit 49e49b0

Browse files
committed
blog list update
1 parent afbf547 commit 49e49b0

File tree

3 files changed

+14
-31
lines changed

3 files changed

+14
-31
lines changed

assets/css/style.css

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -770,10 +770,6 @@ select {
770770
left: 0;
771771
}
772772

773-
.aspect-h-11 {
774-
--tw-aspect-h: 11;
775-
}
776-
777773
.prose {
778774
color: var(--tw-prose-body);
779775
max-width: 65ch;
@@ -2355,6 +2351,10 @@ select {
23552351
background-color: rgb(248 249 255 / var(--tw-bg-opacity));
23562352
}
23572353

2354+
.bg-primary-50\/50 {
2355+
background-color: rgb(248 249 255 / 0.5);
2356+
}
2357+
23582358
.bg-primary-600 {
23592359
--tw-bg-opacity: 1;
23602360
background-color: rgb(100 46 255 / var(--tw-bg-opacity));
@@ -2397,16 +2397,8 @@ select {
23972397
background-color: rgb(255 255 255 / 0.05);
23982398
}
23992399

2400-
.bg-primary-50\/50 {
2401-
background-color: rgb(248 249 255 / 0.5);
2402-
}
2403-
2404-
.bg-primary-50\/75 {
2405-
background-color: rgb(248 249 255 / 0.75);
2406-
}
2407-
2408-
.bg-primary-50\/60 {
2409-
background-color: rgb(248 249 255 / 0.6);
2400+
.bg-slate-50\/50 {
2401+
background-color: rgb(248 250 252 / 0.5);
24102402
}
24112403

24122404
.bg-gradient-to-br {
@@ -3687,6 +3679,11 @@ h1 strong, h2 strong, h3 strong, .text-highlight, .superheading strong {
36873679
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
36883680
}
36893681

3682+
.hover\:bg-slate-100:hover {
3683+
--tw-bg-opacity: 1;
3684+
background-color: rgb(241 245 249 / var(--tw-bg-opacity));
3685+
}
3686+
36903687
.hover\:text-aqua-400:hover {
36913688
--tw-text-opacity: 1;
36923689
color: rgb(13 229 178 / var(--tw-text-opacity));
@@ -4344,16 +4341,6 @@ h1 strong, h2 strong, h3 strong, .text-highlight, .superheading strong {
43444341
margin-right: 0px;
43454342
}
43464343

4347-
.lg\:-mx-16 {
4348-
margin-left: -4rem;
4349-
margin-right: -4rem;
4350-
}
4351-
4352-
.lg\:-mx-24 {
4353-
margin-left: -6rem;
4354-
margin-right: -6rem;
4355-
}
4356-
43574344
.lg\:-ml-0 {
43584345
margin-left: -0px;
43594346
}

layouts/partials/list-blog.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ <h1 class="text-4xl sm:text-5xl lg:text-6xl font-heading font-bold tracking-tigh
88
{{ with .Params }}
99
{{ partial "components/subheading.html" . }}
1010
{{ end }}
11-
<div class="rounded-2xl pt-4 max-w-xl mx-auto">
12-
{{ partial "components/form-mailchimp.html" . }}
13-
</div>
14-
1511
</div>
1612
</div>
1713
<div class="mx-auto max-w-md md:max-w-7xl pb-16 lg:pb-24">

layouts/partials/nav-categories.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
</div>
3737
</div>
3838
<div class="hidden lg:flex lg:justify-center capitalize">
39-
<div class="flex space-x-1 justify-center font-normal text-sm bg-slate-50 dark:bg-primary-900 rounded-full p-2">
40-
<a class="{{ if in .Permalink "/blog/" }}text-blue-600 bg-white shadow-md{{ else }}text-slate-900 {{ end }} hover:bg-white px-6 xl:px-8 py-2.5 tracking-wide rounded-full font-medium" href="{{ "/blog/" | relLangURL }}">{{ i18n "all_categories" }}</a>
39+
<div class="flex flex-wrap gap-1.5 font-normal text-sm">
40+
<a class="{{ if in .Permalink "/blog/" }}text-blue-600 bg-slate-100{{ else }}text-slate-700 bg-slate-50 {{ end }} hover:bg-slate-100 px-4 py-2 tracking-wide rounded-full font-medium" href="{{ "/blog/" | relLangURL }}">{{ i18n "all_categories" }}</a>
4141
{{ range site.Taxonomies.categories }}
42-
<a class="{{ if eq .Page.Permalink $.Permalink }}text-blue-600 bg-white shadow-md{{ else }}text-slate-900 {{ end }} hover:bg-white px-6 xl:px-8 py-2.5 tracking-wide rounded-full font-medium" href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
42+
<a class="{{ if eq .Page.Permalink $.Permalink }}text-blue-600 bg-slate-100{{ else }}text-slate-700 bg-slate-50 {{ end }} hover:bg-slate-100 px-4 py-2 tracking-wide rounded-full font-medium" href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
4343
{{ end }}
4444
</div>
4545
</div>

0 commit comments

Comments
 (0)