-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(syntax): use Gruvbox syntax highlighting theme
- Loading branch information
Showing
5 changed files
with
304 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
div.highlight { | ||
margin-bottom: 20px; | ||
border-radius: var(--borderRadius); | ||
} | ||
pre { | ||
overflow: auto; | ||
white-space: pre; | ||
word-break: normal; | ||
word-wrap: normal; | ||
color: #ebdbb2; /* This is needed due to bug in Pygments. It does not wraps some part of the code of some lagauges, like reST. This is for fallback. */ | ||
} | ||
table { | ||
table-layout: fixed; | ||
width: 100%; | ||
} | ||
td { | ||
vertical-align: top; | ||
} | ||
@media (max-width: 979px) { | ||
.linenos { | ||
display: none !important; | ||
} | ||
} | ||
.linenos { | ||
width: 30px; | ||
} | ||
.linenos div pre { | ||
text-align: right; | ||
overflow: hidden; | ||
} | ||
td.code .highlight pre { | ||
border-radius: 0 var(--borderRadius) var(--borderRadius) 0; | ||
} | ||
td.code { | ||
width: 100%; | ||
} | ||
.linenodiv pre { | ||
border-radius: var(--borderRadius) 0 0 var(--borderRadius); | ||
color: #ebdbb2; | ||
background-color: #282828; | ||
} | ||
table.highlighttable { | ||
border: none; | ||
} | ||
table.highlighttable td { | ||
border: none; | ||
} | ||
table.highlighttable tbody > tr:nth-child(odd) > td { | ||
background-color: transparent; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.