academic 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/_includes/calltoaction.html +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/header.html +1 -13
- data/_includes/icon-github.html +1 -1
- data/_includes/icon-keybase.html +1 -1
- data/_includes/icon-linkedin.html +1 -1
- data/_includes/icon-twitter.html +1 -1
- data/_includes/icon-website.html +1 -1
- data/_includes/nav_menu.html +15 -0
- data/_sass/academic/_base.scss +7 -1
- data/_sass/academic/_layout.scss +43 -19
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7290de46f508674dee112cbba895c336ddb1695
|
4
|
+
data.tar.gz: 7ee87176ffd93d9dbca9a485371e97c9f6bb6ef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 632b67c8a3a1ce0bf0f9c91aff74972fd66c06f07c13dd92c2bd91c7c9395a93906e7c521e25a4eb023a2fe1b5267937f4f14f22943c13e205b6e17248f14ae3
|
7
|
+
data.tar.gz: 84b0785ca7ad8865cf38ea42b5857ce85a593fff1140ea3db38e05d1ce4a3777abde8db65dbab3ff1f30d562f83586e3a458291d8f1169a5b094269fd5f09695
|
data/README.md
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
Academic is a [Jekyll](http://jekyllrb.com/) theme with a focus on simplicity, typography and flexibility.
|
4
4
|
I originally designed it for my personal blog during my PhD thesis.
|
5
5
|
|
6
|
+
Check out my [personal website](https://gaalcaras.com) or my [blog](https://sociologs.com) to get a better feel for the Academic theme.
|
7
|
+
|
6
8
|
![Academic screenshot](screenshot.png)
|
7
9
|
|
8
10
|
**Simplicity**: both in design and configuration, Academic aims to let the writer and its readers focus on the content.
|
data/_includes/calltoaction.html
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
{% endif %}
|
5
5
|
Vous pouvez vous abonner au <a href="/feed.xml">fil RSS</a> du blog
|
6
6
|
{% if site.twitter_username %}
|
7
|
-
|
7
|
+
ou suivre <a href="https://twitter.com/{{ site.twitter_username }}">@{{ site.twitter_username }}</a> sur Twitter
|
8
8
|
{% endif %}.
|
9
9
|
</div>
|
data/_includes/footer.html
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
{% assign oldest = oldest_post.date | date: "%Y" %}
|
61
61
|
{% assign newest = site.time | date: "%Y" %}
|
62
62
|
({% if oldest != newest %}{{ oldest }}-{% endif %}{{ newest }})
|
63
|
-
{% if site.author %}
|
63
|
+
{% if site.author and site.author_display %}
|
64
64
|
par <a target="_blank" href="{{ site.author_website }}">{{ site.author }}</a>
|
65
65
|
{% endif %}
|
66
66
|
{% if site.cc %}
|
data/_includes/header.html
CHANGED
@@ -30,19 +30,7 @@
|
|
30
30
|
</span>
|
31
31
|
|
32
32
|
<div class="trigger">
|
33
|
-
{%
|
34
|
-
{% if link.url and link.name %}
|
35
|
-
<a target="_blank" class="page-link" href="{{ link.url }}">{{ link.name | escape }}</a>
|
36
|
-
{% endif %}
|
37
|
-
{% endfor %}
|
38
|
-
|
39
|
-
{% for my_page in site.pages %}
|
40
|
-
{% unless my_page.invisible %}
|
41
|
-
{% if my_page.title %}
|
42
|
-
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
43
|
-
{% endif %}
|
44
|
-
{% endunless %}
|
45
|
-
{% endfor %}
|
33
|
+
{% include nav_menu.html %}
|
46
34
|
</div>
|
47
35
|
</nav>
|
48
36
|
{% endif %}
|
data/_includes/icon-github.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
|
data/_includes/icon-keybase.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a href="https://keybase.io/{{ include.username }}"><span class="icon icon--keybase">{% include icon-keybase.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://keybase.io/{{ include.username }}"><span class="icon icon--keybase">{% include icon-keybase.svg %}</span><span class="username">{{ include.username }}</span></a>
|
@@ -1 +1 @@
|
|
1
|
-
<a href="https://www.linkedin.com/in/{{ include.username }}"><span class="icon icon--linkedin">{% include icon-linkedin.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://www.linkedin.com/in/{{ include.username }}"><span class="icon icon--linkedin">{% include icon-linkedin.svg %}</span><span class="username">{{ include.username }}</span></a>
|
data/_includes/icon-twitter.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
|
data/_includes/icon-website.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a href="{{ include.url }}"><span class="icon icon--website">{% include icon-website.svg %}</span><span class="username">{{ include.url | replace:'https://','' }}</span></a>
|
1
|
+
<a target="_blank" href="{{ include.url }}"><span class="icon icon--website">{% include icon-website.svg %}</span><span class="username">{{ include.url | replace:'https://','' }}</span></a>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<ul class="nav-list">
|
2
|
+
{% for link in site.nav_ext_links %}
|
3
|
+
{% if link.url and link.name %}
|
4
|
+
<li><a target="_blank" class="page-link" href="{{ link.url }}">{{ link.name | escape }}</a></li>
|
5
|
+
{% endif %}
|
6
|
+
{% endfor %}
|
7
|
+
|
8
|
+
{% for my_page in site.pages %}
|
9
|
+
{% unless my_page.invisible %}
|
10
|
+
{% if my_page.title %}
|
11
|
+
<li><a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
|
12
|
+
{% endif %}
|
13
|
+
{% endunless %}
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
data/_sass/academic/_base.scss
CHANGED
data/_sass/academic/_layout.scss
CHANGED
@@ -73,19 +73,31 @@
|
|
73
73
|
display: none;
|
74
74
|
}
|
75
75
|
|
76
|
-
.
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
76
|
+
.nav-list {
|
77
|
+
list-style: none;
|
78
|
+
margin: 0;
|
79
|
+
|
80
|
+
li {
|
81
|
+
display: inline-block;
|
82
|
+
height: 55px;
|
83
|
+
|
84
|
+
.page-link {
|
85
|
+
color: $text-color;
|
86
|
+
|
87
|
+
&:hover {
|
88
|
+
text-decoration: none;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
// Gaps between nav items, but not on the last one
|
93
|
+
&:not(:last-child) {
|
94
|
+
margin-right: 15px;
|
95
|
+
}
|
96
|
+
|
97
|
+
&:hover {
|
98
|
+
border-bottom: 5px $grey-color solid;
|
99
|
+
}
|
85
100
|
|
86
|
-
&:hover {
|
87
|
-
text-decoration: none;
|
88
|
-
border-bottom: 5px $grey-color solid;
|
89
101
|
}
|
90
102
|
}
|
91
103
|
|
@@ -385,7 +397,6 @@
|
|
385
397
|
}
|
386
398
|
|
387
399
|
.contact-list {
|
388
|
-
@include size(vsmall);
|
389
400
|
list-style: none;
|
390
401
|
margin-left: 0;
|
391
402
|
margin-top: $spacing-unit / 2;
|
@@ -401,6 +412,7 @@
|
|
401
412
|
}
|
402
413
|
|
403
414
|
.about-col-1 {
|
415
|
+
@include size(vsmall);
|
404
416
|
padding-right: $spacing-unit / 2;
|
405
417
|
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
406
418
|
width: calc(35% - (#{$spacing-unit} / 2));
|
@@ -419,19 +431,31 @@
|
|
419
431
|
}
|
420
432
|
|
421
433
|
@include media-query($on-laptop) {
|
422
|
-
.about-col
|
423
|
-
|
424
|
-
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
425
|
-
width: calc(50% - (#{$spacing-unit} / 2));
|
434
|
+
.about-col {
|
435
|
+
@include size(p);
|
426
436
|
}
|
427
437
|
}
|
428
438
|
|
429
439
|
@include media-query($on-palm) {
|
430
440
|
.about-col {
|
441
|
+
@include size(p);
|
431
442
|
padding: 0;
|
432
443
|
float: none;
|
433
|
-
width:
|
434
|
-
|
444
|
+
width: auto;
|
445
|
+
}
|
446
|
+
|
447
|
+
.about-col-1 {
|
448
|
+
padding: 5%;
|
449
|
+
max-width: 200px;
|
450
|
+
margin: auto;
|
451
|
+
}
|
452
|
+
|
453
|
+
.contact-list {
|
454
|
+
margin: 0;
|
455
|
+
}
|
456
|
+
|
457
|
+
.user-picture {
|
458
|
+
max-width: 200px;
|
435
459
|
}
|
436
460
|
}
|
437
461
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: academic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gaalcaras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -80,6 +80,7 @@ files:
|
|
80
80
|
- _includes/icon-twitter.svg
|
81
81
|
- _includes/icon-website.html
|
82
82
|
- _includes/icon-website.svg
|
83
|
+
- _includes/nav_menu.html
|
83
84
|
- _includes/post-li.html
|
84
85
|
- _layouts/about.html
|
85
86
|
- _layouts/archive.html
|