Minor UI changes

This commit is contained in:
Angelos Chalaris
2019-08-16 14:25:50 +03:00
parent 3b78616102
commit 3624d5b413
2 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,7 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
background: var(--pre-selected-color);
}
:not(pre):not(a) > code[class*="language-"] {
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
@ -107,7 +107,7 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
color: var(--token-color-f);
}
p > code {
p > code, a > code {
&, &[class*="language-"] {
color: var(--code-fore-color);
background: var(--code-back-color);

View File

@ -40,6 +40,7 @@
width: 100%;
margin-top: 1vh;
margin-bottom: 4vh;
line-height: 12.5vh;
}
@media screen and (min-width: $layout-large-breakpoint) {
margin-bottom: 1vh;