arco 0.2.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -6
- data/_config.yml +12 -3
- data/_includes/cover.html +3 -3
- data/_layouts/default.html +1 -0
- data/_layouts/landing.html +1 -0
- data/_layouts/post.html +5 -2
- data/_sass/arco.scss +1 -13
- data/_sass/buttons.scss +47 -0
- data/_sass/cover.scss +4 -36
- data/_sass/post.scss +6 -1
- data/_sass/syntax-highlighting.scss +2 -0
- data/assets/css/main.scss +2 -1
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7beb38bf0a9a4adf4aaef25d3efe27ad09db049c4a758f6d1398903b1ca7be66
|
4
|
+
data.tar.gz: 44d36acf3c59cb7bd38f2d2e42bc5eff4a5373299cc1cd2878b2740ace5bdd96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45504652d58ebb721e9e0987db680eb0453410ae02c169bdb5c5d06aa5232dc829a2c2f59f627a46c3fe72e6cae8a66c7ec1afc60fc72b5d16c9a66e8b4cf8ea
|
7
|
+
data.tar.gz: 22ff65c7b2342089b236e1ff4de8c2f87693fb5a00790e1c86e381022a63027bdc679a1fe94e043c4c1ed0c666dcd171267fd93748ef42466fb917f4a5e96880
|
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# arco
|
2
2
|
|
3
|
-
Arco is a responsive fixed-sidebar layout with a two column masonry grid which also features a landing page, a 404 page and a simple permalink structure.
|
3
|
+
Arco is a responsive fixed-sidebar layout with a two column masonry grid which also features a landing page, a 404 page, smooth page transitions and a simple permalink structure.
|
4
|
+
|
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
|
+
|
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.
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
@@ -24,35 +28,68 @@ Or install it yourself as:
|
|
24
28
|
|
25
29
|
$ gem install arco
|
26
30
|
|
31
|
+
## Github Pages
|
32
|
+
|
33
|
+
In your `_config.yml` delete the `theme: ` line and add:
|
34
|
+
|
35
|
+
```yaml
|
36
|
+
remote_theme: meebuhs/arco
|
37
|
+
```
|
38
|
+
|
39
|
+
You also need to make the following changes in your `Gemfile`:
|
40
|
+
|
41
|
+
```Gemfile
|
42
|
+
# Comment the jekyll gem
|
43
|
+
# gem "jekyll", "~> 4.1.0"
|
44
|
+
# Uncomment github-pages
|
45
|
+
gem "github-pages", group: :jekyll_plugins
|
46
|
+
```
|
47
|
+
|
27
48
|
## Usage
|
28
49
|
|
50
|
+
### Setup
|
51
|
+
|
52
|
+
To get started you need to copy the `pages` folder from this repository to your site.
|
53
|
+
|
54
|
+
By default it features a landing page, if you would like to bypass the landing page, delete `index.html` and then rename `projects.html` to `index.html`.
|
55
|
+
|
29
56
|
### Site configuration
|
30
57
|
|
31
58
|
The following settings can be configured in your site's `_config.yml`
|
32
59
|
|
33
60
|
```yaml
|
34
|
-
title:
|
35
|
-
|
36
|
-
|
61
|
+
title: site-title
|
62
|
+
tagline: site-tagline
|
63
|
+
description: site-description
|
64
|
+
image: /assets/images/image.png
|
65
|
+
url: https://github.com/meebuhs/arco
|
37
66
|
github_url: https://github.com/meebuhs
|
38
67
|
resume: true | false
|
68
|
+
author: Alex Sharpe
|
69
|
+
lang: en-AU
|
39
70
|
```
|
40
71
|
|
72
|
+
There are additional parameters which can be set for use with `jekyll-seo-tag`. [See here for a complete list](https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md)
|
73
|
+
|
41
74
|
### Expected post frontmatter
|
42
75
|
|
43
76
|
```
|
44
77
|
---
|
45
78
|
layout: post
|
46
79
|
title: Post title
|
47
|
-
|
80
|
+
description: Post description
|
48
81
|
category: completed | ongoing
|
49
82
|
permalink: /projects/post-title
|
50
83
|
cover-image: /assets/image-for-front-page.png
|
51
|
-
|
84
|
+
image: /assets/image-for-top-of-post.png
|
52
85
|
mathjax: true | false
|
53
86
|
---
|
54
87
|
```
|
55
88
|
|
89
|
+
### Markdown features
|
90
|
+
|
91
|
+
[Check here](https://meebuhs.github.io/projects/arco) for examples of the supported markdown features.
|
92
|
+
|
56
93
|
### Resume support
|
57
94
|
|
58
95
|
To add a resume to the site, set `resume: true` in your `_config.yml`.
|
data/_config.yml
CHANGED
@@ -1,7 +1,16 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# Site settings
|
2
|
+
title: site-title
|
3
|
+
tagline: site-tagline
|
4
|
+
description: site-description
|
3
5
|
image: /assets/images/image.png
|
6
|
+
url: https://github.com/meebuhs/arco
|
4
7
|
github_url: https://github.com/meebuhs
|
5
8
|
resume: true
|
9
|
+
author: Alex Sharpe
|
10
|
+
lang: en-AU
|
11
|
+
|
12
|
+
# Build settings
|
6
13
|
theme: arco
|
7
|
-
|
14
|
+
plugins:
|
15
|
+
- jekyll-seo-tag
|
16
|
+
- jekyll-sitemap
|
data/_includes/cover.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
<section
|
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>
|
5
5
|
<h6>{{ site.description }}</h6>
|
6
6
|
</div>
|
7
|
-
<div
|
8
|
-
<a href="/projects/"
|
7
|
+
<div class="open-button-container">
|
8
|
+
<a href="/projects/" id="open-button" class="button-dark">See my projects</a>
|
9
9
|
</div>
|
10
10
|
</section>
|
data/_layouts/default.html
CHANGED
data/_layouts/landing.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -2,18 +2,21 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
{%
|
5
|
+
{% if page.mathjax %}
|
6
|
+
{% include mathjax.html %}
|
7
|
+
{% endif %}
|
6
8
|
|
7
9
|
<section class="content">
|
8
10
|
<svg id="content-fader"></svg>
|
9
11
|
<div class="post">
|
10
12
|
<div class="post-title"><h1>{{ page.title }}</h1></div>
|
13
|
+
<div class="post-description">{{ page.description }}</div>
|
11
14
|
<div class="post-header">
|
12
15
|
<span class="post-date">{{ page.date | date_to_string}}</span>
|
13
16
|
·
|
14
17
|
<a href="{{ "/projects/" }}{{ page.category }}" class="fade-onclick"><span class="post-category">{{ page.category }}</span></a>
|
15
18
|
</div>
|
16
|
-
<img class="post-image" src="{{ page.
|
19
|
+
<img class="post-image" src="{{ page.image }}" />
|
17
20
|
|
18
21
|
<div class="post-content">
|
19
22
|
{{ content }}
|
data/_sass/arco.scss
CHANGED
@@ -84,12 +84,9 @@ blockquote {
|
|
84
84
|
padding: 0.5em 1em;
|
85
85
|
}
|
86
86
|
|
87
|
-
table, th, td {
|
88
|
-
border: none;
|
89
|
-
}
|
90
|
-
|
91
87
|
.table {
|
92
88
|
display: table;
|
89
|
+
border-collapse: collapse;
|
93
90
|
}
|
94
91
|
|
95
92
|
.table-cell {
|
@@ -114,14 +111,6 @@ table {
|
|
114
111
|
> tr:nth-child(odd) {
|
115
112
|
background-color: $table-background-colour;
|
116
113
|
}
|
117
|
-
> tr > td {
|
118
|
-
border-radius: 0;
|
119
|
-
}
|
120
|
-
}
|
121
|
-
&.centered {
|
122
|
-
thead tr th, tbody tr td, tfoot tr td {
|
123
|
-
text-align: center;
|
124
|
-
}
|
125
114
|
}
|
126
115
|
}
|
127
116
|
|
@@ -130,7 +119,6 @@ td, th {
|
|
130
119
|
display: table-cell;
|
131
120
|
text-align: left;
|
132
121
|
vertical-align: middle;
|
133
|
-
border-radius: 2px;
|
134
122
|
}
|
135
123
|
|
136
124
|
li, ul {
|
data/_sass/buttons.scss
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
@mixin button($background, $highlight) {
|
2
|
+
display: inline-block;
|
3
|
+
padding: 10px 25px;
|
4
|
+
border-radius: 5px;
|
5
|
+
transition: all .25s ease;
|
6
|
+
justify-content: center;
|
7
|
+
text-align: center;
|
8
|
+
border: 2px solid $background;
|
9
|
+
background-color: $background;
|
10
|
+
color: $highlight;
|
11
|
+
&:hover, &:focus {
|
12
|
+
background-color: $highlight;
|
13
|
+
color: $background;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.button-dark {
|
18
|
+
@include button(white, $sidebar-colour)
|
19
|
+
}
|
20
|
+
|
21
|
+
.button-dark-primary {
|
22
|
+
@include button($primary-highlight, $sidebar-colour)
|
23
|
+
}
|
24
|
+
|
25
|
+
.button-dark-secondary {
|
26
|
+
@include button($secondary-highlight, $sidebar-colour)
|
27
|
+
}
|
28
|
+
|
29
|
+
.button-dark-tertiary {
|
30
|
+
@include button($tertiary-highlight, $sidebar-colour)
|
31
|
+
}
|
32
|
+
|
33
|
+
.button-light {
|
34
|
+
@include button($sidebar-colour, white)
|
35
|
+
}
|
36
|
+
|
37
|
+
.button-light-primary {
|
38
|
+
@include button($primary-highlight, white)
|
39
|
+
}
|
40
|
+
|
41
|
+
.button-light-secondary {
|
42
|
+
@include button($secondary-highlight, white)
|
43
|
+
}
|
44
|
+
|
45
|
+
.button-light-tertiary {
|
46
|
+
@include button($tertiary-highlight, white)
|
47
|
+
}
|
data/_sass/cover.scss
CHANGED
@@ -19,22 +19,11 @@
|
|
19
19
|
}
|
20
20
|
}
|
21
21
|
|
22
|
-
|
23
|
-
height: 50px;
|
24
|
-
width: 200px;
|
25
|
-
border: 2px solid white;
|
26
|
-
border-radius: 5px;
|
27
|
-
transition: all .25s ease;
|
22
|
+
#open-button {
|
28
23
|
display: flex;
|
29
24
|
flex-direction: column;
|
30
25
|
justify-content: center;
|
31
26
|
text-align: center;
|
32
|
-
background-color: $sidebar-colour;
|
33
|
-
color: white;
|
34
|
-
&:hover, &:focus {
|
35
|
-
background-color: white;
|
36
|
-
color: $sidebar-colour
|
37
|
-
}
|
38
27
|
}
|
39
28
|
|
40
29
|
.open-button-container {
|
@@ -54,28 +43,7 @@
|
|
54
43
|
background: $sidebar-colour;
|
55
44
|
color: $text-colour-light;
|
56
45
|
transition: all .25s ease;
|
46
|
+
flex-direction: column;
|
47
|
+
text-align: center;
|
48
|
+
justify-content: center;
|
57
49
|
}
|
58
|
-
|
59
|
-
/* vertical layout */
|
60
|
-
@media only screen and (max-width: calc(2 * #{$sidebar-width - 1})), (orientation: portrait) {
|
61
|
-
#cover {
|
62
|
-
flex-direction: row;
|
63
|
-
justify-content: space-evenly;
|
64
|
-
align-items: center;
|
65
|
-
text-align: center;
|
66
|
-
}
|
67
|
-
|
68
|
-
.cover-text {
|
69
|
-
display: flex;
|
70
|
-
flex-direction: column;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
/* horizontal layout */
|
75
|
-
@media only screen and (min-width: calc(2 * #{$sidebar-width})) and (orientation: landscape) {
|
76
|
-
#cover {
|
77
|
-
flex-direction: column;
|
78
|
-
text-align: center;
|
79
|
-
justify-content: center;
|
80
|
-
}
|
81
|
-
}
|
data/_sass/post.scss
CHANGED
@@ -3,10 +3,14 @@
|
|
3
3
|
width: 100%;
|
4
4
|
}
|
5
5
|
|
6
|
-
.post-title h1{
|
6
|
+
.post-title h1 {
|
7
7
|
margin-bottom: 0;
|
8
8
|
}
|
9
9
|
|
10
|
+
.post-description {
|
11
|
+
margin-bottom: 0.5em;
|
12
|
+
}
|
13
|
+
|
10
14
|
.post-date {
|
11
15
|
color: $secondary-highlight;
|
12
16
|
font-weight: bold;
|
@@ -34,4 +38,5 @@
|
|
34
38
|
max-height: 600px;
|
35
39
|
display: block;
|
36
40
|
margin: 0 auto;
|
41
|
+
border-radius: 5px;
|
37
42
|
}
|
data/assets/css/main.scss
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arco
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- meebuhs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.5'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.5'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '5.0'
|
27
33
|
description:
|
28
34
|
email:
|
29
35
|
- meebuhs@gmail.com
|
@@ -46,6 +52,7 @@ files:
|
|
46
52
|
- _layouts/resume.html
|
47
53
|
- _sass/404.scss
|
48
54
|
- _sass/arco.scss
|
55
|
+
- _sass/buttons.scss
|
49
56
|
- _sass/constants.scss
|
50
57
|
- _sass/cover.scss
|
51
58
|
- _sass/fonts.scss
|