Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<header>
<a id="site-title" href="/">Columbia's Group for Experimental Methods in the Humanities</a>
<a id="site-title" class="ttn f4 iconsolata " href="/">Columbia's Group for Experimental Methods in the Humanities</a>

{% assign sorted_pages = site.pages | sort:"name" %}
{% for node in sorted_pages %}
{% if node.title != null %}
{% unless node.url contains 'archive' %}
<!-- this matches strings in the url to node title to highlight the active page -->
<a class="hover-red ttl pr2 nav
<a class="hover-red f3 ttl pr2 nav iconsolata
{% if page.url contains node.title %} active
{% elsif page.path contains 'projects' and node.title == 'projects' %} active
{% elsif page.url == '/' and node.title == 'projects' %} active
Expand Down
4 changes: 2 additions & 2 deletions _layouts/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ <h1 id="event-title">{{ page.title }}
<div class="update-div">
<h3>Updates</h3>
{% for update in page.updates %}
<div class="update-list">
<span class="update-date">{{ update.date | date: "%m/%y" }}</span>
<div class="update-list mb2">
<span class="update-date inconsolata">{{ update.date | date: "%m/%y" }}</span>
{{ update.text | markdownify | remove: '<p>' | remove: '</p>' }}
</div>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<section class="event">
{% for post in site.categories['events'] %}
{% if post.title != null %}
<span class="date">{{ post.date | date_to_string }} <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></span>
<span class="date inconsolata">{{ post.date | date_to_string }} <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></span>
{% if post.type %}
<span class="tag">{{ post.type }}</span>
{% endif %}
Expand Down
24 changes: 12 additions & 12 deletions _layouts/impact.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
{% for o in order %}
{% include date-split.html %}
{% if update.type contains 'publication' or update.type contains 'paper' %}
<div class="update-list">
<div class="update-date">{{ update.date | date: "%m/%y" }}
<a class="update-link" href="{{ post.url }}">
<div class="update-list mb2">
<div class="update-date inconsolata">{{ update.date | date: "%m/%y" }}
<a class="update-link gray" href="{{ post.url }}">
{{ post.title | downcase }}</a>
</div>
{{ update.text | markdownify | remove: '<p>' | remove: '</p>' }}
Expand All @@ -43,10 +43,10 @@
{% for o in order %}
{% include date-split.html %}
{% if update.type contains 'grant' or update.type contains 'award' %}
<div class="update-list">
<div class="update-date">
<div class="update-list mb2">
<div class="update-date inconsolata">
{{ update.date | date: "%m/%y" }}
<a class="update-link" href="{{ post.url }}">
<a class="update-link gray" href="{{ post.url }}">
{{ post.title | downcase }}
</a>
</div>
Expand All @@ -71,10 +71,10 @@
{% for o in order %}
{% include date-split.html %}
{% if update.type contains 'talk' or update.type contains 'press' %}
<div class="update-list">
<div class="update-date">
<div class="update-list mb2">
<div class="update-date inconsolata">
{{ update.date | date: "%m/%y" }}
<a class="update-link" href="{{ post.url }}">
<a class="update-link gray" href="{{ post.url }}">
{{ post.title | downcase }}
</a>
</div>
Expand All @@ -98,10 +98,10 @@

<div class="update-div">
{% for job in site.data.jobs %}
<div class="update-list">
<div class="update-date">
<div class="update-list mb2">
<div class="update-date inconsolata">
{{ job.date }}
<a class="update-link" href="{{ post.url }}">
<a class="update-link gray" href="{{ post.url }}">
Experimental Methods Group
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/people.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div id="feature">
<a href="/public/images/lab.jpg">
<img alt="" src="/public/images/lab.jpg" class="mw-100">
<img alt="" src="/public/images/lab.jpg" class="mw-100 fr mb4 ml4 b--solid-ns bw1 b--black-20">
</a>
</div>

Expand Down
6 changes: 3 additions & 3 deletions _layouts/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h2>{{ page.title }}
<div id="feature">
<figure>
<a href="/public/images/{{ page.image }}">
<img alt="" src="/public/images/{{ page.image }}">
<img alt="" src="/public/images/{{ page.image }}" class="mw-100 fr mb4 ml4 b--solid-ns bw1 b--black-30">
</a>
{% if page.caption %}
<figcaption>{{ page.caption }}</figcaption>
Expand All @@ -59,11 +59,11 @@ <h2>{{ page.title }}

<!-- include updates if we have them -->
{% if page.updates%}
<div class="update-div">
<div class="update-div mb2">
<h3>Updates</h3>
{% for update in page.updates %}
<div class="update-list">
<span class="update-date">{{ update.date | date: "%m/%y" }}</span>
<span class="update-date inconsolata">{{ update.date | date: "%m/%y" }}</span>
{{ update.text | markdownify | remove: '<p>' | remove: '</p>' }}
</div>
{% endfor %}
Expand Down
10 changes: 6 additions & 4 deletions _layouts/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@

{% if post.title != null %}
<h3 class="cats">
<a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }} </a>
<a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a>
<div class="dib ml3"><a href="{{ BASE_PATH }}{{ post.url }}">view all &#187;</a></div>
</h3>
{% endif %}

<!-- list all projects as a strain in subscript -->
<div id="strains">
{% for post in site.categories[post.title] %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
<div id="strains" class="ma0 pa0">
{% assign projects = site.categories[post.title] | sample: 5 %}
{% for post in projects %}
<li class="di"><a href="{{ post.url }}" class="iconsolata">{{ post.title }}</a></li>
{% endfor %}
</div>

Expand Down
4 changes: 3 additions & 1 deletion _layouts/strain.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ <h3 id="strain">&raquo; <a href="{{ post.url }}">{{ post.title }}</a>
<div class="strain-text">
<!-- move this out into css -->
{% if post.image %}
<a href="{{ post.url }}"><img alt="" src="/public/images/{{ post.image }}"></a>
<a href="{{ post.url }}">
<img alt="" src="/public/images/{{ post.image }}" class="mw-100 fr mb4 ml4 b--solid-ns bw1 b--black-20">
</a>
{% endif %}

<!-- if we have sparks, show that -->
Expand Down
143 changes: 61 additions & 82 deletions public/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
@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;
font-size: 18px;
margin: 1em auto;
line-height: 1.3;
}

p, a, div, li {
font-size: 18px;
line-height: 1.3;
Expand All @@ -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;
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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;
Expand Down