Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ertuil/erblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutong Chen <ertuil98@foxmail.com>2020-02-17 05:49:50 +0300
committerGitHub <noreply@github.com>2020-02-17 05:49:50 +0300
commit56e690145b544a0426a15ff0aa0f6670b7fedbcc (patch)
tree01390c5e982211414cdc54a3b4bf4399a31b8451
parent0bfcaa6a9850c9186ad327b06d28a52980055ec8 (diff)
parente546f2d474adbd809418a263bc45a7df62e4c9d2 (diff)
Merge pull request #5 from progressify/masterstyled-scrollbar
style for scrollbar
-rw-r--r--static/self/css/default.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/static/self/css/default.css b/static/self/css/default.css
index 716067e..2d705c8 100644
--- a/static/self/css/default.css
+++ b/static/self/css/default.css
@@ -264,3 +264,18 @@ footer {
color: #f2f2f2;
text-decoration: underline;
}
+
+/* scrollbar */
+body::-webkit-scrollbar {
+ width: 0.5em;
+}
+
+body::-webkit-scrollbar-track {
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+}
+
+body::-webkit-scrollbar-thumb {
+ background-color: #2f4056;
+ outline: 1px solid #8ab7ca;
+ border-radius: 10px;
+}