1
0
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:
Matthias Kretschmann 2019-02-06 13:47:17 +01:00
parent 6b9f8248ca
commit 5743b8a71e
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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;