diff --git a/_includes/header.html b/_includes/header.html index e686e34e..7651472b 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,12 +1,12 @@
- Columbia's Group for Experimental Methods in the Humanities + Columbia's Group for Experimental Methods in the Humanities {% assign sorted_pages = site.pages | sort:"name" %} {% for node in sorted_pages %} {% if node.title != null %} {% unless node.url contains 'archive' %} - {{ page.title }}

Updates

{% for update in page.updates %} -
- {{ update.date | date: "%m/%y" }} +
+ {{ update.date | date: "%m/%y" }} {{ update.text | markdownify | remove: '

' | remove: '

' }}
{% endfor %} diff --git a/_layouts/events.html b/_layouts/events.html index ce18151b..2df85f93 100644 --- a/_layouts/events.html +++ b/_layouts/events.html @@ -10,7 +10,7 @@
{% for post in site.categories['events'] %} {% if post.title != null %} - {{ post.date | date_to_string }} {{ post.title }} + {{ post.date | date_to_string }} {{ post.title }} {% if post.type %} {{ post.type }} {% endif %} diff --git a/_layouts/impact.html b/_layouts/impact.html index 94b5aecc..1f1e4b65 100644 --- a/_layouts/impact.html +++ b/_layouts/impact.html @@ -17,9 +17,9 @@ {% for o in order %} {% include date-split.html %} {% if update.type contains 'publication' or update.type contains 'paper' %} -
-
{{ update.date | date: "%m/%y" }} - +
+ {{ update.text | markdownify | remove: '

' | remove: '

' }} @@ -43,10 +43,10 @@ {% for o in order %} {% include date-split.html %} {% if update.type contains 'grant' or update.type contains 'award' %} -
-
+
+
{{ update.date | date: "%m/%y" }} - + {{ post.title | downcase }}
@@ -71,10 +71,10 @@ {% for o in order %} {% include date-split.html %} {% if update.type contains 'talk' or update.type contains 'press' %} -
-
+
+
{{ update.date | date: "%m/%y" }} - + {{ post.title | downcase }}
@@ -98,10 +98,10 @@
{% for job in site.data.jobs %} -
-
+
+ diff --git a/_layouts/people.html b/_layouts/people.html index c7c5b0d6..26f7db20 100644 --- a/_layouts/people.html +++ b/_layouts/people.html @@ -6,7 +6,7 @@ diff --git a/_layouts/project.html b/_layouts/project.html index 9363a051..4776bcfd 100644 --- a/_layouts/project.html +++ b/_layouts/project.html @@ -37,7 +37,7 @@

{{ page.title }}
- + {% if page.caption %}
{{ page.caption }}
@@ -59,11 +59,11 @@

{{ page.title }} {% if page.updates%} -
+

Updates

{% for update in page.updates %}
- {{ update.date | date: "%m/%y" }} + {{ update.date | date: "%m/%y" }} {{ update.text | markdownify | remove: '

' | remove: '

' }}
{% endfor %} diff --git a/_layouts/projects.html b/_layouts/projects.html index dca8b90f..ac4d66fb 100644 --- a/_layouts/projects.html +++ b/_layouts/projects.html @@ -10,14 +10,16 @@ {% if post.title != null %}

- {{ post.title }} + {{ post.title }} +

{% endif %} -
- {% for post in site.categories[post.title] %} -
  • {{ post.title }}
  • +
    + {% assign projects = site.categories[post.title] | sample: 5 %} + {% for post in projects %} +
  • {{ post.title }}
  • {% endfor %}
    diff --git a/_layouts/strain.html b/_layouts/strain.html index 3e275634..50abb755 100644 --- a/_layouts/strain.html +++ b/_layouts/strain.html @@ -43,7 +43,9 @@

    » {{ post.title }}
    {% if post.image %} - + + + {% endif %} diff --git a/public/css/global.css b/public/css/global.css index 994cd432..b77776e2 100644 --- a/public/css/global.css +++ b/public/css/global.css @@ -2,6 +2,7 @@ @import url("https://fonts.googleapis.com/css?family=Source+Code+Pro"); @import url("https://fonts.googleapis.com/css?family=Inconsolata"); @import url("https://fonts.googleapis.com/css?family=Cardo"); + body { font-family: "Cardo", serif; max-width: 40em; @@ -9,7 +10,6 @@ body { margin: 1em auto; line-height: 1.3; } - p, a, div, li { font-size: 18px; line-height: 1.3; @@ -20,9 +20,9 @@ a, a:visited { color: DarkSlateGray; text-decoration: none; } - a:hover, a:visited:hover { - color: #1c2f2f; - } +a:hover, a:visited:hover { + color: #1c2f2f; +} ol { padding: 0; @@ -58,70 +58,55 @@ strong { font-weight: bold; } + +.iconsolata { + font-family: "Inconsolata", monospace; +} +.f4 { + font-size: 1.4rem; +} +.f3 { + font-size: 1.2rem; +} + + /* Specific Elements */ header { margin-bottom: 1em; } - header a, header a:visited { - font-size: 1.4rem; - font-family: "Inconsolata", monospace; - } - header a#site-title, header a:visited#site-title { - text-transform: none; - color: black; - font-size: 1.4rem; - } - header > a { - font-family: "Inconsolata", monospace; - text-transform: lowercase; - font-size: 1.2rem; - } - header > a.active { - color: #F00; - } +header a#site-title, +header a:visited#site-title { + color: black; +} +header > a.active { + color: #F00; +} .nav.active { color: red; } -#strain img, #feature img { - float: right; - margin: 0 0 1.5em 1.5em; +#feature img, +#strain img { max-width: 40%; - border: 2px solid #ddd; -} - -#strains { - margin: 0; - padding: 0; -} - #strains li { - display: inline; - } - #strains li:after { - content: ' \00BB '; - } - #strains li:last-child:after { - content: ""; - } - #strains li a { - font-family: "Inconsolata", monospace; - color: black; - } - -div.update-list { - margin-bottom: 0.5em; -} - div.update-list .update-link { - color: gray; - } - div.update-list .update-date { - font-family: "Inconsolata", monospace; - color: lightgray; - } - -.event .date { - font-family: "Inconsolata", monospace; +} + +#strains li:after { + content: ' \00BB '; +} +#strains li:last-child:after { + content: ""; +} +#strains li a { + color: black; +} + + +div.update-list .update-link { + color: gray; +} +div.update-list .update-date { + color: lightgray; } #time { @@ -145,30 +130,24 @@ div.update-list { padding: 1em 2em; } -div.update-list { - margin-bottom: 0.5em; + +div.update-list .update-link { + color: gray; +} +div.update-list .update-date { + font-family: "Inconsolata", monospace; + margin-left: -3em; + color: lightgray; } - div.update-list .update-link { - color: gray; - } - div.update-list .update-date { - font-family: "Inconsolata", monospace; - margin-left: -3em; - color: lightgray; - } .people-list li { display: inline; } - .people-list li:after { - content: ", "; - } - .people-list li:last-child:after { - content: ""; - } - -.event .date { - font-family: "Inconsolata", monospace; +.people-list li:after { + content: ", "; +} +.people-list li:last-child:after { + content: ""; } #post .github-badges { @@ -180,11 +159,11 @@ div.update-list { position: relative; overflow: hidden; } - #gallery-box img { - max-width: 30%; - margin: .5em; - float: left; - } +#gallery-box img { + max-width: 30%; + margin: .5em; + float: left; +} footer { margin-top: 1em;