From 39b70ccce1d78f0d2f58bd0be9e4bb041fe4e10e Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Wed, 13 Jan 2016 21:28:42 -0800 Subject: source/css/theme.css: Use relative sizes throughout Sizes relative to the base body size are easier to update -- only need to update the base size. --- source/css/theme.css | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/source/css/theme.css b/source/css/theme.css index 0c480eb5..07491b5c 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -113,23 +113,18 @@ a { } code { - font-size: 14px; + font-size: 90%; color: #333; font-family: Courier, monospace; white-space: pre-wrap; word-wrap: break-word; } -h1 code { - font-size: 23px; +h1 code, h2 code { + font-size: 95%; color: #000; } -h2 code { - font-size: 18px; - color: #000 -} - pre { padding: 1em; background: #fbfbfb; @@ -143,7 +138,7 @@ pre[class*=sourceCode] { } pre code { - font-size: 13px; + font-size: 85%; color: #000; white-space: pre; word-wrap: normal; @@ -178,10 +173,6 @@ img { font-size: 90%; } -.figure .caption code { - font-size: 13px; -} - sup { font-size: 11px; margin: 0 0 0 1px; @@ -207,10 +198,6 @@ noscript a { margin: 0.6em 0; } -.footnotes code { - font-size: 13px; -} - .footnotes-backlink { margin-left: 0.2em; vertical-align: -0.2em; -- cgit v1.2.1