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 +4 -4
- data/README.md +6 -2
- data/_includes/cover.html +5 -0
- data/_includes/sidebar.html +5 -0
- data/_layouts/post-list.html +1 -1
- data/_layouts/post.html +2 -2
- data/_sass/constants.scss +3 -3
- data/_sass/cover.scss +6 -0
- data/_sass/post-list.scss +2 -2
- data/_sass/post.scss +22 -8
- data/_sass/sidebar.scss +6 -0
- data/assets/images/demo.gif +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 526cd05606bf060a1a1b17e57e7be4ed0c84763569b5860b0f2123dff9a148ff
|
4
|
+
data.tar.gz: 707a6ba4bb548d1f1edb5053809822fc51225b593c0012bf7ed3d48573e77b18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
```
|
data/_includes/cover.html
CHANGED
@@ -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>
|
data/_includes/sidebar.html
CHANGED
@@ -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">
|
data/_layouts/post-list.html
CHANGED
@@ -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-
|
18
|
+
<div class="list-post-description">{{ post.description }}</div>
|
19
19
|
</div>
|
20
20
|
</div>
|
21
21
|
</a>
|
data/_layouts/post.html
CHANGED
@@ -27,9 +27,9 @@ layout: default
|
|
27
27
|
·
|
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 }}
|
data/_sass/constants.scss
CHANGED
@@ -6,7 +6,7 @@ $tertiary-highlight: #66cccc;
|
|
6
6
|
|
7
7
|
$sidebar-colour: #1a2a38;
|
8
8
|
$hover-colour: #e5e5e5;
|
9
|
-
$
|
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:
|
19
|
-
$sidebar-height:
|
18
|
+
$sidebar-height-min: 150px;
|
19
|
+
$sidebar-height: 200px;
|
data/_sass/cover.scss
CHANGED
data/_sass/post-list.scss
CHANGED
data/_sass/post.scss
CHANGED
@@ -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
|
-
|
21
|
-
max-
|
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:
|
57
|
+
max-width: 100%;
|
42
58
|
max-height: 600px;
|
43
|
-
display: block;
|
44
|
-
margin: 0 auto;
|
45
59
|
border-radius: 5px;
|
46
60
|
}
|
data/_sass/sidebar.scss
CHANGED
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.
|
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-
|
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
|