outpost-theme 0.1.1 → 0.1.3
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 +4 -4
- data/_config.yml +2 -0
- data/_includes/head.html +3 -3
- data/_includes/header.html +4 -3
- data/_includes/rndLogo.js +1 -1
- data/_layouts/default.html +1 -1
- data/_layouts/gallery.html +25 -0
- data/_layouts/home.html +59 -0
- data/_layouts/post.html +7 -2
- data/assets/main.scss +68 -4
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64e7207e3a5caed5dd78511b4e535cade027eb8f0916e98e180e9ab65a7b6b7a
|
4
|
+
data.tar.gz: a99f2a8c756f25bd04e772b7e36a0bd7789a6efd266b321c9645ed30e011eba3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e82f72e2a8c9b0cfcd2e514d04ad1a79b9e94d3f3a8d7ded8e494993cdd74c3b21dd9228d74f5fc75a7a3a32ad5398b07a64909c2e08eff14f4fa46cfcf6ee
|
7
|
+
data.tar.gz: 949284ccb1abd28b08732cd4d438ab1607c490943864b11fc56440f209c808602fe07fed6370e0e23d6d7f9d44362ba676c8734bae0637caf2afb28a3da5f4c8
|
data/_config.yml
ADDED
data/_includes/head.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="UTF-8">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
-
<link rel="shortcut icon" href="/favicon.ico">
|
4
|
+
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.ico">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>{% if.page.title %}{{ page.title }} | {{site.title}}{% else %}{{ site.title}}{% endif %}</title>
|
7
7
|
|
8
|
-
<link rel="stylesheet" href="{{ site.baseurl }}assets/main.css">
|
9
|
-
<script src="assets/bundle.js"></script>
|
8
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/main.css">
|
9
|
+
<script src="{{ site.baseurl }}/assets/bundle.js"></script>
|
10
10
|
|
11
11
|
{% include analyitics.html %}
|
12
12
|
|
data/_includes/header.html
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
<div class="header">
|
2
2
|
<header>
|
3
|
-
<img class="center" id="banner-logo" src="assets/logo0.png" alt="Logo" width="50%" height="50%">
|
3
|
+
<img class="center" id="banner-logo" src="{{ site.baseurl }}/assets/logo0.png" alt="Logo" width="50%" height="50%">
|
4
4
|
</header>
|
5
5
|
</div>
|
6
6
|
<hr class="dashed-divider">
|
7
7
|
<nav>
|
8
8
|
|
9
9
|
<ul id="navbar">
|
10
|
-
<li><a href="index.html">Home</a></li>
|
11
|
-
<li><a href="
|
10
|
+
<li><a href="{{ site.baseurl }}/index.html">Home</a></li>
|
11
|
+
<li><a href="{{ site.baseurl }}/gallery.html">Art</a></li>
|
12
|
+
<li><a href="{{ site.baseurl }}/about.html">About</a></li>
|
12
13
|
</ul>
|
13
14
|
|
14
15
|
</nav>
|
data/_includes/rndLogo.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
function rndLogo(){
|
2
2
|
let x = Math.floor(Math.random()*5).toString();
|
3
|
-
const fn = "assets/logo" + x + ".png";
|
3
|
+
const fn = "{{ site.baseurl }}/assets/logo" + x + ".png";
|
4
4
|
document.getElementById("banner-logo").src = fn;
|
5
5
|
}
|
6
6
|
window.addEventListener('load', function() {
|
data/_layouts/default.html
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="center">
|
5
|
+
{{ content }}
|
6
|
+
</div>
|
7
|
+
<div class="align-center">
|
8
|
+
<div class="image-gallery">
|
9
|
+
{% assign sorted = site.static_files | sort: 'date' | reverse %}
|
10
|
+
{% for file in sorted %}
|
11
|
+
{% if file.path contains page.folder %}
|
12
|
+
{% if file.extname == '.png' %}
|
13
|
+
{% assign filenameparts = file.path | split: "/" %}
|
14
|
+
{% assign filename = filenameparts | last | replace file.extname, "" %}
|
15
|
+
|
16
|
+
<div class="box">
|
17
|
+
<a href="{{ file.path | relative_url }}" title="{{ filename }}">
|
18
|
+
<img src="{{ file.path | relative_url }}" alt="{{filename }}" class="img-gallery">
|
19
|
+
</a>
|
20
|
+
</div>
|
21
|
+
{% endif %}
|
22
|
+
{% endif %}
|
23
|
+
{% endfor %}
|
24
|
+
</div>
|
25
|
+
</div>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="home">
|
6
|
+
|
7
|
+
{{ content }}
|
8
|
+
|
9
|
+
{% if site.paginate %}
|
10
|
+
{% assign posts = paginator.posts %}
|
11
|
+
{% else %}
|
12
|
+
{% assign posts = site.posts %}
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
{% assign counter = 1 %}
|
16
|
+
|
17
|
+
{%- if posts.size > 0 -%}
|
18
|
+
{{ posts.size }}
|
19
|
+
<hr class="dashed-divider">
|
20
|
+
<h1 class="post-heading">Posts:</h1>
|
21
|
+
<hr class="dashed-divider">
|
22
|
+
<ul class="post-list">
|
23
|
+
{%- for post in posts -%}
|
24
|
+
<li>
|
25
|
+
<div class="post-link-parent">
|
26
|
+
<h2><a class="post-link" href="{{ post.url | relative_url }}" style="color: {{ post.titlecolor }};">
|
27
|
+
{{ post.title | escape }}
|
28
|
+
</a></h2>
|
29
|
+
<span class="post-meta">
|
30
|
+
<h3 style="color: {{ post.titlecolor }};">[{{ post.date | date: "%b -%d, %Y" }}]</h3>
|
31
|
+
</span>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
{{ post.excerpt }}
|
35
|
+
|
36
|
+
</li>
|
37
|
+
{%- endfor -%}
|
38
|
+
</ul>
|
39
|
+
|
40
|
+
<div class="pager">
|
41
|
+
<ul class="pagination">
|
42
|
+
{%- if paginator.previous_page %}
|
43
|
+
<li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page}}</a></li>
|
44
|
+
{%- else %}
|
45
|
+
<li><div class="page-edge">•</div></li>
|
46
|
+
{%- endif %}
|
47
|
+
|
48
|
+
<li><div class="current-page">{{ paginator.page }}</div></li>
|
49
|
+
|
50
|
+
{%- if paginator.next_page %}}
|
51
|
+
<li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
|
52
|
+
{%- else %}
|
53
|
+
<li><div class="page-edge">•</div></li>
|
54
|
+
{%- endif %}
|
55
|
+
</ul>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
{%- endif -%}
|
59
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<header
|
5
|
-
<
|
4
|
+
<header>
|
5
|
+
<div class="post-link-parent">
|
6
|
+
<h1 class="post-header" style="color: {{ page.titlecolor }};">{{ page.title }}</h1>
|
7
|
+
<span class="post-meta">
|
8
|
+
<h3 style="color: {{ page.titlecolor }};">[{{ page.date | date: "%b-%d, %Y" }}]</h3>
|
9
|
+
</span>
|
10
|
+
</div>
|
6
11
|
</header>
|
7
12
|
|
8
13
|
<article class="post-content">
|
data/assets/main.scss
CHANGED
@@ -8,16 +8,40 @@
|
|
8
8
|
body {
|
9
9
|
background-color: #181825;
|
10
10
|
}
|
11
|
-
|
11
|
+
.content{
|
12
|
+
margin: 2%;
|
13
|
+
}
|
14
|
+
h1, h2, h3, p, a{
|
12
15
|
color: #cdd6f4;
|
13
16
|
font-family: vcr_osd_monoregular;
|
14
17
|
}
|
18
|
+
h1 {
|
19
|
+
color: #f38ba8;
|
20
|
+
}
|
21
|
+
h2 {
|
22
|
+
color: #74c7ec;
|
23
|
+
}
|
24
|
+
h3{
|
25
|
+
color:#a6e3a1;
|
26
|
+
}
|
27
|
+
h4 {
|
28
|
+
color: #f5c2e7;
|
29
|
+
}
|
30
|
+
h5 {
|
31
|
+
color: #f9e2af
|
32
|
+
}
|
33
|
+
h6 {
|
34
|
+
color: #b4befe;
|
35
|
+
}
|
15
36
|
.center{
|
16
37
|
display: block;
|
17
38
|
margin-left: auto;
|
18
39
|
margin-right: auto;
|
19
40
|
width: 50%;
|
20
41
|
}
|
42
|
+
.align-center {
|
43
|
+
align-content: center;
|
44
|
+
}
|
21
45
|
.dashed-divider{
|
22
46
|
border-top: 1px dashed #cdd6f4;
|
23
47
|
}
|
@@ -41,13 +65,23 @@ li a {
|
|
41
65
|
li a:hover{
|
42
66
|
background-color: #45475a;
|
43
67
|
}
|
44
|
-
.active {
|
45
|
-
background-color: #b4befe;
|
46
|
-
}
|
47
68
|
nav {
|
48
69
|
position: sticky;
|
49
70
|
top: 0px;
|
50
71
|
}
|
72
|
+
.post-heading{
|
73
|
+
color: #cba6f7;
|
74
|
+
}
|
75
|
+
.post-link-parent{
|
76
|
+
display: flex;
|
77
|
+
justify-content: left;
|
78
|
+
}
|
79
|
+
.post-link{
|
80
|
+
display: inline-block;
|
81
|
+
}
|
82
|
+
.active {
|
83
|
+
background-color: #b4befe;
|
84
|
+
}
|
51
85
|
@font-face {
|
52
86
|
font-family: 'vcr_osd_monoregular';
|
53
87
|
src: url('vcr_osd_mono_1.001-webfont.woff2') format('woff2'),
|
@@ -55,3 +89,33 @@ nav {
|
|
55
89
|
font-weight: normal;
|
56
90
|
font-style: normal;
|
57
91
|
}
|
92
|
+
|
93
|
+
/* Gallery CSS */
|
94
|
+
.image-gallery {
|
95
|
+
width: 100%;
|
96
|
+
display: grid;
|
97
|
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
98
|
+
grid-template-rows: auto;
|
99
|
+
grid-gap: 15px;
|
100
|
+
justify-items: center;
|
101
|
+
align-items: center;
|
102
|
+
padding: 4px;
|
103
|
+
}
|
104
|
+
.box {
|
105
|
+
flex-basis: 25%;
|
106
|
+
width: 100%;
|
107
|
+
padding: 10px;
|
108
|
+
margin: 2px;
|
109
|
+
}
|
110
|
+
|
111
|
+
.img-gallery {
|
112
|
+
width: 100%;
|
113
|
+
height: 200px;
|
114
|
+
object-fit: cover;
|
115
|
+
transform: scale(1);
|
116
|
+
transition: all 0.3 ease-in-out;
|
117
|
+
margin: 2%;
|
118
|
+
}
|
119
|
+
.img-gallery:hover {
|
120
|
+
transform: scale(1.05);
|
121
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: outpost-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -33,12 +33,15 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- LICENSE.txt
|
35
35
|
- README.md
|
36
|
+
- _config.yml
|
36
37
|
- _includes/analyitics.html
|
37
38
|
- _includes/footer.html
|
38
39
|
- _includes/head.html
|
39
40
|
- _includes/header.html
|
40
41
|
- _includes/rndLogo.js
|
41
42
|
- _layouts/default.html
|
43
|
+
- _layouts/gallery.html
|
44
|
+
- _layouts/home.html
|
42
45
|
- _layouts/page.html
|
43
46
|
- _layouts/post.html
|
44
47
|
- assets/Positive System.otf
|