diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-08-28 02:41:19 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-08-28 04:31:12 +0200 |
commit | d1f2618a552a79419c45ac66ea1c49fc8761c592 (patch) | |
tree | d5ee79c3eaa57c49acb259cc9792377d1e77af41 | |
parent | a072e5d9c7c2a8f7a3dbfb9ff810963cd3590180 (diff) |
css: better quotes and code
-rw-r--r-- | dst/.files | 4 | ||||
-rw-r--r-- | dst/styles/style.css | 24 | ||||
-rw-r--r-- | src/styles/style.css | 24 |
3 files changed, 26 insertions, 26 deletions
@@ -1,5 +1 @@ ./styles/style.css -./game.md -./index.md -./ase.md -./spo.md diff --git a/dst/styles/style.css b/dst/styles/style.css index 848f946..b20fd70 100644 --- a/dst/styles/style.css +++ b/dst/styles/style.css @@ -31,23 +31,24 @@ a:hover { text-decoration-color: #ca8; } -pre, code { - font: 1.1em/1.5 monospace; +pre > code { + display: block; + padding: 10px 15px; + white-space: pre-wrap; + line-height: 1.4em; } -pre { - overflow-x: auto; - padding: .5em 1em; +pre, code { + font-family: 'Fira Code', monospace; + font-size: 0.98em; + color: #ddd; background-color: #222; + border-radius: 5px; } code { - white-space: pre; - color: rgb(251, 252, 189); -} - -pre code { - color: #ddd; + padding: 3px 5px; + white-space: nowrap; } p img, table { @@ -63,6 +64,7 @@ img { blockquote { background-color: #222; border-left: 5px solid #e6c79a; + border-radius: 5px; margin: 0em 1em; padding-left: 1em; } diff --git a/src/styles/style.css b/src/styles/style.css index 848f946..b20fd70 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -31,23 +31,24 @@ a:hover { text-decoration-color: #ca8; } -pre, code { - font: 1.1em/1.5 monospace; +pre > code { + display: block; + padding: 10px 15px; + white-space: pre-wrap; + line-height: 1.4em; } -pre { - overflow-x: auto; - padding: .5em 1em; +pre, code { + font-family: 'Fira Code', monospace; + font-size: 0.98em; + color: #ddd; background-color: #222; + border-radius: 5px; } code { - white-space: pre; - color: rgb(251, 252, 189); -} - -pre code { - color: #ddd; + padding: 3px 5px; + white-space: nowrap; } p img, table { @@ -63,6 +64,7 @@ img { blockquote { background-color: #222; border-left: 5px solid #e6c79a; + border-radius: 5px; margin: 0em 1em; padding-left: 1em; } |