Skip to content

Commit 8742b0e

Browse files
committed
fix: Update styles
1 parent 4d1b6fe commit 8742b0e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/.vuepress/theme/components/TheNavigation.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a
1717
:href="href"
1818
:aria-current="isActive && $route.path.indexOf(item.link) === 0 ? 'page' : null"
19-
class="relative z-0 px-3 py-3 border-b-4 border-transparent border-solid the-nav-link bg-main hover:border-accent-primary"
19+
class="px-3 py-3 border-b-4 border-transparent border-solid the-nav-link hover:border-accent-primary"
2020
:class="{ 'active border-accent-primary': isActive && $route.path.indexOf(item.link) === 0 }"
2121
@click="navigate"
2222
>
@@ -26,7 +26,7 @@
2626
</li>
2727
<li>
2828
<ExternalLink
29-
class="relative z-0 px-3 py-3 border-b-4 border-transparent border-solid the-nav-link bg-main hover:border-accent-primary"
29+
class="px-3 py-3 border-b-4 border-transparent border-solid the-nav-link hover:border-accent-primary"
3030
:href="`https://github.com/${$themeConfig.repo}`"
3131
label="Github"
3232
/>

src/.vuepress/theme/layouts/Posts.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
/>
1313

1414
<h1
15-
class="pl-3 mt-2 mb-8 font-bold leading-10 lg:pl-6"
16-
style="font-size: 2.5rem;"
15+
class="pl-3 mt-2 mb-10 font-bold leading-10 lg:pl-6"
16+
style="font-size: 2.6rem;"
1717
>
1818
Latest posts <span class="capitalize">{{ isCategory && $currentCategories ? `(${$currentCategories.key})` : '' }}</span>
1919
</h1>

src/.vuepress/theme/styles/_a11y.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
[tabindex]:not([tabindex="-1"]), a, button, input, select, textarea {
1818
position: relative;
19+
z-index: 2;
1920
outline: 2px solid transparent;
2021
outline-offset: 6px;
2122
transition: outline-offset .1s ease;
2223
}
2324

2425
*:focus {
25-
z-index: 2 !important;
2626
outline-color: var(--color);
2727
outline-offset: 3px;
2828
}

0 commit comments

Comments
 (0)