arco 0.7.0 → 0.8.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: 65e6776531db3a3448bc6cf2e7e145b041d64c333251b576241014f0a265c817
4
- data.tar.gz: 5b4eeebb07bccb252d8034437bb2b6121bc4aae412e64008a0ebcf1865b04b1f
3
+ metadata.gz: 526cd05606bf060a1a1b17e57e7be4ed0c84763569b5860b0f2123dff9a148ff
4
+ data.tar.gz: 707a6ba4bb548d1f1edb5053809822fc51225b593c0012bf7ed3d48573e77b18
5
5
  SHA512:
6
- metadata.gz: 3c6ded0190753934c1395f5c158f86138ac0cfa37f8927af581406f0f54bb37636a880c8a83aabaad60ce8568f987bcf0ececb5a2cdf3ceab9914d40ae631b83
7
- data.tar.gz: 8514c2cbd55de8b750f536f1dbdec2b54ca8cd360fd5303db81c9fbe457be062d8105adbbb32cda316bd02eaaf40065a517814aa7bcfa11fdd83f6da5370d74b
6
+ metadata.gz: 75050f7bd3ca7302c8dc132058af92249c6646c781f4c859d8f40944bca14e76582ee9ea5627a1cc0244185012d10cdd8e229f0fe6b9917d26fded4899a097ed
7
+ data.tar.gz: 765cb69e42c12307d9f36d21225ca7385b7cb1108f6fd66f83ead45138b22963f0a11c32bdd40840ebec4cfea25dfefbe3f9e72f7af80916e9564cbe7df15691
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Arco is a responsive fixed-sidebar layout with a responsive masonry grid which also features a landing page, a 404 page, smooth page transitions and a simple permalink structure.
4
4
 
5
+ <p align="center">
6
+ <img src="assets/images/demo.gif" width="60%">
7
+ </p>
8
+
5
9
  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
10
 
7
11
  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.
@@ -105,10 +109,10 @@ In order to enable lazy loading on an image you must add a `data-echo` attribute
105
109
 
106
110
  ### Image lightbox
107
111
 
108
- In order to open an image in a fullscreen lightbox on click, you must wrap the image in a link tag like so:
112
+ In order to open an image in a fullscreen lightbox on click, you must wrap the image in a link tag with the class `clickable-image` like so:
109
113
 
110
114
  ```html
111
- <a href="/assets/actual-image.png">
115
+ <a class="clickable-image" href="/assets/actual-image.png">
112
116
  <img src="/assets/placeholder-for-image.png" alt="alt-text" data-echo="/assets/actual-image.png" />
113
117
  </a>
114
118
  ```
@@ -3,6 +3,11 @@
3
3
  {% if site.image %}<img class="cover-image" src="{{ site.image }}" />{% endif %}
4
4
  <h1>{{ site.title }}</a></h1>
5
5
  <h6>{{ site.description }}</h6>
6
+ {% if site.tagline %}
7
+ <div class="cover-tagline">
8
+ {{ site.tagline }}
9
+ </div>
10
+ {% endif %}
6
11
  </div>
7
12
  <div class="open-button-container">
8
13
  <a href="/projects/" id="open-button" class="button-dark">See my projects</a>
@@ -9,6 +9,11 @@
9
9
  <div class="sidebar-text">
10
10
  <h1><a href="{{ "/projects/" }}" class="fade-onclick">{{ site.title }}</a></h1>
11
11
  <h6>{{ site.description }}</h6>
12
+ {% if site.tagline %}
13
+ <div class="sidebar-tagline">
14
+ {{ site.tagline }}
15
+ </div>
16
+ {% endif %}
12
17
  </div>
13
18
  </div>
14
19
  <div class="sidebar-links">
@@ -15,7 +15,7 @@ layout: default
15
15
  {% endif %}
16
16
  <div class="list-post-info">
17
17
  <div class="list-post-title">{{ post.title }}</div>
18
- <div class="list-post-summary">{{ post.summary }}</div>
18
+ <div class="list-post-description">{{ post.description }}</div>
19
19
  </div>
20
20
  </div>
21
21
  </a>
@@ -27,9 +27,9 @@ layout: default
27
27
  &middot;
28
28
  <a href="{{ "/projects/" }}{{ page.category }}" class="fade-onclick"><span class="post-category">{{ page.category }}</span></a>
29
29
  </div>
30
- <a href="{{ page.images.top }}">
30
+ <div class="clickable-image"><a href="{{ page.images.top }}" style="max-width: 80%">
31
31
  <img class="post-image" alt="{{ page.title }} | {{ page.description | truncate: 80 }}" src="{{ page.images.top }}" />
32
- </a>
32
+ </a></div>
33
33
 
34
34
  <div class="post-content">
35
35
  {{ content }}
@@ -6,7 +6,7 @@ $tertiary-highlight: #66cccc;
6
6
 
7
7
  $sidebar-colour: #1a2a38;
8
8
  $hover-colour: #e5e5e5;
9
- $summary-colour: #474747;
9
+ $description-colour: #474747;
10
10
  $text-colour-light: white;
11
11
  $text-colour-dark: black;
12
12
 
@@ -15,5 +15,5 @@ $table-background-colour: #e5e5e5;
15
15
  // Sizes
16
16
 
17
17
  $sidebar-width: 330px;
18
- $sidebar-height-min: 120px;
19
- $sidebar-height: 170px;
18
+ $sidebar-height-min: 150px;
19
+ $sidebar-height: 200px;
@@ -44,4 +44,10 @@
44
44
  width: 200px;
45
45
  height: 200px;
46
46
  border-radius: 50%;
47
+ }
48
+
49
+ .cover-tagline {
50
+ max-width: 250px;
51
+ margin: auto;
52
+ color: $hover-colour;
47
53
  }
@@ -40,8 +40,8 @@
40
40
  }
41
41
  }
42
42
 
43
- .list-post-summary {
44
- color: $summary-colour;
43
+ .list-post-description {
44
+ color: $description-colour;
45
45
  margin: 0.4em 0;
46
46
  font-size: 1rem;
47
47
  }
@@ -1,5 +1,11 @@
1
+ @media only screen and (orientation: landscape) and (min-width: 900px) {
2
+ .post {
3
+ max-width: 900px !important;
4
+ }
5
+ }
6
+
1
7
  .post {
2
- width: 100%;
8
+ max-width: 100%;
3
9
  }
4
10
 
5
11
  .post-title h1 {
@@ -17,11 +23,10 @@
17
23
  }
18
24
 
19
25
  .post-image {
20
- display: block;
21
- max-width: 70%;
22
- max-height: 50vh;
23
- margin: 2em auto 0 auto;
26
+ max-width: 100%;
27
+ max-height: 600px;
24
28
  border-radius: 5px;
29
+ margin-top: 1em;
25
30
  }
26
31
 
27
32
  .post-category {
@@ -37,10 +42,19 @@
37
42
  margin-bottom: 2em;
38
43
  }
39
44
 
45
+ .clickable-image {
46
+ max-width: 100%;
47
+ max-height: 600px;
48
+ text-align: center;
49
+ }
50
+
51
+ .clickable-image a {
52
+ max-width: 80%;
53
+ display: inline-block;
54
+ }
55
+
40
56
  .post-content img {
41
- max-width: 90%;
57
+ max-width: 100%;
42
58
  max-height: 600px;
43
- display: block;
44
- margin: 0 auto;
45
59
  border-radius: 5px;
46
60
  }
@@ -21,6 +21,12 @@
21
21
  }
22
22
  }
23
23
 
24
+ .sidebar-tagline {
25
+ max-width: 250px;
26
+ margin: auto;
27
+ color: $hover-colour;
28
+ }
29
+
24
30
  #sidebar {
25
31
  display: flex;
26
32
  top: 0;
Binary file
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.7.0
4
+ version: 0.8.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-09 00:00:00.000000000 Z
11
+ date: 2020-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -76,6 +76,7 @@ files:
76
76
  - assets/fonts/roboto-mono/RobotoMono-BoldItalic.ttf
77
77
  - assets/fonts/roboto-mono/RobotoMono-Italic.ttf
78
78
  - assets/fonts/roboto-mono/RobotoMono-Regular.ttf
79
+ - assets/images/demo.gif
79
80
  - assets/js/fade-transitions.js
80
81
  - assets/js/post-grid-init.js
81
82
  - assets/js/sidebar.js