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

81 lines
1.5 KiB
SCSS
Raw Normal View History

2024-03-28 02:50:19 +00:00
// place your custom styles here
2024-06-26 05:52:04 +00:00
:root {
--code-window-border-radius: 10px;
--button-distance: 8px;
}
#main-title {
2024-04-08 09:31:03 +00:00
font-family: ColorTube, "Fira Code", serif;
color: #ff0000 !important; /* 你想要的颜色 */
line-height: 2;
}
2024-04-08 09:13:25 +00:00
@font-face {
font-family: ColorTube;
2024-06-18 15:23:44 +00:00
src: url("/assets/fonts/ColorTube.woff") format("woff")
2024-04-08 09:13:25 +00:00
}
code {
font-family: "Fira Code", monospace !important;
2024-06-18 15:23:44 +00:00
}
2024-06-19 04:15:22 +00:00
2024-06-26 05:52:04 +00:00
.vp-hero-image {
2024-06-19 04:15:22 +00:00
overflow: hidden;
padding: -50px;
2024-06-19 04:34:38 +00:00
}
2024-06-26 05:52:04 +00:00
#main-title {
2024-06-19 04:34:38 +00:00
display: none;
2024-06-26 05:52:04 +00: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 04:15:22 +00:00
}