Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZGQ-inc authored Oct 15, 2024
1 parent cb8cda1 commit 05c96ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,23 +200,25 @@
</style>
<style>
.highlight {
position: absolute;
position: relative;
z-index: -999;
}

.highlight::after {
content: '';
display: block;
height: 0;
transition: background-color 0.3s, box-shadow 0.3s;
position: absolute;
position: fixed;
z-index: -999;
}

.highlighted::after {
height: 40px;
background-color: #006699;
box-shadow: 0 0 0 #006699;
transform: translateY(10px);
position: absolute;
z-index: -999;
}

@keyframes flash {
Expand All @@ -230,7 +232,8 @@

.flashing::after {
animation: flash 1s infinite;
position: absolute;
position: relative;
z-index: -999;
}
</style>
<body>
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ https://gitcode.net/Haleydutest/cupdate/-/raw/master/sourceBaseUrl.json

<button class="button" data-clipboard-text="https://gitcode.net/Haleydutest/cupdate/-/raw/master/sourceBaseUrl.json" onclick="showToast();">点此复制</button>

<span id="Flexbooru class="highlight"></span>
<span id="Flexbooru" class="highlight"></span>

## Flexbooru

Expand Down

0 comments on commit 05c96ab

Please sign in to comment.