优化页面样式
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user