forked from aaranxu/tale-zola
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc51009
commit 57e5611
Showing
2 changed files
with
35 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
// Write your custom CSS here | ||
pre { | ||
padding: 1rem; | ||
overflow: auto; | ||
} | ||
/* The line numbers already provide some kind of left/right padding */ | ||
pre[data-linenos] { | ||
padding: 1rem 0; | ||
padding: 0; | ||
} | ||
pre table td { | ||
padding: 0 0.25rem; | ||
color: white; | ||
// border: 0; | ||
} | ||
/* The line number cells */ | ||
pre table td:nth-of-type(1) { | ||
text-align: center; | ||
user-select: none; | ||
} | ||
pre mark { | ||
/* If you want your highlights to take the full width */ | ||
display: block; | ||
/* The default background colour of a mark is bright yellow */ | ||
background-color: rgba(254, 252, 232, 0.9); | ||
} | ||
pre table { | ||
width: 100%; | ||
border-collapse: collapse; | ||
border: 0; | ||
} | ||
|
||
pre code { | ||
border: 0; | ||
} |