From 79d0739cb2ab049c5e40351d4ae6a815ae8ec303 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Tue, 23 Oct 2018 08:02:31 +0200 Subject: Minor styling fixes This applies a border around the code samples from earlier asciidoc articles. The PGP key fingerprint on the home page will now also spread over multiple lines on smaller screens. --- _pages/index.md | 4 +--- css/main.less | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/_pages/index.md b/_pages/index.md index 5c4296e..c82fce6 100644 --- a/_pages/index.md +++ b/_pages/index.md @@ -36,9 +36,7 @@ donations I receive can be found on the [support][donate] page. My public PGP key is available [from my own site][pubkey], or from a public key server such as [pgp.mit.edu][pubkey-mit]. The fingerprint is: -``` -1660 F6A2 DFA7 5347 322A 4DC0 7A6A C285 E2D9 8827 -``` +`1660 F6A2 DFA7 5347 322A 4DC0 7A6A C285 E2D9 8827` ### OTR diff --git a/css/main.less b/css/main.less index 4a5019c..2c3d1ed 100644 --- a/css/main.less +++ b/css/main.less @@ -11,7 +11,6 @@ html { } body { - font-family: Times; color: @bodyTextColor; font-size: 16px; line-height: 1.4; @@ -32,7 +31,7 @@ table { width: 100%; } -figure.highlight { +figure.highlight, pre.highlight { border: 2px solid @blockBorderColor; background-color: @blockBackgroundColor; @@ -55,7 +54,7 @@ code { div.container { max-width: @mainWidth; margin: 0 auto 0.5em auto; - padding-top: 1em; + padding: 1em 2em 0 2em; } span.citneed{ -- cgit v1.1