Skip to content

Commit 20e8a83

Browse files
committed
Refresh and update styles
1 parent 36e32cc commit 20e8a83

17 files changed

+108
-79
lines changed

_config.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ name: Your Name
66
email: you@example.com
77
description: > # this means to ignore newlines until "url:"
88
A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design.
9+
last_updated:
910

1011
url: # the base hostname & protocol for your site
1112
baseurl: /al-folio # the subpath of your site, e.g. /blog/
@@ -42,6 +43,9 @@ collections:
4243
output: true
4344
permalink: /poetry/:path/
4445

46+
# Collection settings
47+
news_limit: 5
48+
4549
# -----------------------------------------------------------------------------
4650
# Jekyll settings
4751
# -----------------------------------------------------------------------------
@@ -91,6 +95,5 @@ scholar:
9195
# -----------------------------------------------------------------------------
9296
# Other advanced settings (don't touch if you are not sure)
9397
# -----------------------------------------------------------------------------
94-
fontawesome_version: "4.6.3"
9598
jquery_version: "1.12.4"
96-
katex_version: "0.6.0"
99+
katex_version: "0.7.0"

_includes/footer.html

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
<footer class="site-footer">
22

33
<div class="wrapper">
4-
<p class="small">
5-
© Copyright {{ site.time | date: '%Y' }} {{ site.name }}.
6-
{{ site.footer_text }}</p>
4+
<p class="small">
5+
© Copyright {{ site.time | date: '%Y' }} {{ site.name }}.
6+
{{ site.footer_text }}
7+
{% if site.last_updated %}
8+
Last updated: {{ site.last_updated }}.
9+
{% endif %}
10+
</p>
711
</div>
812

913
</footer>

_includes/head.html

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<title>{{ site.name }}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}</title>
77
<meta name="description" content="{{ site.description }}">
88

9+
<link rel="shortcut icon" href="{{ '/assets/img/favicon.ico' | prepend: site.baseurl | prepend: site.url }}">
10+
911
<link rel="stylesheet" href="{{ '/assets/css/main.css' | prepend: site.baseurl | prepend: site.url }}">
1012
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
1113
</head>

_includes/header.html

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
<div class="wrapper">
44

5+
{% if page.layout != "about" %}
6+
<span class="site-title">
7+
{% assign name = site.name | split: ' ' %}
8+
<strong>{{ name | first }}</strong> {{ name | last }}
9+
</span>
10+
{% endif %}
11+
512
<nav class="site-nav">
613

714
<div class="trigger">
@@ -18,6 +25,9 @@
1825
{% endif %}
1926
{% endfor %}
2027

28+
<!-- CV link -->
29+
<a class="page-link" href="{{ '/assets/pdf/CV.pdf' | prepend: site.baseurl | prepend: site.url }}">vitae</a>
30+
2131
</div>
2232
</nav>
2333

_includes/hemline.html

+11
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,14 @@
1212
<!-- Include custom icon fonts -->
1313
<link rel="stylesheet" href="{{ '/assets/css/font-awesome.min.css' | prepend: site.baseurl | prepend: site.url }}">
1414
<link rel="stylesheet" href="{{ '/assets/css/academicons.min.css' | prepend: site.baseurl | prepend: site.url }}">
15+
16+
<!-- Google Analytics -->
17+
<script>
18+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
19+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
20+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
21+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
22+
23+
ga('create', 'UA-XXXXXXXX-X', 'auto');
24+
ga('send', 'pageview');
25+
</script>

_includes/news.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<h2>news</h2>
33
{% if site.news %}
44
<table>
5-
{% for item in site.news reversed %}
5+
{% assign news = site.news | reverse %}
6+
{% for item in news limit: site.news_limit %}
67
<tr>
78
<td class="date">{{ item.date | date: "%b %-d, %Y" }}</td>
89
<td class="announcement">

_layouts/bib.html

+9-15
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
---
33

44
{% if entry.abbr %}
5-
<abbr>[{{entry.abbr}}]</abbr>
5+
{% if site.data.venues[entry.abbr] %}
6+
<abbr>[<a href="{{site.data.venues[entry.abbr].url}}" target="_blank">{{entry.abbr}}</a>]</abbr>
7+
{% else %}
8+
<abbr>[{{entry.abbr}}]</abbr>
9+
{% endif %}
610
{% endif %}
711

812
<div id="{{entry.key}}">
@@ -23,7 +27,7 @@
2327
{% endif %}
2428
{% endif %}
2529
{% else %}
26-
{% if entry.author_array.length > 1 %} and {% endif %}
30+
and
2731
{% if author.last == site.scholar.last_name %}
2832
<em>{{author.last}}, {{author.first}}</em>
2933
{% else %}
@@ -37,7 +41,6 @@
3741
{% endfor %}
3842
</span>
3943

40-
{% if entry.type != "book" %}
4144
<span class="periodical">
4245
{% if entry.type == "article" %}
4346
<em>{{entry.journal}}</em>
@@ -48,24 +51,15 @@
4851
{{entry.year}}
4952
{% endif %}
5053
</span>
51-
{% endif %}
52-
53-
{% if entry.type == "book" %}
54-
<span class="publisher">
55-
{% if entry.publisher %}
56-
<em>{{entry.publisher}}</em>
57-
{% endif %}
58-
{% if entry.year %}
59-
{{entry.year}}
60-
{% endif %}
61-
</span>
62-
{% endif %}
6354
{% endif %}
6455

6556
<span class="links">
6657
{% if entry.abstract %}
6758
[<a class="abstract">Abs</a>]
6859
{% endif %}
60+
{% if entry.arxiv %}
61+
[<a href="http://arxiv.org/abs/{{ entry.arxiv }}" target="_blank">arXiv</a>]
62+
{% endif %}
6963
{% if entry.html %}
7064
[<a href="{{ entry.html }}" target="_blank">HTML</a>]
7165
{% endif %}

_pages/about.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: about
33
permalink: /
4-
title: your name
4+
title: <strong>Your</strong> Name
55
description: <a href="">Affiliations</a>. Address. Contacts. Moto. Etc.
66

77
profile:

_sass/_base.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ ul, ol, dl, figure,
7474
hr {
7575
/* Inset, by Dan Eden */
7676
border: 0;
77+
height: 0;
7778
border-top: 1px solid rgba(0, 0, 0, 0.1);
7879
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
79-
height: 0;
80-
margin: 20px 0;
8180
}
8281

8382

_sass/_layout.scss

+60-55
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.site-header {
66
border-bottom: 1px solid $grey-color-light;
77
background-color: #fff;
8-
opacity: 0.75;
8+
opacity: 0.95;
99
position:fixed;
1010
left:0px;
1111
top:0px;
@@ -19,10 +19,6 @@
1919
line-height: $nav-height;
2020
letter-spacing: -1px;
2121
margin-bottom: 0;
22-
&:hover {
23-
text-decoration: none;
24-
color: $theme-color;
25-
}
2622
}
2723
.site-nav {
2824
float: right;
@@ -100,11 +96,14 @@
10096
border-collapse: collapse;
10197
width: 100%;
10298

103-
.date { width: 20%; }
104-
.announcement { width: 80%; }
99+
.date { width: 19%; }
100+
.announcement { width: 81%; }
105101

106102
tr { text-align: left; }
107-
td { padding: 5px 0;}
103+
td {
104+
padding: 5px 0;
105+
vertical-align: top;
106+
}
108107
}
109108
}
110109

@@ -230,20 +229,23 @@
230229
.publications {
231230
h2 {
232231
color: $theme-color;
232+
// border-bottom: 1px solid $theme-color;
233+
// border-top: 1px solid $theme-color;
233234
font-size: 32px;
234-
margin: 40px 0;
235+
margin-bottom: 30px;
236+
// padding: 20px 0;
235237
text-align: center;
236238
}
237239
}
238240
.year {
239-
border-bottom: 1px solid $grey-color-light;
241+
border-top: 1px solid $grey-color-light;
240242
color: $grey-color-light;
241-
margin: 0 -2.5em 40px -2em;
242-
padding-bottom: 5px;
243+
margin: 0 -3em -2.5ex -2em;
244+
padding-top: 1ex;
243245
text-align: right;
244246
}
245247
.bibliography {
246-
margin-bottom: 20px;
248+
margin-bottom: 50px;
247249
margin-top: 20px;
248250
list-style-type: circle;
249251

@@ -261,7 +263,10 @@
261263
text-decoration: none;
262264
}
263265
}
264-
> em { border-bottom: 1px solid; }
266+
> em {
267+
border-bottom: 1px solid;
268+
font-style: normal;
269+
}
265270
}
266271
a.abstract, a.bibtex { cursor: pointer; }
267272
.hidden {
@@ -313,47 +318,47 @@
313318
/*****************************************************************************
314319
* Projects
315320
*****************************************************************************/
316-
.project {
317-
box-sizing: border-box;
318-
float: left;
319-
height: 250px;
320-
padding: 10px;
321-
vertical-align: middle;
322-
width: 33.33%;
323-
}
324-
.thumbnail {
325-
overflow: hidden;
326-
height: 230px;
327-
width: 100%;
328-
}
329-
.thumbnail img{
330-
height: auto;
331-
position: relative;
332-
left: -25%;
333-
top: -5%;
334-
width: 500px;
335-
}
336-
.thumbnail a{
337-
float: left;
338-
height: 230px;
339-
position: relative;
340-
width: 100%;
341-
}
342-
.thumbnail a span {
343-
display: none;
344-
position: absolute;
345-
top: 0;
346-
left: 0;
347-
bottom: 0;
348-
right: 0;
349-
background: rgba(0,0,0,0.4);
350-
color: $grey-color-light;
351-
padding: 40px;
352-
text-align: center;
353-
}
354-
.thumbnail a:hover span {
355-
display: block;
356-
}
321+
.project {
322+
box-sizing: border-box;
323+
float: left;
324+
height: 250px;
325+
padding: 10px;
326+
vertical-align: middle;
327+
width: 33.33%;
328+
}
329+
.thumbnail {
330+
overflow: hidden;
331+
height: 230px;
332+
width: 100%;
333+
}
334+
.thumbnail img{
335+
height: auto;
336+
position: relative;
337+
left: -25%;
338+
top: -5%;
339+
width: 500px;
340+
}
341+
.thumbnail a{
342+
float: left;
343+
height: 230px;
344+
position: relative;
345+
width: 100%;
346+
}
347+
.thumbnail a span {
348+
display: none;
349+
position: absolute;
350+
top: 0;
351+
left: 0;
352+
bottom: 0;
353+
right: 0;
354+
background: rgba(0,0,0,0.4);
355+
color: $grey-color-light;
356+
padding: 40px;
357+
text-align: center;
358+
}
359+
.thumbnail a:hover span {
360+
display: block;
361+
}
357362

358363
/** Poem formatting ********************************************/
359364
.poem-title {

assets/css/academicons.min.css

100755100644
File mode changed.

assets/css/font-awesome.min.css

100755100644
File mode changed.

assets/css/main.scss

100755100644
File mode changed.

assets/fonts/academicons.eot

100755100644
File mode changed.

assets/fonts/academicons.svg

100755100644
File mode changed.

assets/fonts/academicons.ttf

100755100644
File mode changed.

assets/fonts/academicons.woff

100755100644
File mode changed.

0 commit comments

Comments
 (0)