mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Merge pull request #141 from oceanprotocol/fix/inline-code
Be more specific with inline code
This commit is contained in:
commit
ba025e871b
@ -28,13 +28,16 @@
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
// stylelint-disable selector-no-qualifying-type
|
||||
:not(pre) > code,
|
||||
:not(pre) > code[class*='language-'] {
|
||||
background: darken($brand-white, 5%);
|
||||
color: $brand-grey-dark;
|
||||
display: inline-block;
|
||||
padding-left: .3rem;
|
||||
padding-right: .3rem;
|
||||
}
|
||||
// stylelint-enable selector-no-qualifying-type
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
|
Loading…
Reference in New Issue
Block a user