From f70c2070d0e5ed7982a611b0c19873cc6ebd9b54 Mon Sep 17 00:00:00 2001 From: Speyll Date: Tue, 25 Jul 2023 02:39:11 +0100 Subject: [PATCH] updated code css --- static/css/style.css | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 645682b..7076101 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -155,8 +155,10 @@ img { } pre { - color: var(--bgColor); - background-color: var(--fgColor); + border: 1px solid var(--metaColor); + padding: 1rem; + overflow-x: auto; + font-style: monospace; } p code, @@ -166,6 +168,11 @@ div code { background-color: var(--fgColor); } +pre code { + color: inherit; + background-color: inherit; +} + iframe { max-width: 90%; } @@ -299,24 +306,4 @@ textarea { .floatLeft { float: left -} - -#statuscafe { - border: 2px dashed var(--metaColor); - border-radius: 10px; - margin-bottom: 2rem; - padding: 1.4rem; -} - -#statuscafe-content { - margin-left: 1rem -} - -#statuscafe:focus, -#statuscafe:hover { - transform: scale(1.05); - -webkit-transition: .1s ease-in; - -moz-transition: .1s ease-in; - -o-transition: .1s ease-in; - background: var(--bgSelect) } \ No newline at end of file