1
0
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:
Troy McConaghy 2019-02-06 13:56:56 +01:00 committed by GitHub
commit ba025e871b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;