优化页面样式
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
height: 0.5rem;
|
height: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-corner {
|
||||||
background-color: transparent;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
@@ -20,6 +20,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
// 选中文本
|
// 选中文本
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
|
@@ -70,23 +70,25 @@ export default {
|
|||||||
> .title {
|
> .title {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 1.5rem 0;
|
margin: 1.5rem 0;
|
||||||
font-size: 1rem;
|
color: @colorPrimary;
|
||||||
color: @textPrimary;
|
font-size: 1.125rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .title::before {
|
> .title::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 50%;
|
||||||
left: -0.5rem;
|
left: -0.5em;
|
||||||
width: 0.2rem;
|
width: 0.25em;
|
||||||
height: 100%;
|
height: calc(100% - 0.25em);
|
||||||
|
transform: translateY(-50%);
|
||||||
background-color: @colorPrimary;
|
background-color: @colorPrimary;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .content {
|
> .content {
|
||||||
line-height: 1.6em;
|
color: @textPrimary;
|
||||||
font-size: 0.9rem;
|
font-size: 1rem;
|
||||||
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user