Skip to content
Permalink
Browse files

Import Source Sans Pro on pages that might need it

  • Loading branch information...
georgewatson committed Apr 12, 2019
1 parent 948df1f commit d88ce77d2bb562db64d5d1f07071c0c573af8e61
Showing with 12 additions and 3 deletions.
  1. +2 −0 403.md
  2. +2 −0 404.md
  3. +4 −0 _includes/head.html
  4. +2 −3 assets/default.css
  5. +2 −0 cv.md
2 403.md
@@ -27,3 +27,5 @@ category pages:

Otherwise, I recommend heading back to the [home page](/) and starting your
search from there.

*[URL]: Uniform Resource Locator
2 404.md
@@ -24,3 +24,5 @@ category pages:

Otherwise, I recommend heading back to the [home page](/) and starting your
search from there.

*[URL]: Uniform Resource Locator
@@ -36,6 +36,10 @@

<link rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/tonsky/FiraCode@1.206/distr/fira_code.css">
{% if page.layout == 'post' %}
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro"
rel="stylesheet">
{% endif %}

<link rel="stylesheet" type="text/css"
href="{{ "/assets/base.css" | relative_url }}"/>
@@ -132,9 +132,8 @@ a[href*="blog/meta"]:hover,
max-width: 80ch;
}

.post-content:not(.post-aside):not(.post-image) > p:not(:first-of-type) {
font-family: "Source Sans Pro",
sans-serif !important;
.post-content:not(.post-image) > p:not(:first-of-type) {
font-family: "Source Sans Pro", sans-serif !important;
}

.post-culture hr,
2 cv.md
@@ -143,3 +143,5 @@ order: 20
* Redesigned and maintain the
[Physics of Life Group website](https://www.york.ac.uk/physics/research/physics-of-life)
and [@PhysLifeYork](https://twitter.com/PhysLifeYork) Twitter account

*[BPSI]: Biological Physical Sciences Institute

0 comments on commit d88ce77

Please sign in to comment.
You can’t perform that action at this time.