add scrollbar style, Optimize mobile phone layout (#3)

* add scrollbar style, Optimize mobile phone layout

* sync
This commit is contained in:
Fei_Bam
2023-06-27 12:14:24 +09:00
committed by GitHub
parent 3352b41673
commit 83af26d3fa
4 changed files with 52 additions and 11 deletions

16
static/scrollBar.css Normal file
View File

@@ -0,0 +1,16 @@
::-webkit-scrollbar{
width: 6px;
height: 1px;
}
::-webkit-scrollbar-thumb{
border-radius: 100%;
}
::-webkit-scrollbar-track{
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 10px;
background: #EDEDED;
}
::-webkit-scrollbar-thumb{
background: rgba(0, 0, 0, 0.45);
border-radius: 6px;
}