Skip to content

Commit d27b5e0

Browse files
committed
Partially revert rhazdon#511
This partially reverts rhazdon#511. Reason: these two selectors are broken. The first, because a CSS child selector at the top-level, without a parent, has no meaning. The second, because hugo emits `<code>` so we need an element selector. The class selector would match `<div class="code">`.
1 parent 1a0a16f commit d27b5e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/scss/_main.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ em, i, strong {
210210
}
211211
}
212212

213-
> code {
213+
code {
214214
font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
215215
font-display: auto;
216216
font-feature-settings: normal;
@@ -257,7 +257,7 @@ pre {
257257
word-wrap: break-word;
258258
}
259259

260-
> .code {
260+
> code {
261261
background: none !important;
262262
margin: 0;
263263
padding: 0;

0 commit comments

Comments
 (0)