chiark / gitweb /
themes: omitting bold italic font was a bad idea.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 1 Nov 2017 22:56:44 +0000 (23:56 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 1 Nov 2017 23:02:12 +0000 (00:02 +0100)
Some other not really matching (slightly bolder) font was chosen
instead, making things ugly.

doc/css/themes.rst
doc/pelican/theme.rst
site/pelicanconf.py
site/publishconf.py

index d1b830efa0d0a89082818b4a8d15ea6526d25529..5496f5d28326b03c60973d8d1f904b703fcb8af9 100644 (file)
@@ -65,7 +65,7 @@ is below:
 .. code:: html
 
     <link rel="stylesheet" href="m-dark.css" /> <!-- or m-dark.compiled.css -->
-    <link rel="stylesheet" href="https://fonts.googleapis.com/css?Source+Sans+Pro:400,400i,600%7Cfamily=Source+Code+Pro:400,400i,600" />
+    <link rel="stylesheet" href="https://fonts.googleapis.com/css?Source+Sans+Pro:400,400i,600,600i%7Cfamily=Source+Code+Pro:400,400i,600" />
     <meta name="theme-color" content="#22272e" />
 
 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
 
     <link rel="stylesheet" href="m-light.css" /> <!-- or m-light.compiled.css -->
-    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700%7CSource+Code+Pro:400,400i,600" />
+    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700,700i%7CSource+Code+Pro:400,400i,600" />
     <meta name="theme-color" content="#cb4b16" />
 
 If you want to see this theme live, go to http://blog.mosra.cz.
index cfbb32b8c06f168f0903e2bc69e2a317ce874609..a63e936e6104098c649c471b9bb5d04e1bbb06c3 100644 (file)
@@ -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&amp;subset=latin-ext',
+    CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600,600i%7CSource+Sans+Pro:400,400i,600&amp;subset=latin-ext',
                  '/static/m-dark.css']
     DIRECT_TEMPLATES = ['index']
 
index c7d0816f83a514f751ed66947016e43eed74f371..cd2b07d29fc7da371f9b99b61e34013bf3a15895 100644 (file)
@@ -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&amp;subset=latin-ext',
+CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600,600i&amp;subset=latin-ext',
              '/static/m-dark.css',
              #'/static/m-debug.css'
              ]
index e9c99da1abc3d8e397582024d6932bf1d5e07166..135d36bf090e0df96733cd54d8b8471a940385bb 100644 (file)
@@ -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&amp;subset=latin-ext',
+CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600,600i&amp;subset=latin-ext',
              'http://mcss.mosra.cz/static/m-dark.compiled.css']