主页中bilibli和github链接,在新标签页中打开

This commit is contained in:
2024-08-29 13:03:26 +08:00
parent ffa70824e9
commit d9a44505bc

View File

@@ -14,8 +14,7 @@ onMounted(() => {
let colorNum = 66;
let colorNumReverse = false;
setInterval(() => {
if(colorNumReverse)
{
if (colorNumReverse) {
colorNum--;
if (colorNum <= 66)
colorNumReverse = !colorNumReverse;
@@ -35,10 +34,10 @@ onMounted(() => {
<div class="name" id="my-name">特恩(TONE)</div>
<div class="self-introduction">一名计算机类专业在校本科大二学生</div>
<div class="button-container">
<a href="https://space.bilibili.com/474156211">
<a href="https://space.bilibili.com/474156211" target="_blank">
<button class="button" id="button-resource">哔哩哔哩</button>
</a>
<a href="https://github.com/tonecn">
<a href="https://github.com/tonecn" target="_blank">
<button class="button button-style2" id="button-code">GitHub</button>
</a>
</div>
@@ -146,6 +145,7 @@ onMounted(() => {
height: 40px;
}
}
@media screen and (max-width: 800px) {
.main-container {
height: calc(v-bind(containerHeight) + 15px);