Correct paddings in inline code blocks (#35497)

* Update layout.css
This commit is contained in:
Илья
2019-03-20 15:22:20 +02:00
committed by Oliver Eyton-Williams
parent 527d442ac7
commit a27c736bf4

View File

@ -582,28 +582,12 @@ code {
border-radius: 3px;
font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono',
'Liberation Mono', Menlo, Courier, monospace;
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
padding: .2em .3em;
}
pre code {
background: none;
line-height: 1.42;
}
code:before,
code:after,
tt:before,
tt:after {
letter-spacing: -0.2em;
content: ' ';
white-space: pre;
}
pre code:before,
pre code:after,
pre tt:before,
pre tt:after {
content: '';
}
@media only screen and (max-width: 480px) {
html {
font-size: 100%;