chore: add prettier as linter

This commit is contained in:
Mr.Hope
2023-04-26 11:57:55 +08:00
parent c0ca9e0966
commit ac4a955bd1
12 changed files with 153 additions and 97 deletions

View File

@@ -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%);
}
}
}
}
}