Skip to content

Commit 0bf1eed

Browse files
committed
fix: update footer opacity, adjust not-found page height, and refine CSS variables
1 parent 0d708a1 commit 0bf1eed

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/layouts/page.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function openGithub() {
3535
</main>
3636
<footer flex="~ items-center justify-center gap-2" py-8>
3737
<a :href="LICENSE_URL" target="_blank">MIT License</a>
38-
<span> © {{ new Date().getFullYear() }} </span>
38+
<span op-75> © {{ new Date().getFullYear() }} </span>
3939
<a :href="AUTHOR_URL" target="_blank">Kieran Wang</a>
4040
</footer>
4141
</main>

src/pages/[...path].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function goBack() {
2626
</script>
2727

2828
<template>
29-
<div w-full h-full flex="~ items-center justify-center col">
29+
<div w-full h-screen flex="~ items-center justify-center col">
3030
<img w-80 src="@/assets/not-found.svg" alt="404 Image">
3131
<h1 text-3xl mt-15 mb-5 font-bold>
3232
{{ t('page.not-found.title') }}

src/styles/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ body,
1515
}
1616

1717
body {
18-
--at-apply: background-color text-color lh-normal;
18+
--at-apply: background-color text-color text-op-75 lh-normal;
1919
}
2020

2121
a {
22-
--at-apply: dark:op-75 dark:hover:op-100 op-100 hover:op-75;
22+
--at-apply: op-75 hover:op-100;
2323
text-decoration: underline;
2424
}
2525

0 commit comments

Comments
 (0)