mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
Initial commit
This commit is contained in:
2
docs/.vuepress/styles/config.scss
Normal file
2
docs/.vuepress/styles/config.scss
Normal file
@@ -0,0 +1,2 @@
|
||||
// you can change config here
|
||||
$code-lang: "css" "html" "js" "ts" "vue";
|
||||
61
docs/.vuepress/styles/index.scss
Normal file
61
docs/.vuepress/styles/index.scss
Normal file
@@ -0,0 +1,61 @@
|
||||
// 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;
|
||||
display: none;
|
||||
color: var(--external-link-icon-color);
|
||||
vertical-align: middle;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
.link-box{
|
||||
ol {
|
||||
display: inherit;
|
||||
li {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
margin: 10px 0;
|
||||
width: 98%;
|
||||
font-size: 16px;
|
||||
border: 1px solid var(--c-border-dark);
|
||||
border-radius: 5px;
|
||||
transition: all .3s;
|
||||
text-align: right;
|
||||
a {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: .8;
|
||||
padding: 10px 20px;
|
||||
box-sizing: border-box;
|
||||
transition: all .3s;
|
||||
strong {
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
}
|
||||
&:hover{
|
||||
opacity: 1;
|
||||
text-decoration:none!important;
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
transform: translate3d(0, -2px, 0);
|
||||
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
3
docs/.vuepress/styles/palette.scss
Normal file
3
docs/.vuepress/styles/palette.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
// you can change colors here
|
||||
$theme-color: #f26d6d;
|
||||
$font-family: 'Georgia, -apple-system, "Nimbus Roman No9 L", "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Microsoft Yahei", "WenQuanYi Micro Hei", "ST Heiti", sans-serif';
|
||||
Reference in New Issue
Block a user