diff options
author | 2020-03-04 23:20:18 +0100 | |
---|---|---|
committer | 2020-03-04 23:20:18 +0100 | |
commit | 794a8d82f54a35f27dc102e55ef8166b8a03444d (patch) | |
tree | 30813c8c59b7c0dd702434cc4ebf07c559ac83d3 | |
parent | Use loofah instead of textify for sanitization (diff) | |
download | planet-tyrian-794a8d82f54a35f27dc102e55ef8166b8a03444d.tar.gz planet-tyrian-794a8d82f54a35f27dc102e55ef8166b8a03444d.tar.bz2 planet-tyrian-794a8d82f54a35f27dc102e55ef8166b8a03444d.zip |
Adjust the appearance to match the old planet
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r-- | css/planet-tyrian.css | 45 |
1 files 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; +} |