From: Vladimír Vondruš Date: Wed, 1 Nov 2017 22:56:44 +0000 (+0100) Subject: themes: omitting bold italic font was a bad idea. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=5ea581dfe831feecf94292ff2b13c85f3ffa98fb;p=blog.git themes: omitting bold italic font was a bad idea. Some other not really matching (slightly bolder) font was chosen instead, making things ugly. --- diff --git a/doc/css/themes.rst b/doc/css/themes.rst index d1b830ef..5496f5d2 100644 --- a/doc/css/themes.rst +++ b/doc/css/themes.rst @@ -65,7 +65,7 @@ is below: .. code:: html - + This theme is used on this site and also on http://magnum.graphics. @@ -82,7 +82,7 @@ Besides that, you need to reference also .. code:: html - + If you want to see this theme live, go to http://blog.mosra.cz. diff --git a/doc/pelican/theme.rst b/doc/pelican/theme.rst index cfbb32b8..a63e936e 100644 --- a/doc/pelican/theme.rst +++ b/doc/pelican/theme.rst @@ -62,7 +62,7 @@ plugin, so that plugin needs to be loaded as well. THEME = 'm.css/pelican-theme' THEME_STATIC_DIR = 'static' - CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600&subset=latin-ext', + CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600,600i%7CSource+Sans+Pro:400,400i,600&subset=latin-ext', '/static/m-dark.css'] DIRECT_TEMPLATES = ['index'] diff --git a/site/pelicanconf.py b/site/pelicanconf.py index c7d0816f..cd2b07d2 100644 --- a/site/pelicanconf.py +++ b/site/pelicanconf.py @@ -121,7 +121,7 @@ PLUGINS = ['m.abbr', THEME = '../pelican-theme' THEME_STATIC_DIR = 'static' THEME_COLOR = '#22272e' -CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600&subset=latin-ext', +CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600,600i&subset=latin-ext', '/static/m-dark.css', #'/static/m-debug.css' ] diff --git a/site/publishconf.py b/site/publishconf.py index e9c99da1..135d36bf 100644 --- a/site/publishconf.py +++ b/site/publishconf.py @@ -32,5 +32,5 @@ SITEURL = 'http://mcss.mosra.cz' OUTPUT_PATH = 'published/' DELETE_OUTPUT_DIRECTORY = True -CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600&subset=latin-ext', +CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600,600i&subset=latin-ext', 'http://mcss.mosra.cz/static/m-dark.compiled.css']