mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
chore: add prettier as linter
This commit is contained in:
@@ -1,16 +1,5 @@
|
||||
// place your custom styles here
|
||||
header.navbar {
|
||||
/*
|
||||
// 隐藏导航栏外链图标
|
||||
.navbar-items-wrapper > nav > div > a > span > svg.external-link-icon {
|
||||
position: relative;
|
||||
display: none;
|
||||
color: var(--external-link-icon-color);
|
||||
vertical-align: middle;
|
||||
top: -1px;
|
||||
}
|
||||
*/
|
||||
|
||||
// 隐藏导航栏和导航栏菜单外链图标
|
||||
svg.external-link-icon {
|
||||
position: relative;
|
||||
@@ -21,7 +10,7 @@ header.navbar {
|
||||
}
|
||||
}
|
||||
|
||||
.link-box{
|
||||
.link-box {
|
||||
ol {
|
||||
display: inherit;
|
||||
li {
|
||||
@@ -32,30 +21,34 @@ header.navbar {
|
||||
font-size: 16px;
|
||||
border: 1px solid var(--c-border-dark);
|
||||
border-radius: 5px;
|
||||
transition: all .3s;
|
||||
transition: all 0.3s;
|
||||
text-align: right;
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: .8;
|
||||
opacity: 0.8;
|
||||
padding: 10px 20px;
|
||||
box-sizing: border-box;
|
||||
transition: all .3s;
|
||||
transition: all 0.3s;
|
||||
|
||||
strong {
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
}
|
||||
&:hover{
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
text-decoration:none!important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
|
||||
&:hover {
|
||||
transform: translate3d(0, -2px, 0);
|
||||
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user