This commit is contained in:
tangly1024.com
2023-03-23 15:34:14 +08:00
parent a47ae4edfe
commit a3a06c867b
24 changed files with 378 additions and 204 deletions

15
public/css/theme-hexo.css Normal file
View File

@@ -0,0 +1,15 @@
/* 菜单下划线动画 */
#theme-hexo .menu-link {
text-decoration: none;
background-image: linear-gradient(#928CEE, #928CEE);
background-repeat: no-repeat;
background-position: bottom center;
background-size: 0 2px;
transition: background-size 100ms ease-in-out;
}
#theme-hexo .menu-link:hover {
background-size: 100% 2px;
color: #928CEE;
}

View File

@@ -17,7 +17,7 @@
/* 菜单下划线动画 */
.menu-link {
#theme-simple .menu-link {
text-decoration: none;
background-image: linear-gradient(#dd3333, #dd3333);
background-repeat: no-repeat;
@@ -26,7 +26,7 @@
transition: background-size 100ms ease-in-out;
}
.menu-link:hover {
#theme-simple .menu-link:hover {
background-size: 100% 2px;
color: #dd3333;
}