arco 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99f7f5507af4c5dfc8556e03a348ef13e6ade77c4a2bd3d1809511b4a60f54b0
4
- data.tar.gz: 152d1a32a4df721048c32502c28c0898d104dee448fce9ce8ab5a1b366d219a5
3
+ metadata.gz: 4bf0684bfe3cbb64808bdb1510ae705f1a09f0127829bed124b86b2da7c17b77
4
+ data.tar.gz: 3f080301fc5926c6646bc1ddc3a7584b91103d02f57d2b2df146527cdfe60729
5
5
  SHA512:
6
- metadata.gz: 8e3718a5bbf4c1f231218ddfb82e53bc4ffadc8773aabbb69b209c8893a23b09d53763faebca9d39159653ad179c63a4565654fa2eed1efc9e0191eda8c71e64
7
- data.tar.gz: 27fe3ae0303cc409c4e0a133be2c00d4b50a7ca6fdb61b4449e7a9d12d8ff0fd8adbfd01652292bf1d79d1f3fe41a4ad03dc70a11928face236aae36c20777c4
6
+ metadata.gz: 83b1d07dc317b935e82b75bc556ff9358f9b8b09142c040850a5f69e43d749f7914c7398f42cc126d8d6151f408d7715241729743a222b2fa9b47b6d4e8c6df5
7
+ data.tar.gz: 9f474532ebcb6223393c9886b16073115538411ea73047b07bcfd3a9fd975af8a2379ad198b2c382e3bd380f1ee2f4369d7196137a4cbbfeb9e5d79322f34da6
data/README.md CHANGED
@@ -4,7 +4,7 @@ Arco is a responsive fixed-sidebar layout with a two column masonry grid which a
4
4
 
5
5
  This theme also utilises [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag) and [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap) to ensure your work will be seen.
6
6
 
7
- See this theme in use at [meebuhs.github.io](https://meebuhs.github.io) and check the [https://github.com/meebuhs/meebuhs.github.io](source code) to get yourself started.
7
+ See this theme in use at [meebuhs.github.io](https://meebuhs.github.io) and check the [source code](https://github.com/meebuhs/meebuhs.github.io) to get yourself started.
8
8
 
9
9
  ## Installation
10
10
 
@@ -80,12 +80,17 @@ title: Post title
80
80
  description: Post description
81
81
  category: completed | ongoing
82
82
  permalink: /projects/post-title
83
+ source-url: https://project.source/link/
83
84
  cover-image: /assets/image-for-front-page.png
84
85
  image: /assets/image-for-top-of-post.png
85
86
  mathjax: true | false
86
87
  ---
87
88
  ```
88
89
 
90
+ ### Favicon
91
+
92
+ Simply add your favicon `favicon.png` to the root of your site.
93
+
89
94
  ### Markdown features
90
95
 
91
96
  [Check here](https://meebuhs.github.io/projects/arco) for examples of the supported markdown features.
@@ -1,4 +1,4 @@
1
- <section id="cover" class="cover">
1
+ <section class="cover">
2
2
  <div class="cover-text">
3
3
  {% if site.image %}<img class="site-image" src="{{ site.image }}" />{% endif %}
4
4
  <h1>{{ site.title }}</a></h1>
@@ -2,6 +2,7 @@
2
2
  <html lang="en-AU">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
+ <link rel="shortcut icon" type="image/png" href="favicon.png?">
5
6
  <link rel="stylesheet" href="/assets/css/main.css">
6
7
  </head>
7
8
  <body>
@@ -2,6 +2,7 @@
2
2
  <html lang="en-AU">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
+ <link rel="shortcut icon" type="image/png" href="favicon.png?">
5
6
  <link rel="stylesheet" href="/assets/css/main.css">
6
7
  <link rel="stylesheet" href="/assets/flexmasonry/flexmasonry.css">
7
8
  <script src="/assets/flexmasonry/flexmasonry.js"></script>
@@ -2,6 +2,7 @@
2
2
  <html lang="en-AU">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
+ <link rel="shortcut icon" type="image/png" href="favicon.png?">
5
6
  <link rel="stylesheet" href="/assets/css/main.css">
6
7
  {% seo %}
7
8
  </head>
@@ -21,6 +21,9 @@ layout: default
21
21
  <span class="list-post-date">{{ post.date | date_to_string}}</span>
22
22
  &middot;
23
23
  <a href="{{ "/projects/" }}{{ post.category }}" class="fade-onclick"><span class="list-post-category">{{ post.category }}</span></a>
24
+ <div class="list-post-tags">
25
+ {{ post.tags | join: ", "}}
26
+ </div>
24
27
  </div>
25
28
  </div>
26
29
  {% endfor %}
@@ -9,6 +9,13 @@ layout: default
9
9
  <section class="content">
10
10
  <svg id="content-fader"></svg>
11
11
  <div class="post">
12
+ <div class="post-buttons">
13
+ <a href="{{ site.url }}\projects\" class="button-light-secondary">Home</a>
14
+ {% if page.source-url %}
15
+ <a href="{{ page.source-url }}" class="button-light-tertiary">See the source</a>
16
+ {% endif %}
17
+ </div>
18
+
12
19
  <div class="post-title"><h1>{{ page.title }}</h1></div>
13
20
  <div class="post-description">{{ page.description }}</div>
14
21
  <div class="post-header">
@@ -21,6 +28,13 @@ layout: default
21
28
  <div class="post-content">
22
29
  {{ content }}
23
30
  </div>
31
+
32
+ <div class="post-buttons">
33
+ <a href="{{ site.url }}\projects\" class="button-light-secondary">Home</a>
34
+ {% if page.source-url %}
35
+ <a href="{{ page.source-url }}" class="button-light-tertiary">See the source </></a>
36
+ {% endif %}
37
+ </div>
24
38
  </div>
25
39
  {% include footer.html %}
26
40
  </section>
@@ -8,6 +8,7 @@
8
8
  border: 2px solid $background;
9
9
  background-color: $background;
10
10
  color: $highlight;
11
+ font-weight: bold;
11
12
  &:hover, &:focus {
12
13
  background-color: $highlight;
13
14
  color: $background;
@@ -19,13 +19,6 @@
19
19
  }
20
20
  }
21
21
 
22
- #open-button {
23
- display: flex;
24
- flex-direction: column;
25
- justify-content: center;
26
- text-align: center;
27
- }
28
-
29
22
  .open-button-container {
30
23
  width: 100%;
31
24
  margin-top: 20px;
@@ -43,28 +36,7 @@
43
36
  background: $sidebar-colour;
44
37
  color: $text-colour-light;
45
38
  transition: all .25s ease;
39
+ flex-direction: column;
40
+ text-align: center;
41
+ justify-content: center;
46
42
  }
47
-
48
- /* vertical layout */
49
- @media only screen and (max-width: calc(2 * #{$sidebar-width - 1})), (orientation: portrait) {
50
- #cover {
51
- flex-direction: row;
52
- justify-content: space-evenly;
53
- align-items: center;
54
- text-align: center;
55
- }
56
-
57
- .cover-text {
58
- display: flex;
59
- flex-direction: column;
60
- }
61
- }
62
-
63
- /* horizontal layout */
64
- @media only screen and (min-width: calc(2 * #{$sidebar-width})) and (orientation: landscape) {
65
- #cover {
66
- flex-direction: column;
67
- text-align: center;
68
- justify-content: center;
69
- }
70
- }
@@ -63,4 +63,11 @@
63
63
  &:hover, &:focus {
64
64
  color: lighten($primary-highlight, 14%);
65
65
  }
66
+ }
67
+
68
+ .list-post-tags {
69
+ font-weight: bold;
70
+ font-size: 14px;
71
+ color: $tertiary-highlight;
72
+ margin-top: 0.4em;
66
73
  }
@@ -4,7 +4,7 @@
4
4
  }
5
5
 
6
6
  .post-title h1 {
7
- margin-bottom: 0;
7
+ margin: 1.5em 0 0 0;
8
8
  }
9
9
 
10
10
  .post-description {
@@ -33,6 +33,10 @@
33
33
  }
34
34
  }
35
35
 
36
+ .post-content {
37
+ margin-bottom: 2em;
38
+ }
39
+
36
40
  .post-content img {
37
41
  max-width: 90%;
38
42
  max-height: 600px;
@@ -32,8 +32,7 @@
32
32
  transition: all .35s ease;
33
33
  }
34
34
 
35
- /* vertical layout */
36
- @media only screen and (max-width: calc(2 * #{$sidebar-width - 1})), (orientation: portrait) {
35
+ @media only screen and (orientation: portrait) {
37
36
  #sidebar {
38
37
  flex-direction: row;
39
38
  justify-content: space-evenly;
@@ -94,8 +93,7 @@
94
93
  }
95
94
  }
96
95
 
97
- /* horizontal layout */
98
- @media only screen and (min-width: calc(2 * #{$sidebar-width})) and (orientation: landscape) {
96
+ @media only screen and (orientation: landscape) {
99
97
  #sidebar {
100
98
  flex-direction: column;
101
99
  text-align: center;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - meebuhs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-01 00:00:00.000000000 Z
11
+ date: 2020-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll