Skip to content

Commit

Permalink
few improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kinoute committed Mar 18, 2021
1 parent bf857f5 commit 3a1d9bb
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions github-night.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/kinoute/typora-github-night-theme
Authors: Yann Defretin, GitHub Team
Author URI: https://github.com/kinoute
Description: A Typora theme that uses GitHub Dark Color Scheme.
Version: 0.3.1
Version: 0.4.0
Tags: dark, github, typora
*/

Expand Down Expand Up @@ -608,6 +608,10 @@ code {
}
*/

.CodeMirror-line {
padding-left: 15px;
}

.code-tooltip {
background: #161b22;
border: 1px solid #161b22;
Expand Down Expand Up @@ -657,7 +661,7 @@ code {
}

.task-list-item input {
top: 3px;
top: 7px;
}

.task-list-item input:before {
Expand Down Expand Up @@ -1076,7 +1080,8 @@ input {
.cm-s-inner .CodeMirror-gutters {
border: 0;
color: #6d8a88;
width: 5ch;
/* width: 5ch;
*/
}

#typora-source .CodeMirror-gutter-wrapper {
Expand All @@ -1089,7 +1094,7 @@ input {

.cm-s-inner .CodeMirror-linenumber {
color: #6d8a88;
width: 4ch !important;
/* width: 4ch !important;*/
}

.cm-s-inner .CodeMirror-line::selection,
Expand Down Expand Up @@ -1864,10 +1869,16 @@ input:not([type="range"]):not([type="color"]) {
}

/* scrollbar */
::-webkit-scrollbar {
/*::-webkit-scrollbar {
width: 1px;
padding-right: 10px;
background-color: rgba(0, 0, 0, 0);
background-color: #FFF;
}*/

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:active {
border-radius: 10px;
background-color: #2F333A;
}

/* Remove dashed border on filenames in the sidebar */
Expand All @@ -1878,4 +1889,4 @@ input:not([type="range"]):not([type="color"]) {
/* Handle long filenames in sidebar */
file-node-title-name-part {
white-space: pre-wrap;
}
}

0 comments on commit 3a1d9bb

Please sign in to comment.