Minor UI changes
This commit is contained in:
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user