outpost-theme 0.1.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8022849f237e1e778221bb802a7454a9779d199d625f287306ede78c9507f47
4
- data.tar.gz: 2a8b9809b545691234bfb3b4f1a153e3935868dd0d80a3e897365a4eb7858e25
3
+ metadata.gz: 64e7207e3a5caed5dd78511b4e535cade027eb8f0916e98e180e9ab65a7b6b7a
4
+ data.tar.gz: a99f2a8c756f25bd04e772b7e36a0bd7789a6efd266b321c9645ed30e011eba3
5
5
  SHA512:
6
- metadata.gz: 00ecafd87c13a0f5840e79c20114d48c6352af96390c4fe16af38bc5457930b9cbb4d66aa9b97ab95391e4564f3b4b277c8681e955905eed489e0c94117481e6
7
- data.tar.gz: b8dec5829f05191cc9864023dc41ff3ba20a5e84ab8afe146bb7bd141dbc3d68977c8b4779c03b3370e91497f919aeac6f8aa8804151a5c610999c3cea56d620
6
+ metadata.gz: 82e82f72e2a8c9b0cfcd2e514d04ad1a79b9e94d3f3a8d7ded8e494993cdd74c3b21dd9228d74f5fc75a7a3a32ad5398b07a64909c2e08eff14f4fa46cfcf6ee
7
+ data.tar.gz: 949284ccb1abd28b08732cd4d438ab1607c490943864b11fc56440f209c808602fe07fed6370e0e23d6d7f9d44362ba676c8734bae0637caf2afb28a3da5f4c8
data/_config.yml CHANGED
@@ -1,2 +1,2 @@
1
1
  imagesurl: "/img/"
2
- thumbsurl: "/thumbs/"
2
+ thumbsurl: "/thumb/"
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ <div class="center">
5
+ {{ content }}
6
+ </div>
7
+ <div class="align-center">
4
8
  <div class="image-gallery">
5
9
  {% assign sorted = site.static_files | sort: 'date' | reverse %}
6
10
  {% for file in sorted %}
@@ -11,10 +15,11 @@ layout: default
11
15
 
12
16
  <div class="box">
13
17
  <a href="{{ file.path | relative_url }}" title="{{ filename }}">
14
- <img src="{{ site.thumbsurl }}{{ file.name }}" alt="{{filename }}" class="img-gallery">
18
+ <img src="{{ file.path | relative_url }}" alt="{{filename }}" class="img-gallery">
15
19
  </a>
16
20
  </div>
17
21
  {% endif %}
18
22
  {% endif %}
19
23
  {% endfor %}
24
+ </div>
20
25
  </div>
data/_layouts/home.html CHANGED
@@ -12,12 +12,16 @@ layout: default
12
12
  {% assign posts = site.posts %}
13
13
  {% endif %}
14
14
 
15
+ {% assign counter = 1 %}
16
+
15
17
  {%- if posts.size > 0 -%}
16
- <h1 class="post-heading">Posts:</h1>
18
+ {{ posts.size }}
19
+ <hr class="dashed-divider">
20
+ <h1 class="post-heading">Posts:</h1>
21
+ <hr class="dashed-divider">
17
22
  <ul class="post-list">
18
- {%- for post in posts -%}
23
+ {%- for post in posts -%}
19
24
  <li>
20
-
21
25
  <div class="post-link-parent">
22
26
  <h2><a class="post-link" href="{{ post.url | relative_url }}" style="color: {{ post.titlecolor }};">
23
27
  {{ post.title | escape }}
data/assets/main.scss CHANGED
@@ -18,12 +18,30 @@ h1, h2, h3, p, a{
18
18
  h1 {
19
19
  color: #f38ba8;
20
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
+ }
21
36
  .center{
22
37
  display: block;
23
38
  margin-left: auto;
24
39
  margin-right: auto;
25
40
  width: 50%;
26
41
  }
42
+ .align-center {
43
+ align-content: center;
44
+ }
27
45
  .dashed-divider{
28
46
  border-top: 1px dashed #cdd6f4;
29
47
  }
@@ -77,7 +95,10 @@ nav {
77
95
  width: 100%;
78
96
  display: grid;
79
97
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
80
- justify-content: center;
98
+ grid-template-rows: auto;
99
+ grid-gap: 15px;
100
+ justify-items: center;
101
+ align-items: center;
81
102
  padding: 4px;
82
103
  }
83
104
  .box {
@@ -93,6 +114,7 @@ nav {
93
114
  object-fit: cover;
94
115
  transform: scale(1);
95
116
  transition: all 0.3 ease-in-out;
117
+ margin: 2%;
96
118
  }
97
119
  .img-gallery:hover {
98
120
  transform: scale(1.05);
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''