diff --git a/lib/terminal.css b/lib/terminal.css index cc2f649..ac04a3d 100644 --- a/lib/terminal.css +++ b/lib/terminal.css @@ -13,9 +13,10 @@ --error-color: #d20962; --progress-bar-background: #727578; --progress-bar-fill: #151515; - --code-bg-color: var(--background-color); + --code-bg-color: #e8eff2; --input-style: solid; --display-h1-decoration: none; + --block-background-color: var(--background-color); } * { @@ -177,7 +178,7 @@ pre { word-break: break-all; word-wrap: break-word; color: var(--secondary-color); - background-color: var(--background-color); + background-color: var(--block-background-color); border: 1px solid var(--secondary-color); padding: var(--global-space); white-space: pre-wrap; @@ -192,10 +193,10 @@ pre code { display: inline-block; min-width: 100%; font-family: var(--mono-font-stack); + background-color: var(--block-background-color); } .terminal blockquote, -.terminal code, .terminal h1, .terminal h2, .terminal h3, @@ -210,6 +211,12 @@ pre code { color: var(--font-color); } +.terminal code { + font-size: var(--global-font-size); + font-style: normal; + color: var(--font-color); +} + .terminal-prompt { position: relative; white-space: nowrap; @@ -908,7 +915,7 @@ figure > figcaption { display: block; overflow-x: auto; padding: 0.5em; - background: var(--code-bg-color); + background: var(--block-background-color); color: var(--font-color); } diff --git a/pages/dark.md b/pages/dark.md index ff8e081..3bf20a0 100644 --- a/pages/dark.md +++ b/pages/dark.md @@ -1,6 +1,6 @@ --- title: Terminal CSS - Dark -description: Terminal CSS is a modern, simple, and accessible CSS framework. +description: A modern and minimal CSS framework for terminal lovers. layout: dark --- diff --git a/pages/index.md b/pages/index.md index 00f17ff..43c2d3d 100644 --- a/pages/index.md +++ b/pages/index.md @@ -1,6 +1,6 @@ --- title: Terminal CSS -description: Terminal CSS is a modern, simple, and accessible CSS framework. +description: A modern and minimal CSS framework for terminal lovers. layout: default --- diff --git a/pages/sans-serif-dark.md b/pages/sans-serif-dark.md index 02b5394..f0c20ef 100644 --- a/pages/sans-serif-dark.md +++ b/pages/sans-serif-dark.md @@ -1,6 +1,6 @@ --- title: Terminal CSS -description: Terminal CSS is a modern, simple, and accessible CSS framework. +description: A modern and minimal CSS framework for terminal lovers. layout: sans-dark --- diff --git a/pages/sans-serif.md b/pages/sans-serif.md index 8fc0950..a4eb317 100644 --- a/pages/sans-serif.md +++ b/pages/sans-serif.md @@ -1,6 +1,6 @@ --- title: Terminal CSS -description: Terminal CSS is a modern, simple, and accessible CSS framework. +description: A modern and minimal CSS framework for terminal lovers. layout: sans --- diff --git a/templates/layouts/dark.html b/templates/layouts/dark.html index 55f6012..89fc68c 100644 --- a/templates/layouts/dark.html +++ b/templates/layouts/dark.html @@ -30,7 +30,7 @@
- {{ template "navigation.html" }} + {{ template "navigation.html" . }}@font-face
or any other font provider to include your custom fonts.<code>
elements.<pre>
elements. Also applies to <code>
elements inside a <pre>
element.Terminal CSS uses a single font size for almost all elements. However, there is a way to use browser default font sizes if you wish.
\ No newline at end of file diff --git a/templates/partials/forms.html b/templates/partials/forms.html index 9645b12..5fd889d 100644 --- a/templates/partials/forms.html +++ b/templates/partials/forms.html @@ -25,7 +25,7 @@{{ .FrontMatter.Description }}
+