From 9b6f0a8f862fe5535f25f0a43c75e582ea55105f Mon Sep 17 00:00:00 2001 From: Florrie Date: Tue, 20 Nov 2018 00:15:01 -0400 Subject: Steal rosenzweig.io's stylesheet No, wait, I was *offered* it! --- style.css | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 08917bf..953c17e 100644 --- a/style.css +++ b/style.css @@ -1,13 +1,30 @@ +/* Adapted/stolen from https://rosenzweig.io/style.css :) */ + body { - max-width: 20cm; + font-family: "Cantarell", sans-serif; + max-width: 40em; margin-left: auto; margin-right: auto; - padding: 0 8px; + padding: 0em 1em 1em 1em; + line-height: 1.5; } li { - margin-top: 4px; - margin-bottom: 4px; + padding-top: 0.3em; + padding-bottom: 0.3em; +} + +header, h1 { + text-align: center; +} + +h2 + ul { + /* Evil hack - this makes the list appear slightly closer to the heading. */ + margin-top: -0.75em; +} + +a { + text-decoration: none; } .thumb-list { -- cgit 1.3.0-6-gf8a5