mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
more specific with inline code
This commit is contained in:
parent
6b9f8248ca
commit
5743b8a71e
@ -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