mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-11 18:21:28 +08:00
add link style and selection color
This commit is contained in:
33
layouts/partials/extended_footer.html
Normal file
33
layouts/partials/extended_footer.html
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
<!-- link style -->
|
||||||
|
<style>
|
||||||
|
.post-content a {
|
||||||
|
transition: background-size 0.1s ease;
|
||||||
|
background: linear-gradient(to bottom, transparent 62%, #fff56644 0) center center/0% 75% no-repeat;
|
||||||
|
color: #52c41a;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-content a:hover {
|
||||||
|
background-size: 100% 100%;
|
||||||
|
color: #389e0d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-content a:active {
|
||||||
|
background-size: 80% 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<style>
|
||||||
|
::selection {
|
||||||
|
background: #52c41a44;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-moz-selection {
|
||||||
|
background: #52c41a44;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-selection {
|
||||||
|
background: #52c41a44;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user