diff --git a/Makefile b/Makefile index 0749348..7c4a696 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ newpost: $(DOCKER_COMPOSE_CMD) $(PY) $(BASEDIR)/newpost.py writingenv: - docker-compose run --rm --service-ports blog /opt/xonsh/bin/xonsh + docker-compose run --rm --service-ports blog /bin/sh push: git push origin master diff --git a/themes/nemo/static/css/nemo.css b/themes/nemo/static/css/nemo.css index 47cc8a7..3714369 100644 --- a/themes/nemo/static/css/nemo.css +++ b/themes/nemo/static/css/nemo.css @@ -1,7 +1,19 @@ +@font-face { + font-family: 'Fantasque Sans Mono'; + src: url('/theme/fonts/FantasqueSansMono-Regular.eot'); /* IE 9 Compatibility Mode */ + src: url('/theme/fonts/FantasqueSansMono-Regular.eot?#iefix') format('embedded-opentype'), /* IE < 9 */ + url('/theme/fonts/FantasqueSansMono-Regular.woff2') format('woff2'), + url('/theme/fonts/FantasqueSansMono-Regular.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */ + url('/theme/fonts/FantasqueSansMono-Regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/theme/fonts/FantasqueSansMono-Regular.svg#FantasqueSansMono-Regular') format('svg'); /* Chrome < 4, Legacy iOS */ + font-weight: 400; + font-style: normal; +} + body { background: #ffffff; height: 100%; - font-family: IBM Plex Mono, monospace; + font-family: Fantasque Sans Mono, monospace; font-style: normal; } @@ -16,7 +28,6 @@ a:hover { h1 { color: #000000; margin-top: 75px; - font-style: italic; } h1 a { @@ -25,7 +36,6 @@ h1 a { h2 { color: #000000; - font-style: italic; } hr { @@ -69,12 +79,12 @@ figcaption { } #tipue_search_input { - font-family: IBM Plex Mono, monospace; + font-family: Fantasque Sans Mono, monospace; padding: 0px; } #tipue_search_results_count, .tipue_search_content_title a, .tipue_search_content_url a, .tipue_search_content_text, #tipue_search_warning { - font-family: IBM Plex Mono, monospace; + font-family: Fantasque Sans Mono, monospace; } .tipue_search_content_title a, .tipue_search_content_url a { @@ -92,7 +102,7 @@ figcaption { .sidebar { - background-image: url(../images/background.jpg); + background-image: url(/theme/images/background.jpg); position: absolute; height: 65px; } @@ -100,7 +110,7 @@ figcaption { @media (min-width: 550px) { .sidebar { - background-image: url(../images/background.jpg); + background-image: url(/theme/images/background.jpg); background-size: cover; position: fixed; height: 100%; diff --git a/themes/nemo/static/fonts/FantasqueSansMono-Regular.eot b/themes/nemo/static/fonts/FantasqueSansMono-Regular.eot new file mode 100644 index 0000000..17353ef Binary files /dev/null and b/themes/nemo/static/fonts/FantasqueSansMono-Regular.eot differ diff --git a/themes/nemo/static/fonts/FantasqueSansMono-Regular.svg b/themes/nemo/static/fonts/FantasqueSansMono-Regular.svg new file mode 100644 index 0000000..8f4fb22 --- /dev/null +++ b/themes/nemo/static/fonts/FantasqueSansMono-Regular.svg @@ -0,0 +1,2646 @@ + + + + + +Created by FontForge 20170921 at Sun Jan 7 17:34:02 2018 + By Jany Belluz +Created by Jany Belluz with FontForge 2.0 (http://fontforge.sf.net) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/nemo/static/fonts/FantasqueSansMono-Regular.woff b/themes/nemo/static/fonts/FantasqueSansMono-Regular.woff new file mode 100644 index 0000000..c88cd83 Binary files /dev/null and b/themes/nemo/static/fonts/FantasqueSansMono-Regular.woff differ diff --git a/themes/nemo/static/fonts/FantasqueSansMono-Regular.woff2 b/themes/nemo/static/fonts/FantasqueSansMono-Regular.woff2 new file mode 100644 index 0000000..eee91df Binary files /dev/null and b/themes/nemo/static/fonts/FantasqueSansMono-Regular.woff2 differ diff --git a/themes/nemo/templates/base.html b/themes/nemo/templates/base.html index 0e2e8e0..bde6788 100644 --- a/themes/nemo/templates/base.html +++ b/themes/nemo/templates/base.html @@ -11,7 +11,6 @@ - {% if CUSTOM_CSS %} {% endif %}