Skip to content

Commit

Permalink
cheatsheet update
Browse files Browse the repository at this point in the history
  • Loading branch information
gatheesha committed Nov 5, 2023
1 parent 6c89530 commit 01e09d6
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 441 deletions.
13 changes: 9 additions & 4 deletions assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,19 @@ body {
@import "partial/categories";

pre {
margin-top: 0 !important;
overflow-x: auto;
padding: 10px 10px 10px 20px;
border: none !important;
border-radius: none !important;
-webkit-border-radius: none !important;
border: 2px;
border-radius: 2px !important;
-webkit-border-radius: 2px !important;
font-size: 13px;
font-family: $font-family-mono;
line-height: 22px;
position: relative;

border-color: $color-text;

.code-copy-btn {
position: absolute;
top: 0;
Expand Down Expand Up @@ -187,15 +190,17 @@ pre {
display: block;
padding: 0;
border: none;
background-color: unset;
}
}

code {
font-family: $font-family-mono;
color: $color-background;
padding: 0 5px;
border: 1px dotted $color-border;
border-radius: 2px;
-webkit-border-radius: 2px;
background-color: $color-meta-code;
}

.highlight {
Expand Down
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ weight = 6
lineNumbersInTable = true
noClasses = true
noHl = false
style = 'fruity'
tabWidth = 4
style = 'monokai'
tabWidth = 5
[markup.goldmark.renderer]
unsafe= true

Expand Down
Loading

0 comments on commit 01e09d6

Please sign in to comment.