1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

Add custom scrollbar; Exclude lock files from git

This commit is contained in:
fromaline 2020-10-26 19:32:28 +03:00
parent 72ff468e1a
commit 1d983ef1db
4 changed files with 33 additions and 1 deletions

2
.gitignore vendored
View File

@ -106,3 +106,5 @@ dist
.jekyll-cache .jekyll-cache
.idea .idea
.vscode .vscode
package-lock.json
yarn.lock

13
dist/chota.css vendored
View File

@ -29,6 +29,19 @@ html {
-webkit-box-sizing: inherit; -webkit-box-sizing: inherit;
box-sizing: inherit; box-sizing: inherit;
} }
* {
scrollbar-width: thin;
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
}
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background: var(--bg-primary);
}
*::-webkit-scrollbar-thumb {
background: var(--color-lightGrey);
}
body { body {
background-color: var(--bg-color); background-color: var(--bg-color);
line-height: 1.6; line-height: 1.6;

2
dist/chota.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -29,6 +29,23 @@ html {
box-sizing: inherit; box-sizing: inherit;
} }
* {
scrollbar-width: thin;
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
}
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background: var(--bg-primary);
}
*::-webkit-scrollbar-thumb {
background: var(--color-lightGrey);
}
body { body {
background-color: var(--bg-color); background-color: var(--bg-color);
line-height: 1.6; line-height: 1.6;