From 1adad6762da15ebfefe5c70ed956bd20df6c8465 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 14 Apr 2024 02:27:53 +0200 Subject: [PATCH] improve style for code --- src/static/css/style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/static/css/style.css b/src/static/css/style.css index 235cbb6..dee07b5 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -182,3 +182,13 @@ ul { ol { padding-left:20px; } + +code { + border-radius: 25px; + padding-left: 20px; + padding-right: 20px; + page-break-inside: avoid; + font-family: monospace; + white-space: pre; + display: inline-block +}