From 794a8d82f54a35f27dc102e55ef8166b8a03444d Mon Sep 17 00:00:00 2001 From: Max Magorsch Date: Wed, 4 Mar 2020 23:20:18 +0100 Subject: Adjust the appearance to match the old planet Signed-off-by: Max Magorsch --- css/planet-tyrian.css | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/css/planet-tyrian.css b/css/planet-tyrian.css index 2c4c5d3..07b2367 100644 --- a/css/planet-tyrian.css +++ b/css/planet-tyrian.css @@ -74,23 +74,6 @@ blockquote { } } - -/* Keep the footer at the bottom -body { - min-height: 100vh; - position: relative; - margin: 0; - padding-bottom: 215px; -} -footer { - position: absolute; - margin-top: 40px; - bottom: 0; - width: 100%; -} -*/ - - .d-none { display:none; } @@ -134,3 +117,31 @@ input[type="radio"]:checked + .fa-newspaper:before, input[type="radio"]:checked + label > .fa-newspaper:before { content: "\f1ea"; color: black; } +/* + * Overwrite Bootstrap defaults to get + * the look and feel of the old planet + */ +pre { + background-color: #f5f5f5!important; + border: 1px solid #ccc!important; + border-left: 2px double grey!important; + word-break: break-all!important; + word-wrap: break-word!important; + padding: 9.5px!important; + margin: 0 0 10px!important; + border-radius: 4px!important; +} + +pre code { + padding: 0!important; + font-size: inherit!important; + color: inherit!important; + white-space: pre-wrap!important; + background-color: transparent!important; + border-radius: 0!important; +} + +kbd { + padding: .1rem .2rem!important; + background-color: #424242!important; +} -- cgit v1.2.3-65-gdbad