revises Gist styles and code
This commit is contained in:
parent
5ecdfb0e28
commit
c1ab130c50
4 changed files with 8 additions and 20 deletions
|
@ -26,11 +26,11 @@ pre {
|
|||
background-color: $gray-1;
|
||||
}
|
||||
|
||||
-code {
|
||||
white-space: pre-wrap;
|
||||
@extend %code-font;
|
||||
@extend %code-in-rounded-box;
|
||||
}
|
||||
//-code {
|
||||
// white-space: pre-wrap;
|
||||
// @extend %code-font;
|
||||
// @extend %code-in-rounded-box;
|
||||
//}
|
||||
|
||||
code {
|
||||
@extend %code-font;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
/*
|
||||
// https://codersblock.com/blog/customizing-github-gists
|
||||
//
|
||||
/*
|
||||
body .gist {
|
||||
.gist-file {
|
||||
margin-bottom: 0;
|
||||
|
|
|
@ -415,32 +415,21 @@ pre {
|
|||
pre code {
|
||||
white-space: pre-wrap; }
|
||||
|
||||
-code, code {
|
||||
code {
|
||||
font-family: "SF-Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Roboto Mono", "Ubuntu Mono", "Courier New", Courier, monospace;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4; }
|
||||
|
||||
-code {
|
||||
border-radius: 3px;
|
||||
padding: 2px 4px;
|
||||
color: #bf616a;
|
||||
background-color: #f9f2f4; }
|
||||
|
||||
code {
|
||||
padding: 2px 4px;
|
||||
border: 1px dashed #adb5db;
|
||||
background-color: #f9f9f9; }
|
||||
|
||||
-code {
|
||||
white-space: pre-wrap; }
|
||||
|
||||
.hljs {
|
||||
white-space: pre;
|
||||
border: none; }
|
||||
|
||||
/*
|
||||
// https://codersblock.com/blog/customizing-github-gists
|
||||
//
|
||||
body .gist {
|
||||
.gist-file {
|
||||
margin-bottom: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue