changed font to self hosted fantasque

This commit is contained in:
Marvin Steadfast 2018-11-03 10:55:23 +01:00
parent 8ff99baae9
commit 00878544ce
7 changed files with 2664 additions and 9 deletions

View File

@ -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

View File

@ -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%;

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 318 KiB

View File

@ -11,7 +11,6 @@
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/skeleton.css">
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/nemo.css">
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/pygment.css">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,400i" rel="stylesheet">
{% if CUSTOM_CSS %}
<link href="{{ SITEURL }}/{{ CUSTOM_CSS }}" rel="stylesheet">
{% endif %}