Skip to content

Commit 10c8532

Browse files
committed
feature. Link update.
1 parent 63b24d3 commit 10c8532

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

components/site-nav.webc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<a href="remember-the-human.webc">Remember The Human</a>
1414
|
1515
<a webc:for="item of socialMediaLinks" target="_blank" @text="item.name" :href="item.url"></a>
16+
17+
<a href="https://david.wes.st" target="_blank" class="hidden-link" rel="nofollow noopener noreferrer">電子随筆</a>
1618
</nav>
1719

1820
<style webc:scoped>

layouts/style/base.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ main {
5151
margin: 0 auto;
5252
}
5353

54+
/*
55+
Links
56+
*/
57+
58+
.hidden-link {
59+
opacity: 0;
60+
transition: opacity 0.3s ease-in-out;
61+
}
62+
63+
.hidden-link:hover {
64+
opacity: 1;
65+
}
66+
5467

5568

5669
/*

0 commit comments

Comments
 (0)