refactors SCSS styles -- see CHANGELOG

This commit is contained in:
Huy Tran 2018-07-25 12:21:03 +10:00
parent adfeaa7e76
commit b3a71874a8
10 changed files with 195 additions and 219 deletions

View file

@ -1,7 +1,12 @@
pre {
border: 1px solid $gray-1;
border-radius: 2px;
//border: 1px solid $gray-1;
//border-radius: 2px;
tab-size: 2;
//width: 111%;
//margin-left: -11%;
//padding-left: 9%;
//padding-right: 2%;
//background: #29292e;
code {
white-space: pre-wrap;
}
@ -10,11 +15,11 @@ pre {
%code-font {
font-family: $code-font-family;
font-size: $code-font-size;
line-height: $code-line-height;
//line-height: $code-line-height;
}
%code-in-rounded-box {
border-radius: 3px;
border-radius: 4px;
padding: 2px 4px;
color: $code-color;
background-color: $code-background-color;
@ -39,6 +44,9 @@ code {
// highlight.js
.hljs {
font-size: $code-fence-font-size;
font-weight: 300;
white-space: pre;
border:none;
border: 1px solid $gray-3;
border-radius: 4px;
}