fix: lint/accessibility

This commit is contained in:
George Cushen committed 2023-10-24 22:41:39 +01:00
1 parent fa805cdb3b
commit aa7a83fda4
6 files changed
+10 -10

No files matched your search

@@ -100,7 +100,7 @@
} }
.dark .portrait-title h3 { .dark .portrait-title h3 {
color: rgba(255, 255, 255, 0.9); color: rgb(255 255 255 / 90%);
font-weight: bold; font-weight: bold;
} }
@@ -134,11 +134,11 @@
font-size: 20px; font-size: 20px;
background-color: #fff; background-color: #fff;
color: #000; /* override parent alpha */ color: #000; /* override parent alpha */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04); box-shadow: 0 10px 20px rgb(0 0 0 / 4%), 0 2px 6px rgb(0 0 0 / 4%), 0 0 1px rgb(0 0 0 / 4%);
} }
.dark .avatar-emoji { .dark .avatar-emoji {
background-color: #000; background-color: #000;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.04), 0 0 1px rgba(255, 255, 255, 0.96); box-shadow: 0 10px 20px rgb(0 0 0 / 4%), 0 2px 6px rgb(0 0 0 / 4%), 0 0 1px rgb(255 255 255 / 96%);
} }
@@ -27,9 +27,9 @@
height: 260px; height: 260px;
object-fit: cover; object-fit: cover;
/*@include media-breakpoint-up(lg) {*/ /* @include media-breakpoint-up(lg) { */
/* height: 310px; !* Increased height on desktop *!*/ /* height: 310px; !* Increased height on desktop *! */
/*}*/ /* } */
} }
.featured-image-wrapper { .featured-image-wrapper {
@@ -1,6 +1,6 @@
/* Import Tailwind */ /* Import Tailwind */
@import "./tailwind.css"; @import "./tailwind.css";
/*!* Import Wowchemy components *!*/ /*! Wowchemy Components | https://wowchemy.com */
@import "./components/all.css"; @import "./components/all.css";
@import "./blocks/all.css"; @import "./blocks/all.css";
@@ -22,7 +22,7 @@
{{end}} {{end}}
</div> </div>
<div class="p-8"> <div class="p-8">
<div class="uppercase tracking-wide text-sm text-indigo-500 font-semibold">{{ .Title }}</div> <div class="uppercase tracking-wide text-sm text-indigo-700 dark:text-indigo-200 font-semibold">{{ .Title }}</div>
<p class="block mt-1 text-md leading-tight font-medium text-black dark:text-white"> <p class="block mt-1 text-md leading-tight font-medium text-black dark:text-white">
{{ (.Params.summary | default .Summary) | plainify | htmlUnescape | chomp -}} {{ (.Params.summary | default .Summary) | plainify | htmlUnescape | chomp -}}
</p> </p>
@@ -22,7 +22,7 @@
{{end}} {{end}}
</div> </div>
<div class="p-8"> <div class="p-8">
<div class="uppercase tracking-wide text-sm text-indigo-500 font-semibold">{{ .Title }}</div> <div class="uppercase tracking-wide text-sm text-indigo-700 dark:text-indigo-200 font-semibold">{{ .Title }}</div>
<p class="block mt-1 text-md leading-tight font-medium text-black dark:text-white"> <p class="block mt-1 text-md leading-tight font-medium text-black dark:text-white">
{{ (.Params.summary | default .Summary) | plainify | htmlUnescape | chomp -}} {{ (.Params.summary | default .Summary) | plainify | htmlUnescape | chomp -}}
</p> </p>
@@ -13,7 +13,7 @@
{{end}} {{end}}
</div> </div>
<div class="p-8"> <div class="p-8">
<div class="uppercase tracking-wide text-sm text-indigo-500 font-semibold">{{ $item.Title }}</div> <div class="uppercase tracking-wide text-sm text-indigo-700 dark:text-indigo-200 font-semibold">{{ $item.Title }}</div>
<p class="block mt-1 text-md leading-tight font-medium text-black dark:text-white"> <p class="block mt-1 text-md leading-tight font-medium text-black dark:text-white">
{{ ($item.Params.summary | default $item.Summary) | plainify | htmlUnescape | chomp -}} {{ ($item.Params.summary | default $item.Summary) | plainify | htmlUnescape | chomp -}}
</p> </p>