LiteyukiBot-TriM/docs/.vuepress/styles/index.scss

81 lines
1.5 KiB
SCSS
Raw Normal View History

2024-03-28 10:50:19 +08:00
// place your custom styles here
2024-06-26 13:52:04 +08:00
:root {
--code-window-border-radius: 10px;
--button-distance: 8px;
}
#main-title {
2024-04-08 17:31:03 +08:00
font-family: ColorTube, "Fira Code", serif;
color: #ff0000 !important; /* 你想要的颜色 */
line-height: 2;
}
2024-04-08 17:13:25 +08:00
@font-face {
font-family: ColorTube;
2024-06-18 23:23:44 +08:00
src: url("/assets/fonts/ColorTube.woff") format("woff")
2024-04-08 17:13:25 +08:00
}
code {
font-family: "Fira Code", monospace !important;
2024-06-18 23:23:44 +08:00
}
2024-06-19 12:15:22 +08:00
2024-06-26 13:52:04 +08:00
.vp-hero-image {
2024-06-19 12:15:22 +08:00
overflow: hidden;
padding: -50px;
2024-06-19 12:34:38 +08:00
}
2024-06-26 13:52:04 +08:00
#main-title {
2024-06-19 12:34:38 +08:00
display: none;
2024-06-26 13:52:04 +08:00
}
.theme-hope-content pre {
overflow: auto;
margin: 0 0;
padding: 1rem;
border-radius: 6px;
line-height: 1.375;
}
// 移除该before
.theme-hope-content pre::before {
content: none;
}
.theme-hope-content > div[class*=language-] {
margin: 0 0 0 0;
// 仅下半部分有圆弧
border-radius: 0 0 var(--code-window-border-radius) var(--code-window-border-radius);
}
.tab {
display: flex;
height: 25px;
margin-bottom: 0;
justify-content: space-between;
align-items: center;
border-top-left-radius: var(--code-window-border-radius);
border-top-right-radius: var(--code-window-border-radius);
}
.tab-buttons {
padding: 7px;
flex: 1;
display: flex;
justify-content: flex-start;
height: 60%;
align-items: center;
}
.tab-button {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-right: var(--button-distance);
border-radius: 50%;
height: 100%;
aspect-ratio: 1/1;
}
.tab-title{
text-align: center;
justify-content: center;
flex: 1;
2024-06-19 12:15:22 +08:00
}