Skip to content

Commit 81465c8

Browse files
committed
fixes xpmethod#51
1 parent 9775f8f commit 81465c8

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed

_layouts/strains.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ <h3><a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></h3>
1111
{% endif %}
1212

1313
<!-- list all projects as a strain in subscript -->
14+
<div id="strains">
1415
{% for post in site.categories[post.title] %}
15-
<sup><code>&raquo; <a href="{{ post.url }}">{{ post.title }}</a></code></sup>
16+
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
1617
{% endfor %}
18+
</div>
1719

1820
<div class='indent'>
1921
{{ post.content | truncatewords:275 }}

public/css/screen.css

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,10 @@ img {
367367
max-height: 15em;
368368
}
369369

370-
/* Events 2 column setup */
370+
371+
/* events -------------------------------------------------- */
372+
/* events -------------------------------------------------- */
373+
/* events -------------------------------------------------- */
371374

372375
.events p {
373376
margin-top: 0em;
@@ -408,3 +411,33 @@ img {
408411
.footnotes p {
409412
margin:0px;
410413
}
414+
415+
416+
/* strains -------------------------------------------------- */
417+
/* strains -------------------------------------------------- */
418+
/* strains -------------------------------------------------- */
419+
420+
#strains {
421+
line-height: 1.3em;
422+
font-family: monospace;
423+
vertical-align: sub;
424+
font-size: .9em;
425+
margin-bottom: 1em;
426+
}
427+
428+
#strains li {
429+
display: inline;
430+
}
431+
432+
#strains li:after {
433+
content: " » ";
434+
}
435+
436+
/* this gets rid of the trailing comma*/
437+
#strains li:last-child:after {
438+
content: "";
439+
440+
}
441+
#strains a {
442+
text-decoration: none;
443+
}

qself

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)