优化页面样式

This commit is contained in:
2022-03-18 11:12:41 +08:00
parent af6f1ff334
commit 5b9fc602b9
2 changed files with 16 additions and 10 deletions

View File

@@ -7,8 +7,8 @@
height: 0.5rem;
}
::-webkit-scrollbar-track {
background-color: transparent;
::-webkit-scrollbar-corner {
display: none;
}
::-webkit-scrollbar-thumb {
@@ -20,6 +20,10 @@
}
}
::-webkit-scrollbar-track {
background-color: transparent;
}
// 选中文本
::selection {

View File

@@ -70,23 +70,25 @@ export default {
> .title {
position: relative;
margin: 1.5rem 0;
font-size: 1rem;
color: @textPrimary;
color: @colorPrimary;
font-size: 1.125rem;
}
> .title::before {
content: "";
position: absolute;
top: 0;
left: -0.5rem;
width: 0.2rem;
height: 100%;
top: 50%;
left: -0.5em;
width: 0.25em;
height: calc(100% - 0.25em);
transform: translateY(-50%);
background-color: @colorPrimary;
}
> .content {
line-height: 1.6em;
font-size: 0.9rem;
color: @textPrimary;
font-size: 1rem;
line-height: 1.5em;
}
}
}