Optimize the typography.

This commit is contained in:
Cotes Chung
2020-02-29 00:16:47 +08:00
parent 3b4ea05cd3
commit 0425b1058f
7 changed files with 50 additions and 41 deletions

View File

@@ -107,7 +107,13 @@ code {
padding: 2px 4px;
margin: 0 .3rem;
border-radius: 4px;
border: 1px solid var(--code-highlighter-rouge); //var(--highlight-pre-bg, #e9ecef);
border: 1px solid var(--code-highlighter-rouge);
}
@at-root a>&.highlighter-rouge {
padding-bottom: 0; // show link's underlinke
}
@at-root a:hover>&.highlighter-rouge {
border-bottom: none;
}
}