From 073089162f8be3d6eb77d471055fcce3773f0b39 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 7 May 2017 19:25:55 +0530 Subject: Fix CSS and font information --- static/css/default.css | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/static/css/default.css b/static/css/default.css index 364a909..73f0f8a 100644 --- a/static/css/default.css +++ b/static/css/default.css @@ -10,14 +10,16 @@ html { } body { - background-color: white; /* #080b00; */ /* rgba(255, 255, 255, 0.8); */ - font-family: "Lucida Sans", "Georgia", helvetica, "Droid Serif", "Bitstream Charter", serif; /* verdana, arial, helvetica;*/ - /* font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; font-size: 15pt; background-color: #eeeeee; */ + background-color: white; + font-family: "Gentium Book Basic", serif; margin: auto; padding: 1em; - border-radius: 1em; - max-width: 48em; - font-size: 100%; + max-width: 56em; + font-style: normal; + font-size: 100% + font-weight: normal; + color: #444; + line-height: 1.4; } body>h1:first-child, td.main { @@ -27,15 +29,6 @@ body>h1:first-child, td.main { margin-top: 0; } -/* code, .code { */ -/* font-family: "Inconsolata", monospace; */ -/* font-size: 15px; */ -/* white-space:pre-wrap; */ -/* word-wrap:break-word; */ -/* overflow:auto; */ -/* } */ - - h1, h2, h3, h4, h5, h6 { color: #fa6900; } @@ -51,12 +44,6 @@ a:hover { color: #f83; } -/* p { */ -/* margin: 1em; */ -/* max-width: 48em; */ -/* white-space: pre-wrap; */ -/* } */ - img { max-width: 60%; } @@ -118,15 +105,21 @@ td { text-align: right; overflow: hidden; } + pre { + font-family: "mononoki", "Inconsolata", "Consolas", monospace; + font-size: 95%; overflow: auto; white-space: pre; word-break: normal; word-wrap: normal; + } + td.code .highlight pre { border-radius: 0 3px 3px 0; } + td.code { width: 100%; } @@ -135,6 +128,17 @@ td.code { border-radius: 3px 0 0 3px; color: #657b83; } + div.highlight { margin-bottom: 20px; } + +.strike { + text-decoration: line-through; +} + +footer.post-info { + font-style: italic; + font-size: 85%; + font-weight: normal; +} \ No newline at end of file -- cgit v1.2.3