academic 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80b96b2e3567b4b493b88a0e1de5a2ddf02dabff
4
- data.tar.gz: 87f80a002d842cc98e06bb24c9d20c9b8f636d83
3
+ metadata.gz: b7290de46f508674dee112cbba895c336ddb1695
4
+ data.tar.gz: 7ee87176ffd93d9dbca9a485371e97c9f6bb6ef7
5
5
  SHA512:
6
- metadata.gz: 77facb063a4d97f2024d8d226e40f5f554b2c36b54dbe975eb83ad113b97522f6fa5fbb6687c2c048fab1546ea8a686f7b8940d125cd6f0bb268732532ca8167
7
- data.tar.gz: 8214f660b220c8c1c226c87a4bb23b0d0aa03c3164c12a2a12121d0db694fc65ab5e1f0c2b679ed7eb1e88013f7ffc29ba885ae05456e7564d8473eaa58aa22a
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.
@@ -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
-  ou suivre <a href="https://twitter.com/{{ site.twitter_username }}">@{{ site.twitter_username }}</a> sur Twitter
7
+ ou suivre <a href="https://twitter.com/{{ site.twitter_username }}">@{{ site.twitter_username }}</a> sur Twitter
8
8
  {% endif %}.
9
9
  </div>
@@ -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 %}
@@ -30,19 +30,7 @@
30
30
  </span>
31
31
 
32
32
  <div class="trigger">
33
- {% for link in site.nav_ext_links %}
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 %}
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -233,8 +233,14 @@ table {
233
233
  }
234
234
  }
235
235
 
236
+ h1 + table, h2 + table,
237
+ h3 + table, h4 + table,
238
+ h5 + table, h6 + table {
239
+ margin-top: $spacing-unit / 2;
240
+ }
241
+
236
242
  /**
237
- * Table
243
+ * Hr
238
244
  */
239
245
 
240
246
  hr {
@@ -73,19 +73,31 @@
73
73
  display: none;
74
74
  }
75
75
 
76
- .page-link {
77
- display: inline-block;
78
- color: $text-color;
79
- height: 55px;
80
-
81
- // Gaps between nav items, but not on the last one
82
- &:not(:last-child) {
83
- margin-right: 20px;
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-1,
423
- .about-col-2 {
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: -webkit-calc(100% - (#{$spacing-unit} / 2));
434
- width: calc(100% - (#{$spacing-unit} / 2));
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.3
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-23 00:00:00.000000000 Z
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