summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2018-10-23 08:02:31 +0200
committerPatrick Spek <p.spek@tyil.nl>2018-10-23 08:02:31 +0200
commit79d0739cb2ab049c5e40351d4ae6a815ae8ec303 (patch)
treeb9687d4b94ce829257a01f0ad1646db0cddd6ac1
parent9e54ebdd2a61865c1f48b1279995e6964ab8daa2 (diff)
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.
-rw-r--r--_pages/index.md4
-rw-r--r--css/main.less5
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{