diff --git a/assets/main.css b/assets/main.css index 3e6357c..b2c81e4 100644 --- a/assets/main.css +++ b/assets/main.css @@ -303,20 +303,14 @@ aside { } .code-highlight { - overflow: auto; - background-color: var(--code-bg); - color: var(--nm); - border-radius: 10px; - padding: 20px 20px 20px 10px; + } code { - border-radius: 10px; font-family: 'Fira Code', monospace; - color: var(--code-fg); - background-color: var(--code-bg); - width: 100%; - margin-left: 16px; + color: var(--vi); + padding: 2px 6px; + /* background-color: var); */ } pre { @@ -327,6 +321,12 @@ pre { pre code { counter-increment: line; + width: 100%; + overflow: auto; + background-color: var(--code-bg); + color: var(--nm); + border-radius: 10px; + padding: 20px 20px 20px 10px; } pre code::before { diff --git a/assets/template.html b/assets/template.html index 24f1535..2d92bb3 100644 --- a/assets/template.html +++ b/assets/template.html @@ -49,4 +49,4 @@