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;
|
background-color: $gray-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
-code {
|
//-code {
|
||||||
white-space: pre-wrap;
|
// white-space: pre-wrap;
|
||||||
@extend %code-font;
|
// @extend %code-font;
|
||||||
@extend %code-in-rounded-box;
|
// @extend %code-in-rounded-box;
|
||||||
}
|
//}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
@extend %code-font;
|
@extend %code-font;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/*
|
|
||||||
// https://codersblock.com/blog/customizing-github-gists
|
// https://codersblock.com/blog/customizing-github-gists
|
||||||
//
|
/*
|
||||||
body .gist {
|
body .gist {
|
||||||
.gist-file {
|
.gist-file {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
|
@ -415,32 +415,21 @@ pre {
|
||||||
pre code {
|
pre code {
|
||||||
white-space: pre-wrap; }
|
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-family: "SF-Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Roboto Mono", "Ubuntu Mono", "Courier New", Courier, monospace;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
line-height: 1.4; }
|
line-height: 1.4; }
|
||||||
|
|
||||||
-code {
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
color: #bf616a;
|
|
||||||
background-color: #f9f2f4; }
|
|
||||||
|
|
||||||
code {
|
code {
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
border: 1px dashed #adb5db;
|
border: 1px dashed #adb5db;
|
||||||
background-color: #f9f9f9; }
|
background-color: #f9f9f9; }
|
||||||
|
|
||||||
-code {
|
|
||||||
white-space: pre-wrap; }
|
|
||||||
|
|
||||||
.hljs {
|
.hljs {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// https://codersblock.com/blog/customizing-github-gists
|
|
||||||
//
|
|
||||||
body .gist {
|
body .gist {
|
||||||
.gist-file {
|
.gist-file {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue