-
Notifications
You must be signed in to change notification settings - Fork 5
fix_19.05.2020 #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix_19.05.2020 #53
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,6 +32,9 @@ pre[class*='language-'] { | |
| border-radius: $border-radius !important; | ||
| line-height: 1.5 !important; | ||
| text-shadow: none !important; | ||
| overflow-wrap: anywhere !important; | ||
| overflow-y: inherit !important; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. !important should not be used |
||
| white-space: pre-wrap !important; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. !important should not be used |
||
| } | ||
|
|
||
| pre[class*='language-']::selection, | ||
|
|
@@ -191,3 +194,38 @@ code[class*='language-'] ::selection { | |
| color: $gray-color; | ||
| } | ||
| } | ||
|
|
||
| [color-scheme='light'] { | ||
| code[class*='language-'], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid qualifying attribute selectors with an element. |
||
| pre[class*='language-'] { | ||
| color: lighten($body-font-color, 10%) !important; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. !important should not be used |
||
| background: $bg-color !important; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. !important should not be used |
||
| } | ||
|
|
||
| pre[class*='language-']::selection, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid qualifying attribute selectors with an element. |
||
| pre[class*='language-'] ::selection, | ||
| code[class*='language-']::selection, | ||
| code[class*='language-'] ::selection { | ||
| background: $highlight-color !important; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. !important should not be used |
||
| } | ||
|
|
||
| .token.comment, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line should be indented 2 spaces, but was indented 4 spaces |
||
| .token.prolog, | ||
| .token.doctype, | ||
| .token.cdata { | ||
| color: $gray-color; | ||
| } | ||
|
|
||
| .token.punctuation { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line should be indented 2 spaces, but was indented 4 spaces |
||
| color: $gray-color; | ||
| } | ||
|
|
||
| .token.selector, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line should be indented 2 spaces, but was indented 4 spaces |
||
| .token.attr-name, | ||
| .token.string, | ||
| .token.char, | ||
| .token.builtin, | ||
| .token.inserted { | ||
| color: $gray-color; | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,28 @@ | ||
| @import '../vars.scss'; | ||
|
|
||
| [color-scheme='light'] { | ||
| .json-container { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line should be indented 2 spaces, but was indented 4 spaces |
||
| .line { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line contains trailing whitespace |
||
| &.click { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line contains trailing whitespace |
||
| &:hover { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nesting should be no greater than 4, but was 5 |
||
| background-color: $secondary-color; | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rule declaration should be followed by an empty line |
||
| @media (prefers-color-scheme: dark) { | ||
| .json-container { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line should be indented 2 spaces, but was indented 4 spaces |
||
| .line { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line contains trailing whitespace |
||
| &.click { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line contains trailing whitespace |
||
| &:hover { | ||
| background-color: $secondary-color; | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| .json-container { | ||
| ::selection { | ||
| text-shadow: none; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!important should not be used
Line should be indented 2 spaces, but was indented 4 spaces