jekyll-theme-centos 0.5.12 → 0.6.0

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: fd23bff5e8c6f7a57e5892fd84c784c8a88ae00639ae1fb4b14ab7013113cc4c
4
- data.tar.gz: 149339a075600492fed274ec29c48257ecca413a0f1544d0978c5a36262bf100
3
+ metadata.gz: 75c6ebb3390dab7cb7398c35ee2e6004e6bc58cef61725c55a7b20489cc854b9
4
+ data.tar.gz: 33e0aa7400fe52cfee092e83d4128a6a652c7b5eed8a704f9cfe73e36a59fbd2
5
5
  SHA512:
6
- metadata.gz: 43e9c522f4efdcea4438fff0da26d7c64e5cb2a0c959dd75a06dcdc2792053957e0972360e0b5912202d63f928677cb715d21f9679c704331f71a96b323cfb3f
7
- data.tar.gz: 849737687ebc8519108fc9aeb658ffcbcd759ff313889a60640f555db2b34a7279fbee3cda5edcfe12a376a1df7d427a7fa0d7c76659cdd5647779e6633936c0
6
+ metadata.gz: bada97657460f8099b01ed3b91be287e1fde2abbde4fd619a9660adee880272d0e5ec2f7a7fa8ef3754bc960e5caaf65221b7abf7811b6a06989a657b7e06f96
7
+ data.tar.gz: 3c2b26425790408acb7301995e50c855417da0d52ed3d4446a2e1cee8aed1ef81928110eb8400d55fe5c4e3d26e2a8c39cd772f42a34f9fae3f16df3486343d8
@@ -1,6 +1,6 @@
1
1
  <nav class="navbar fixed-top navbar-expand-lg navbar-dark">
2
2
  <div class="container">
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 }}"></a>
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>
5
5
  <div class="collapse navbar-collapse" id="navcol-1">
6
6
  <ul class="nav navbar-nav ml-auto">
@@ -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 }}"><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>
7
+ <a href="{{ page.previous.url }}"><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>
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-light" 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-primary" 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="/{{ site.pagination.indexpage }}.html"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
14
+ <a href="/{{ site.pagination.indexpage }}.html"><button type="button" class="btn btn-primary" 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 }}"><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>
21
+ <a href="{{ page.next.url }}"><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>
22
22
  </div>
23
23
  </nav>
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-light"><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-primary"><i class="fas fa-arrow-circle-up"></i></button></a>
3
3
  </div>
@@ -7,8 +7,7 @@
7
7
  }
8
8
  }
9
9
 
10
- background-image: url($background-image);
11
- background-color: $black;
10
+ background-image: url($centos-img-motif);
12
11
  background-size: cover;
13
12
  background-position: top right;
14
13
 
@@ -17,7 +16,7 @@
17
16
  }
18
17
 
19
18
  color: $white;
20
- background-color: $black;
19
+ background-color: $dark;
21
20
  font-size: $font-size-base * 0.9;
22
21
  text-shadow: 0 0 5px $black;
23
22
 
@@ -1,7 +1,7 @@
1
1
  .header {
2
2
 
3
3
  color: $white;
4
- background-image: url($background-image);
4
+ background-image: url($centos-img-motif);
5
5
  background-color: $black;
6
6
  background-size: cover;
7
7
  background-position: top right;
@@ -27,6 +27,7 @@
27
27
  }
28
28
  }
29
29
  &__planet, &__news-and-events {
30
+ a { font-weight: bold; }
30
31
  @include link-list;
31
32
  }
32
33
  }
@@ -177,16 +178,15 @@
177
178
  border: none;
178
179
  padding: 15px;
179
180
  text-align: left;
180
- &__image {
181
- img {
182
- width: auto;
183
- height: 50px;
184
- }
181
+ img {
182
+ width: auto;
183
+ height: 50px;
185
184
  }
186
185
  &__body {
187
- &__title {
186
+ &_title {
187
+ display: none;
188
188
  }
189
- &__description {
189
+ &_description {
190
190
  }
191
191
  }
192
192
  }
@@ -1,6 +1,13 @@
1
1
  .navbar {
2
2
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
3
3
  &-dark {
4
- background: $black;
4
+ background: $dark;
5
+ }
6
+ &-brand {
7
+ .manifestation {
8
+ color: white;
9
+ font-size: small;
10
+ padding-left: 5px;
11
+ }
5
12
  }
6
13
  }
@@ -20,7 +20,7 @@
20
20
  list-style: none;
21
21
  &:before {
22
22
  @extend .fas;
23
- color: $secondary;
23
+ color: $primary;
24
24
  margin-right: 5px;
25
25
  content: fa-content($fa-var-angle-right);
26
26
  }
@@ -4,25 +4,28 @@
4
4
  // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
5
5
  //
6
6
 
7
- //
8
7
  /* ----------------------------------------------------------------------
9
- * Color system
8
+ * CentOS identity
10
9
  * ---------------------------------------------------------------------- */
11
- $white: #fff;
12
- $black: #000;
13
- $dark: #212529;
10
+ $centos-color-0: #9ccd2a;
11
+ $centos-color-1: #efa724;
12
+ $centos-color-2: #a14f8c;
13
+ $centos-color-3: #262577;
14
+ $centos-img-logo: "/assets/img/logo.png";
15
+ $centos-img-motif: "/assets/img/motif.png";
14
16
 
15
17
  /* ----------------------------------------------------------------------
16
- * CentOS Identity
18
+ * Color system - based in the artistic motif palette and the number of
19
+ * occurrence each color has in the image.
17
20
  * ---------------------------------------------------------------------- */
18
- $color-0: #9ccd2a;
19
- $color-1: #efa724;
20
- $color-2: #a14f8c;
21
- $color-3: #262577;
22
-
23
- $logo-image: "/assets/img/logo.png";
24
- $background-image: "/assets/img/motif.png";
21
+ $white: #fff;
22
+ $primary: #6226a9;
23
+ $secondary: #0f1c4c;
24
+ $dark: #05112b;
25
25
 
26
+ /* ----------------------------------------------------------------------
27
+ * Header
28
+ * ---------------------------------------------------------------------- */
26
29
  $home-header-padding-top: 202px;
27
30
  $home-header-padding-bottom: 150px;
28
31
  $page-header-padding-top: 152px;
@@ -30,43 +33,40 @@ $page-header-padding-bottom: 100px;
30
33
  $heading-margin-top: 1rem;
31
34
  $scroll-margin-top: $heading-margin-top * 2.6;
32
35
 
33
- // Body
34
- //
35
- // Settings for the `<body>` element.
36
-
36
+ /* ----------------------------------------------------------------------
37
+ * Body - settings for `<body>` element.
38
+ * ---------------------------------------------------------------------- */
37
39
  $body-bg: #f0f0f0;
38
- $body-color: #212529;
39
-
40
- // Paragraphs
41
- //
42
- // Style p element.
40
+ $body-color: $dark;
43
41
 
42
+ /* ----------------------------------------------------------------------
43
+ * Paragraphs
44
+ * ---------------------------------------------------------------------- */
44
45
  $paragraph-margin-bottom: 1.8rem;
45
46
 
46
- // Typography
47
- //
48
- // Font, line-height, and color for body text, headings, and more.
49
-
47
+ /* ----------------------------------------------------------------------
48
+ * Typography - Font, line-height, and color for body text, headings, and more.
49
+ * ---------------------------------------------------------------------- */
50
50
  $font-family-sans-serif: Montserrat;
51
51
  $line-height-base: 1.75;
52
52
  $headings-line-height: $line-height-base - 0.3;
53
53
  $headings-font-weight: 700;
54
54
 
55
- //
56
- // Dropdown menu container and contents.
57
- //
58
- $dropdown-bg: $black;
55
+ /* ----------------------------------------------------------------------
56
+ * Dropdown menu container and contents.
57
+ * ---------------------------------------------------------------------- */
58
+ $dropdown-bg: $dark;
59
59
  $dropdown-link-color: $white;
60
60
  $dropdown-link-hover-color: $white;
61
- $dropdown-link-hover-bg: rgba($white, .2);
61
+ $dropdown-link-hover-bg: rgba($primary, .2);
62
62
 
63
- // Breadcrumbs
63
+ /* ----------------------------------------------------------------------
64
+ * Breadcrumbs
65
+ * ---------------------------------------------------------------------- */
64
66
  $breadcrumb-bg: transparent;
65
67
  $breadcrumb-padding-x: 0;
66
68
 
67
- //
68
- //$component-active-color: $white;
69
- //#$component-active-bg: $dark;
70
-
71
- // Tables
72
- $table-dark-bg: $body-color;
69
+ /* ----------------------------------------------------------------------
70
+ * Tables
71
+ * ---------------------------------------------------------------------- */
72
+ $table-dark-bg: $dark;
@@ -3,10 +3,9 @@
3
3
  @mixin code-header {
4
4
 
5
5
  .code-header {
6
+ @extend .bg-light;
6
7
  display: flex;
7
8
  justify-content: space-between;
8
- background-color: $body-color;
9
- color: $white;
10
9
  align-items: center;
11
10
  padding-left: 10px;
12
11
  font-size: small;
@@ -28,7 +27,7 @@
28
27
 
29
28
  &--button {
30
29
  .copy-code-button {
31
- @extend .btn, .btn-dark, .shadow-none, .btn-sm;
30
+ @extend .btn, .btn-light, .shadow-none, .btn-sm;
32
31
  border-radius: 0px;
33
32
  display: grid;
34
33
  grid-auto-flow: column;
@@ -36,7 +35,6 @@
36
35
  grid-column-gap: 4px;
37
36
  border: none;
38
37
  cursor: pointer;
39
- background-color: $body-color;
40
38
  font-size: small;
41
39
 
42
40
  &:before {
@@ -60,5 +58,4 @@
60
58
  }
61
59
  }
62
60
  }
63
-
64
61
  }
@@ -3,7 +3,7 @@
3
3
  background: #fff;
4
4
  padding: 2.75rem;
5
5
  margin-top: -120px;
6
- min-height: 430px;
6
+ min-height: 490px;
7
7
  box-shadow: 0px -2px 3px 0px rgba(50, 50, 50, 0.25);
8
8
 
9
9
  h1, h2, h3, h4, h5, h6 {
@@ -16,7 +16,7 @@
16
16
 
17
17
  h2 {
18
18
  margin-top: $scroll-margin-top;
19
- border-bottom: 3px solid $body-color;
19
+ border-bottom: 3px solid $dark;
20
20
  }
21
21
 
22
22
  img {
@@ -7,9 +7,9 @@
7
7
  margin-left: 1em;
8
8
  &:before {
9
9
  @extend .fas;
10
- color: $secondary;
11
10
  margin-right: 0.5em;
12
11
  margin-left: -1em;
12
+ color: $primary;
13
13
  content: fa-content($fa-var-angle-right);
14
14
  }
15
15
  }
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.5.12
4
+ version: 0.6.0
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-04-25 00:00:00.000000000 Z
11
+ date: 2021-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll