jekyll-theme-centos 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/home/news.html +10 -6
- data/_layouts/blog.html +1 -1
- data/_sass/centos/_mixins.scss +1 -0
- data/_sass/centos/_page.scss +17 -38
- data/_sass/centos/mixins/_before-angle-right.scss +9 -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: d5d14988b3dbefce1c7bbd32fa264355d5973d126f14db1e8ca7c22d24505916
|
4
|
+
data.tar.gz: e053e96d20a970ac5ad781ef6032f27fad27fde25ac201de1ad7d9c86e4b4657
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67b27fc89a9bd7910f4f11038cc2c5dbc344feb5a5172831427499928511e5071a755eb8646d86a3355c1a40caa370173fc191b31eb10da65f4df4c262c92f45
|
7
|
+
data.tar.gz: 599431c45834a1a6d82386ece4ede64bc112cc44ec6c23239935b0d66d63eb0bb6e23fac03e8c7cb4c2bfb2c3ae0dff326b6f11535f755dc72ab7dd99ea04e32
|
data/_includes/home/news.html
CHANGED
@@ -3,12 +3,16 @@
|
|
3
3
|
<h2><i class="fas fa-calendar-alt"></i> News and events</h2>
|
4
4
|
</header>
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
{% assign news = site.posts | where: "category", "news" %}
|
7
|
+
{% assign events = site.posts | where: "category", "events" %}
|
8
|
+
{% assign news_and_events = news | concat: events %}
|
9
|
+
{% for i in news_and_events limit:3 %}
|
10
|
+
<div class="row">
|
11
|
+
<div class="col">
|
12
|
+
<h4>{{ i.title }}</h4>
|
13
|
+
{{ i.content }}
|
14
|
+
</div>
|
12
15
|
</div>
|
16
|
+
{% endfor %}
|
13
17
|
|
14
18
|
</section>
|
data/_layouts/blog.html
CHANGED
@@ -13,7 +13,7 @@ layout: default
|
|
13
13
|
</div>
|
14
14
|
|
15
15
|
<div class="col text-right">
|
16
|
-
<a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-
|
16
|
+
<a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-light"><i class="fas fa-rss"></i></button></a>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
</div>
|
data/_sass/centos/_mixins.scss
CHANGED
data/_sass/centos/_page.scss
CHANGED
@@ -78,35 +78,20 @@
|
|
78
78
|
}
|
79
79
|
|
80
80
|
.news {
|
81
|
-
@extend .col
|
82
|
-
.
|
83
|
-
|
84
|
-
|
85
|
-
&-title {
|
86
|
-
font-size: $h5-font-size;
|
87
|
-
}
|
88
|
-
&-body {
|
89
|
-
list-style: none;
|
90
|
-
padding: 0;
|
91
|
-
li {
|
92
|
-
padding: 0.5em;
|
93
|
-
}
|
94
|
-
}
|
81
|
+
@extend .col;
|
82
|
+
.row {
|
83
|
+
@extend .row;
|
84
|
+
padding-left: 24px;
|
95
85
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
@extend .fas;
|
100
|
-
color: $nord-color-4;
|
101
|
-
margin-right: 0.5em;
|
102
|
-
margin-left: -1em;
|
103
|
-
content: fa-content($fa-var-angle-right);
|
104
|
-
}
|
86
|
+
h4 {
|
87
|
+
@include before-angle-right;
|
88
|
+
font-weight: normal;
|
105
89
|
}
|
90
|
+
|
106
91
|
}
|
107
92
|
|
108
93
|
.around {
|
109
|
-
@extend .col-
|
94
|
+
@extend .col-lg-12;
|
110
95
|
margin-top: 1em;
|
111
96
|
}
|
112
97
|
|
@@ -115,15 +100,15 @@
|
|
115
100
|
}
|
116
101
|
|
117
102
|
.article {
|
118
|
-
@extend .col-
|
103
|
+
@extend .col-lg-12;
|
119
104
|
@include page-lists;
|
120
105
|
}
|
121
106
|
|
122
107
|
.blog {
|
123
|
-
@extend .col-
|
108
|
+
@extend .col-lg-12;
|
124
109
|
|
125
110
|
.card {
|
126
|
-
@extend .col-
|
111
|
+
@extend .col-lg-6;
|
127
112
|
@include page-card;
|
128
113
|
a {
|
129
114
|
display: block;
|
@@ -160,13 +145,7 @@
|
|
160
145
|
list-style: none;
|
161
146
|
margin-top: 1em;
|
162
147
|
margin-left: 1em;
|
163
|
-
|
164
|
-
@extend .fas;
|
165
|
-
color: $nord-color-4;
|
166
|
-
margin-right: 0.5em;
|
167
|
-
margin-left: -1em;
|
168
|
-
content: fa-content($fa-var-angle-right);
|
169
|
-
}
|
148
|
+
@include before-angle-right;
|
170
149
|
}
|
171
150
|
}
|
172
151
|
|
@@ -182,7 +161,7 @@
|
|
182
161
|
|
183
162
|
.aside-navigation {
|
184
163
|
@extend .container;
|
185
|
-
@extend .col-
|
164
|
+
@extend .col-lg-4;
|
186
165
|
font-size: small;
|
187
166
|
@include media-breakpoint-up(md) {
|
188
167
|
align-self: start;
|
@@ -202,7 +181,7 @@
|
|
202
181
|
}
|
203
182
|
|
204
183
|
.aside-article {
|
205
|
-
@extend .col-
|
184
|
+
@extend .col-lg-8;
|
206
185
|
@include page-lists;
|
207
186
|
}
|
208
187
|
|
@@ -210,7 +189,7 @@
|
|
210
189
|
@extend .container;
|
211
190
|
|
212
191
|
.card {
|
213
|
-
@extend .col-
|
192
|
+
@extend .col-lg-6;
|
214
193
|
@include page-card;
|
215
194
|
.tab-content {
|
216
195
|
table {
|
@@ -227,7 +206,7 @@
|
|
227
206
|
|
228
207
|
.sponsors {
|
229
208
|
&.carousel {
|
230
|
-
@extend .col-
|
209
|
+
@extend .col-lg-4;
|
231
210
|
}
|
232
211
|
.card {
|
233
212
|
margin: 1em;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-centos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alain Reguera Delgado
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -212,6 +212,7 @@ files:
|
|
212
212
|
- _sass/centos/_variables.scss
|
213
213
|
- _sass/centos/centos.scss
|
214
214
|
- _sass/centos/fonts/_montserrat.scss
|
215
|
+
- _sass/centos/mixins/_before-angle-right.scss
|
215
216
|
- _sass/centos/mixins/_link-dark.scss
|
216
217
|
- _sass/centos/mixins/_page-card.scss
|
217
218
|
- _sass/centos/mixins/_page-heading.scss
|