aboutsummaryrefslogtreecommitdiff
path: root/source/css
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-01-13 21:28:42 -0800
committerZhiming Wang <zmwangx@gmail.com>2016-01-13 21:28:42 -0800
commit39b70ccce1d78f0d2f58bd0be9e4bb041fe4e10e (patch)
tree0149666ee4fd64dbfd18fa7a0da124c8524b81aa /source/css
parentadc11cc9bd00a22a0c37224592d0e78bcd32ac93 (diff)
downloadmy_new_personal_website-39b70ccce1d78f0d2f58bd0be9e4bb041fe4e10e.tar.xz
my_new_personal_website-39b70ccce1d78f0d2f58bd0be9e4bb041fe4e10e.zip
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.
Diffstat (limited to 'source/css')
-rw-r--r--source/css/theme.css21
1 files 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;