jekyll-theme-centos 0.7.3 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3eed90c0845ff5aa3368dcf0534e6cac3802b2522c84d62dec52adbc93810511
4
- data.tar.gz: f845903d10cfa062aefa1ae55f8e1c9656605ac94917cbc48f8f03b8e231d95b
3
+ metadata.gz: c13538ecc94f9353bab644bd01c1df2321753dd43a0ddddcd58a3af52799be39
4
+ data.tar.gz: a5f340bb77ee0b912b46fa5e5e8ab946736c8d0937cd83291f750a2e82f2ce89
5
5
  SHA512:
6
- metadata.gz: 2424be5aaa2bd8071c4895837c5eb84fbb81bdd7b755b97e4c53df5f2c4b329428a1891875ba8ec1750d906777113a23b1ed10cd5c21ad3d5952d1674b577df4
7
- data.tar.gz: 02b5cfcefab805d61844d68085fb854faf308a69c444fd50b79a05428495c7df20c9c5cbd7216794dabf6c10a8abc54b5a22c71ef3745e250e9b72ec96f3e93b
6
+ metadata.gz: c0618433f2ab8afa146bd3ae9c442b55232781d9ff6603bb006cf483068f68e79dfcf959163f39757c9f2a47bd5f5263ed3bbf8eea006ccf746a05dac628b000
7
+ data.tar.gz: 0ae3353e48a2a3b9f0e46362b3c2697ee23c4a38a563f212fc5273d0a7357876cd2d590d25ba4f3462fc1d620e6e9ba09e3d5a09d673205c8f69854f763bb033
@@ -1,4 +1,4 @@
1
- <nav class="navbar fixed-top navbar-expand-lg navbar-dark">
1
+ <nav class="navbar">
2
2
  <div class="container">
3
3
  <a class="navbar-brand" href="{{ site.data.centos.identity.logo.link }}"><img src="{{ site.data.centos.identity.logo.image }}" height="32" alt="{{ site.title }}"> <span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
4
4
  <button data-toggle="collapse" class="navbar-toggler" data-target="#navcol-1"><span class="sr-only">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
@@ -4,20 +4,20 @@
4
4
  {% else %}
5
5
  <div class="post__nav__explorer__newer--disabled">
6
6
  {% endif %}
7
- <a href="{{ page.previous.url | remove:'index.html' }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Previous Post - {{ page.previous.title }}"><i class="fas fa-arrow-left"></i></button></a>
7
+ <a href="{{ page.previous.url | remove:'index.html' }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Previous Post - {{ page.previous.title }}"><i class="fas fa-arrow-left"></i></button></a>
8
8
  </div>
9
9
  {% include top.html %}
10
10
  <div class="post__nav_explorer__feeds">
11
- <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="RSS"><i class="fas fa-rss"></i></button></a>
11
+ <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="RSS"><i class="fas fa-rss"></i></button></a>
12
12
  </div>
13
13
  <div class="post__nav__explorer__index">
14
- <a href="/news-and-events/"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
14
+ <a href="/news-and-events/"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
15
15
  </div>
16
16
  {% if page.next.url %}
17
17
  <div class="post__nav__explorer__older">
18
18
  {% else %}
19
19
  <div class="post__nav__explorer__older--disabled">
20
20
  {% endif %}
21
- <a href="{{ page.next.url | remove:'index.html' }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Next Post - {{ page.next.title }}"><i class="fas fa-arrow-right"></i></button></a>
21
+ <a href="{{ page.next.url | remove:'index.html' }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Next Post - {{ page.next.title }}"><i class="fas fa-arrow-right"></i></button></a>
22
22
  </div>
23
23
  </nav>
data/_includes/toc.html CHANGED
@@ -94,11 +94,11 @@
94
94
  {{ my_toc | lstrip }}{% endcapture %}
95
95
  {% endif %}{% endcapture %}
96
96
 
97
- {% if my_toc != "" %}
98
97
  <div class="toc">
98
+ {% if my_toc != "" %}
99
99
  <header class="toc__header">On this page:</header>
100
100
  <section class="toc__section">
101
101
  {% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
102
102
  </section>
103
- </div>
104
103
  {% endif %}
104
+ </div>
data/_includes/top.html CHANGED
@@ -1,3 +1,3 @@
1
1
  <div class="top">
2
- <a href="#top"><button title="Page top" type="button" data-toggle="tooltip" class="btn btn-primary"><i class="fas fa-arrow-circle-up"></i></button></a>
2
+ <a href="#top"><button title="Page top" type="button" data-toggle="tooltip" class="btn btn-light"><i class="fas fa-arrow-up"></i></button></a>
3
3
  </div>
@@ -1,5 +1,7 @@
1
1
  .footer {
2
2
 
3
+ flex: 1;
4
+
3
5
  @include header-links;
4
6
 
5
7
  background-image: url($centos-img-motif);
@@ -1,11 +1,17 @@
1
+ body {
2
+ display: flex;
3
+ flex-direction: column;
4
+ min-height: 100vh;
5
+ }
6
+
1
7
  .home, .page, .blog, .aside, .download, .sponsors, .search, .post {
8
+ display: flex;
2
9
  @extend .container;
3
- min-height: calc(30vh);
4
10
  }
5
11
 
6
12
  .home {
7
13
  &__content {
8
- @extend .col-sm-12;
14
+ @extend .col-sm-12, .col-md-12, .col-lg-12, .col-xl-12;
9
15
  @include content;
10
16
  &__distributions {
11
17
  .btn {
@@ -41,7 +47,7 @@
41
47
  }
42
48
 
43
49
  &__content {
44
- @extend .col-sm-12, .col-md-12, .col-lg-8, .col-xl-8;
50
+ @extend .col-sm-12, .col-md-12, .col-lg-12, .col-xl-8;
45
51
  @include content;
46
52
  @include content-nav;
47
53
  }
@@ -49,7 +55,7 @@
49
55
 
50
56
  .page {
51
57
  &__content {
52
- @extend .col-sm-12;
58
+ @extend .col-sm-12, .col-md-12, .col-lg-12, .col-xl-12;
53
59
  @include content;
54
60
  }
55
61
  }
@@ -57,7 +63,7 @@
57
63
  .blog {
58
64
 
59
65
  &__content {
60
- @extend .col-sm-12;
66
+ @extend .col-sm-12, .col-md-12, .col-lg-12, .col-xl-12;
61
67
  @include content;
62
68
 
63
69
  &__breadcrumb {
@@ -106,7 +112,7 @@
106
112
  }
107
113
 
108
114
  &__content {
109
- @extend .col-sm-12, .col-md-12, .col-lg-8, .col-xl-8;
115
+ @extend .col-sm-12, .col-md-12, .col-lg-12, .col-xl-8;
110
116
  @include content;
111
117
  @include content-nav;
112
118
  }
@@ -115,7 +121,7 @@
115
121
 
116
122
  .search {
117
123
  &__content {
118
- @extend .col-sm-12;
124
+ @extend .col-sm-12, .col-md-12, .col-lg-12, .col-xl-12;
119
125
  @include content;
120
126
 
121
127
  .ais-search-box {
@@ -135,7 +141,6 @@
135
141
  font-style: normal;
136
142
  }
137
143
  .post-breadcrumbs {
138
- display: block;
139
144
  font-size: small;
140
145
  }
141
146
  .post-snippet img {
@@ -1,8 +1,14 @@
1
1
  .navbar {
2
+ @extend .fixed-top;
3
+ @extend .navbar-expand-xl;
4
+ @extend .navbar-dark;
5
+
2
6
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
7
+
3
8
  &-dark {
4
9
  background: $dark;
5
10
  }
11
+
6
12
  &-brand {
7
13
  .manifestation {
8
14
  color: white;
@@ -1,6 +1,9 @@
1
1
  .toc {
2
2
  font-size: small;
3
- margin-bottom: calc(#{$paragraph-margin-bottom} * 1.25);
3
+
4
+ @include media-breakpoint-up(xm) {
5
+ margin-bottom: calc(#{$paragraph-margin-bottom} * 1.25);
6
+ }
4
7
 
5
8
  &__header {
6
9
  font-weight: $headings-font-weight;
@@ -6,8 +6,8 @@ $centos-color-0: #9ccd2a;
6
6
  $centos-color-1: #efa724;
7
7
  $centos-color-2: #a14f8c;
8
8
  $centos-color-3: #262577;
9
- $centos-img-logo: "/assets/img/logo.png";
10
- $centos-img-motif: "/assets/img/motif.png";
9
+ $centos-img-logo: "../img/logo.png";
10
+ $centos-img-motif: "../img/motif.png";
11
11
 
12
12
  // Color system - based in the artistic motif palette and the number of
13
13
  // occurrence each color has in the image.
@@ -33,7 +33,7 @@ $paragraph-margin-bottom: 1.8rem;
33
33
  $code-color: $dark;
34
34
 
35
35
  // Typography - Font, line-height, and color for body text, headings, and more.
36
- $font-family-path: "/assets/fonts";
36
+ $font-family-path: "../fonts";
37
37
  $font-family-sans-serif: Montserrat;
38
38
  $line-height-base: 1.75;
39
39
  $headings-line-height: $line-height-base - 0.3;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jekyll-theme-centos v0.7.3 (https://gitlab.com/areguera/jekyll-theme-centos/)
2
+ * jekyll-theme-centos v0.7.8 (https://gitlab.com/areguera/jekyll-theme-centos/)
3
3
  * Copyright 2020-2021 Alain Reguera Delgado
4
4
  * Licensed under MIT (https://gitlab.com/areguera/jekyll-theme-centos/-/blob/master/LICENSE)
5
5
  */
@@ -3,27 +3,20 @@
3
3
  width: 100%;
4
4
  margin-top: 15px;
5
5
  margin-left: 15px;
6
- margin-bottom: $paragraph-margin-bottom;
7
-
6
+ margin-bottom: 15px;
8
7
  align-self: start;
9
- position: sticky;
10
- top: calc(#{$navbar-brand-height + $paragraph-margin-bottom} + 10px);
11
8
 
12
9
  &__explorer {
13
10
  display: flex;
14
11
  justify-content: space-between;
15
12
  flex-direction: row;
16
- border-top: 1px solid $gray-300;
17
- margin-top: $paragraph-margin-bottom;
18
- margin-bottom: $paragraph-margin-bottom;
19
- padding-top: $paragraph-margin-bottom;
20
13
  }
21
14
 
22
15
  .toc {
23
16
  &__section {
24
17
  flex-direction: column;
25
- max-height: 65vh;
26
18
  overflow-y: auto;
19
+ height: 75vh;
27
20
  }
28
21
  }
29
22
 
@@ -31,8 +24,16 @@
31
24
  display: none;
32
25
  }
33
26
 
34
- @include media-breakpoint-up(lg) {
35
- display: block;
27
+ @include media-breakpoint-up(xl) {
28
+ display: flex;
29
+ flex-flow: column nowrap;
30
+ height: 100vh;
31
+ position: sticky;
32
+ top: calc(#{$navbar-brand-height + $paragraph-margin-bottom} + 10px);
33
+
34
+ .toc {
35
+ flex: 1;
36
+ }
36
37
  }
37
38
 
38
39
  }
@@ -3,8 +3,11 @@
3
3
  margin: 0;
4
4
  @include media-breakpoint-up(xm) {
5
5
  display: block;
6
+ .top {
7
+ margin-top: $paragraph-margin-bottom;
8
+ }
6
9
  }
7
- @include media-breakpoint-up(lg) {
10
+ @include media-breakpoint-up(xl) {
8
11
  display: none;
9
12
  }
10
13
  }
data/assets/img/motif.png CHANGED
Binary file
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.7.3
4
+ version: 0.7.8
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: 2021-07-03 00:00:00.000000000 Z
11
+ date: 2021-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll