jekyll-theme-centos 0.5.12 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/navbar.html +1 -1
  3. data/_includes/post-nav-explorer.html +4 -4
  4. data/_includes/top.html +1 -1
  5. data/_sass/centos/_footer.scss +3 -4
  6. data/_sass/centos/_header.scss +6 -6
  7. data/_sass/centos/_main.scss +7 -7
  8. data/_sass/centos/_nav.scss +8 -1
  9. data/_sass/centos/_toc.scss +1 -1
  10. data/_sass/centos/_variables.scss +21 -40
  11. data/_sass/centos/centos.scss +14 -18
  12. data/_sass/centos/fonts/_montserrat.scss +0 -3
  13. data/_sass/centos/fonts/_overpass.scss +20 -22
  14. data/_sass/centos/mixins/_code-header.scss +5 -5
  15. data/_sass/centos/mixins/_content.scss +2 -2
  16. data/_sass/centos/mixins/_link-list.scss +1 -1
  17. data/assets/fonts/{Montserrat/Montserrat-Black.woff → Montserrat-Black.woff} +0 -0
  18. data/assets/fonts/{Montserrat/Montserrat-Black.woff2 → Montserrat-Black.woff2} +0 -0
  19. data/assets/fonts/{Montserrat/Montserrat-BlackItalic.woff → Montserrat-BlackItalic.woff} +0 -0
  20. data/assets/fonts/{Montserrat/Montserrat-BlackItalic.woff2 → Montserrat-BlackItalic.woff2} +0 -0
  21. data/assets/fonts/{Montserrat/Montserrat-Bold.woff → Montserrat-Bold.woff} +0 -0
  22. data/assets/fonts/{Montserrat/Montserrat-Bold.woff2 → Montserrat-Bold.woff2} +0 -0
  23. data/assets/fonts/{Montserrat/Montserrat-BoldItalic.woff → Montserrat-BoldItalic.woff} +0 -0
  24. data/assets/fonts/{Montserrat/Montserrat-BoldItalic.woff2 → Montserrat-BoldItalic.woff2} +0 -0
  25. data/assets/fonts/{Montserrat/Montserrat-ExtraBold.woff → Montserrat-ExtraBold.woff} +0 -0
  26. data/assets/fonts/{Montserrat/Montserrat-ExtraBold.woff2 → Montserrat-ExtraBold.woff2} +0 -0
  27. data/assets/fonts/{Montserrat/Montserrat-ExtraBoldItalic.woff → Montserrat-ExtraBoldItalic.woff} +0 -0
  28. data/assets/fonts/{Montserrat/Montserrat-ExtraBoldItalic.woff2 → Montserrat-ExtraBoldItalic.woff2} +0 -0
  29. data/assets/fonts/{Montserrat/Montserrat-ExtraLight.woff → Montserrat-ExtraLight.woff} +0 -0
  30. data/assets/fonts/{Montserrat/Montserrat-ExtraLight.woff2 → Montserrat-ExtraLight.woff2} +0 -0
  31. data/assets/fonts/{Montserrat/Montserrat-ExtraLightItalic.woff → Montserrat-ExtraLightItalic.woff} +0 -0
  32. data/assets/fonts/{Montserrat/Montserrat-ExtraLightItalic.woff2 → Montserrat-ExtraLightItalic.woff2} +0 -0
  33. data/assets/fonts/{Montserrat/Montserrat-Italic.woff → Montserrat-Italic.woff} +0 -0
  34. data/assets/fonts/{Montserrat/Montserrat-Italic.woff2 → Montserrat-Italic.woff2} +0 -0
  35. data/assets/fonts/{Montserrat/Montserrat-Light.woff → Montserrat-Light.woff} +0 -0
  36. data/assets/fonts/{Montserrat/Montserrat-Light.woff2 → Montserrat-Light.woff2} +0 -0
  37. data/assets/fonts/{Montserrat/Montserrat-LightItalic.woff → Montserrat-LightItalic.woff} +0 -0
  38. data/assets/fonts/{Montserrat/Montserrat-LightItalic.woff2 → Montserrat-LightItalic.woff2} +0 -0
  39. data/assets/fonts/{Montserrat/Montserrat-Medium.woff → Montserrat-Medium.woff} +0 -0
  40. data/assets/fonts/{Montserrat/Montserrat-Medium.woff2 → Montserrat-Medium.woff2} +0 -0
  41. data/assets/fonts/{Montserrat/Montserrat-MediumItalic.woff → Montserrat-MediumItalic.woff} +0 -0
  42. data/assets/fonts/{Montserrat/Montserrat-MediumItalic.woff2 → Montserrat-MediumItalic.woff2} +0 -0
  43. data/assets/fonts/{Montserrat/Montserrat-Regular.woff → Montserrat-Regular.woff} +0 -0
  44. data/assets/fonts/{Montserrat/Montserrat-Regular.woff2 → Montserrat-Regular.woff2} +0 -0
  45. data/assets/fonts/{Montserrat/Montserrat-SemiBold.woff → Montserrat-SemiBold.woff} +0 -0
  46. data/assets/fonts/{Montserrat/Montserrat-SemiBold.woff2 → Montserrat-SemiBold.woff2} +0 -0
  47. data/assets/fonts/{Montserrat/Montserrat-SemiBoldItalic.woff → Montserrat-SemiBoldItalic.woff} +0 -0
  48. data/assets/fonts/{Montserrat/Montserrat-SemiBoldItalic.woff2 → Montserrat-SemiBoldItalic.woff2} +0 -0
  49. data/assets/fonts/{Montserrat/Montserrat-Thin.woff → Montserrat-Thin.woff} +0 -0
  50. data/assets/fonts/{Montserrat/Montserrat-Thin.woff2 → Montserrat-Thin.woff2} +0 -0
  51. data/assets/fonts/{Montserrat/Montserrat-ThinItalic.woff → Montserrat-ThinItalic.woff} +0 -0
  52. data/assets/fonts/{Montserrat/Montserrat-ThinItalic.woff2 → Montserrat-ThinItalic.woff2} +0 -0
  53. data/assets/fonts/{Montserrat/MontserratAlternates-Black.woff → MontserratAlternates-Black.woff} +0 -0
  54. data/assets/fonts/{Montserrat/MontserratAlternates-Black.woff2 → MontserratAlternates-Black.woff2} +0 -0
  55. data/assets/fonts/{Montserrat/MontserratAlternates-BlackItalic.woff → MontserratAlternates-BlackItalic.woff} +0 -0
  56. data/assets/fonts/{Montserrat/MontserratAlternates-BlackItalic.woff2 → MontserratAlternates-BlackItalic.woff2} +0 -0
  57. data/assets/fonts/{Montserrat/MontserratAlternates-Bold.woff → MontserratAlternates-Bold.woff} +0 -0
  58. data/assets/fonts/{Montserrat/MontserratAlternates-Bold.woff2 → MontserratAlternates-Bold.woff2} +0 -0
  59. data/assets/fonts/{Montserrat/MontserratAlternates-BoldItalic.woff → MontserratAlternates-BoldItalic.woff} +0 -0
  60. data/assets/fonts/{Montserrat/MontserratAlternates-BoldItalic.woff2 → MontserratAlternates-BoldItalic.woff2} +0 -0
  61. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBold.woff → MontserratAlternates-ExtraBold.woff} +0 -0
  62. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBold.woff2 → MontserratAlternates-ExtraBold.woff2} +0 -0
  63. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBoldItalic.woff → MontserratAlternates-ExtraBoldItalic.woff} +0 -0
  64. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBoldItalic.woff2 → MontserratAlternates-ExtraBoldItalic.woff2} +0 -0
  65. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLight.woff → MontserratAlternates-ExtraLight.woff} +0 -0
  66. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLight.woff2 → MontserratAlternates-ExtraLight.woff2} +0 -0
  67. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLightItalic.woff → MontserratAlternates-ExtraLightItalic.woff} +0 -0
  68. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLightItalic.woff2 → MontserratAlternates-ExtraLightItalic.woff2} +0 -0
  69. data/assets/fonts/{Montserrat/MontserratAlternates-Italic.woff → MontserratAlternates-Italic.woff} +0 -0
  70. data/assets/fonts/{Montserrat/MontserratAlternates-Italic.woff2 → MontserratAlternates-Italic.woff2} +0 -0
  71. data/assets/fonts/{Montserrat/MontserratAlternates-Light.woff → MontserratAlternates-Light.woff} +0 -0
  72. data/assets/fonts/{Montserrat/MontserratAlternates-Light.woff2 → MontserratAlternates-Light.woff2} +0 -0
  73. data/assets/fonts/{Montserrat/MontserratAlternates-LightItalic.woff → MontserratAlternates-LightItalic.woff} +0 -0
  74. data/assets/fonts/{Montserrat/MontserratAlternates-LightItalic.woff2 → MontserratAlternates-LightItalic.woff2} +0 -0
  75. data/assets/fonts/{Montserrat/MontserratAlternates-Medium.woff → MontserratAlternates-Medium.woff} +0 -0
  76. data/assets/fonts/{Montserrat/MontserratAlternates-Medium.woff2 → MontserratAlternates-Medium.woff2} +0 -0
  77. data/assets/fonts/{Montserrat/MontserratAlternates-MediumItalic.woff → MontserratAlternates-MediumItalic.woff} +0 -0
  78. data/assets/fonts/{Montserrat/MontserratAlternates-MediumItalic.woff2 → MontserratAlternates-MediumItalic.woff2} +0 -0
  79. data/assets/fonts/{Montserrat/MontserratAlternates-Regular.woff → MontserratAlternates-Regular.woff} +0 -0
  80. data/assets/fonts/{Montserrat/MontserratAlternates-Regular.woff2 → MontserratAlternates-Regular.woff2} +0 -0
  81. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBold.woff → MontserratAlternates-SemiBold.woff} +0 -0
  82. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBold.woff2 → MontserratAlternates-SemiBold.woff2} +0 -0
  83. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBoldItalic.woff → MontserratAlternates-SemiBoldItalic.woff} +0 -0
  84. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBoldItalic.woff2 → MontserratAlternates-SemiBoldItalic.woff2} +0 -0
  85. data/assets/fonts/{Montserrat/MontserratAlternates-Thin.woff → MontserratAlternates-Thin.woff} +0 -0
  86. data/assets/fonts/{Montserrat/MontserratAlternates-Thin.woff2 → MontserratAlternates-Thin.woff2} +0 -0
  87. data/assets/fonts/{Montserrat/MontserratAlternates-ThinItalic.woff → MontserratAlternates-ThinItalic.woff} +0 -0
  88. data/assets/fonts/{Montserrat/MontserratAlternates-ThinItalic.woff2 → MontserratAlternates-ThinItalic.woff2} +0 -0
  89. data/assets/fonts/{Overpass/overpass-mono-bold.eot → overpass-mono-bold.eot} +0 -0
  90. data/assets/fonts/{Overpass/overpass-mono-bold.ttf → overpass-mono-bold.ttf} +0 -0
  91. data/assets/fonts/{Overpass/overpass-mono-bold.woff → overpass-mono-bold.woff} +0 -0
  92. data/assets/fonts/{Overpass/overpass-mono-bold.woff2 → overpass-mono-bold.woff2} +0 -0
  93. data/assets/fonts/{Overpass/overpass-mono-light.eot → overpass-mono-light.eot} +0 -0
  94. data/assets/fonts/{Overpass/overpass-mono-light.ttf → overpass-mono-light.ttf} +0 -0
  95. data/assets/fonts/{Overpass/overpass-mono-light.woff → overpass-mono-light.woff} +0 -0
  96. data/assets/fonts/{Overpass/overpass-mono-light.woff2 → overpass-mono-light.woff2} +0 -0
  97. data/assets/fonts/{Overpass/overpass-mono-regular.eot → overpass-mono-regular.eot} +0 -0
  98. data/assets/fonts/{Overpass/overpass-mono-regular.ttf → overpass-mono-regular.ttf} +0 -0
  99. data/assets/fonts/{Overpass/overpass-mono-regular.woff → overpass-mono-regular.woff} +0 -0
  100. data/assets/fonts/{Overpass/overpass-mono-regular.woff2 → overpass-mono-regular.woff2} +0 -0
  101. data/assets/fonts/{Overpass/overpass-mono-semibold.eot → overpass-mono-semibold.eot} +0 -0
  102. data/assets/fonts/{Overpass/overpass-mono-semibold.ttf → overpass-mono-semibold.ttf} +0 -0
  103. data/assets/fonts/{Overpass/overpass-mono-semibold.woff → overpass-mono-semibold.woff} +0 -0
  104. data/assets/fonts/{Overpass/overpass-mono-semibold.woff2 → overpass-mono-semibold.woff2} +0 -0
  105. metadata +90 -92
  106. data/assets/fonts/Montserrat/Montserrat.css +0 -327
  107. data/assets/fonts/Montserrat/README.MD +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd23bff5e8c6f7a57e5892fd84c784c8a88ae00639ae1fb4b14ab7013113cc4c
4
- data.tar.gz: 149339a075600492fed274ec29c48257ecca413a0f1544d0978c5a36262bf100
3
+ metadata.gz: 859835db3e4fcc6a8f68bf59213ff534bff3fc2611d9077d121f17b9ce55e57f
4
+ data.tar.gz: 8865aec2e1b931dfd2e67328622503baf3596851a9a87aa3c59152a338a02a96
5
5
  SHA512:
6
- metadata.gz: 43e9c522f4efdcea4438fff0da26d7c64e5cb2a0c959dd75a06dcdc2792053957e0972360e0b5912202d63f928677cb715d21f9679c704331f71a96b323cfb3f
7
- data.tar.gz: 849737687ebc8519108fc9aeb658ffcbcd759ff313889a60640f555db2b34a7279fbee3cda5edcfe12a376a1df7d427a7fa0d7c76659cdd5647779e6633936c0
6
+ metadata.gz: 376683a58a6e79c0015007a056bdfb18569a63a905181ffc4935220511c4dc5ea38f2e7444eb859442e9d234454d8616eb8cf999992f2b68937a008951fc2394
7
+ data.tar.gz: e40bfc94b31e98b5457bffe5ca1bebfdd20b7f90d522699a4f2b5fb933469310668644aea2a1aae2104a1cf9f4e5f27f75f82cfb780bda5357b86d6a4deb053c
@@ -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,9 +16,9 @@
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
- text-shadow: 0 0 5px $black;
21
+ text-shadow: 0 0 5px $dark;
23
22
 
24
23
  scroll-margin-top: $scroll-margin-top;
25
24
 
@@ -1,12 +1,12 @@
1
1
  .header {
2
2
 
3
3
  color: $white;
4
- background-image: url($background-image);
5
- background-color: $black;
4
+ background-image: url($centos-img-motif);
5
+ background-color: $dark;
6
6
  background-size: cover;
7
7
  background-position: top right;
8
8
 
9
- text-shadow: 0 0 5px $black;
9
+ text-shadow: 0 0 5px $dark;
10
10
 
11
11
  &__home {
12
12
  display: flex;
@@ -37,7 +37,7 @@
37
37
 
38
38
  &__title, &__description {
39
39
  @extend .container;
40
- text-shadow: 0 0 5px $black;
40
+ text-shadow: 0 0 5px $dark;
41
41
  }
42
42
 
43
43
  &__description {
@@ -58,7 +58,7 @@
58
58
  padding: 0.5em;
59
59
  font-size: $h3-font-size;
60
60
  color: $white;
61
- background: $black;
61
+ background: $dark;
62
62
  opacity: 0.3;
63
63
  &:hover {
64
64
  opacity: 0.65;
@@ -74,7 +74,7 @@
74
74
  @extend .container;
75
75
  }
76
76
  &__title, &__description {
77
- text-shadow: 0 0 5px $black;
77
+ text-shadow: 0 0 5px $dark;
78
78
  }
79
79
  &__description {
80
80
  @extend .lead;
@@ -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
  }
@@ -2,27 +2,21 @@
2
2
  //
3
3
  // Variables should follow the `$component-state-property-size` formula for
4
4
  // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
5
- //
6
-
7
- //
8
- /* ----------------------------------------------------------------------
9
- * Color system
10
- * ---------------------------------------------------------------------- */
5
+ $centos-color-0: #9ccd2a;
6
+ $centos-color-1: #efa724;
7
+ $centos-color-2: #a14f8c;
8
+ $centos-color-3: #262577;
9
+ $centos-img-logo: "/assets/img/logo.png";
10
+ $centos-img-motif: "/assets/img/motif.png";
11
+
12
+ // Color system - based in the artistic motif palette and the number of
13
+ // occurrence each color has in the image.
11
14
  $white: #fff;
12
- $black: #000;
13
- $dark: #212529;
14
-
15
- /* ----------------------------------------------------------------------
16
- * CentOS Identity
17
- * ---------------------------------------------------------------------- */
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";
15
+ $primary: #6226a9;
16
+ $secondary: #0f1c4c;
17
+ $dark: #05112b;
25
18
 
19
+ // Header
26
20
  $home-header-padding-top: 202px;
27
21
  $home-header-padding-bottom: 150px;
28
22
  $page-header-padding-top: 152px;
@@ -30,43 +24,30 @@ $page-header-padding-bottom: 100px;
30
24
  $heading-margin-top: 1rem;
31
25
  $scroll-margin-top: $heading-margin-top * 2.6;
32
26
 
33
- // Body
34
- //
35
- // Settings for the `<body>` element.
36
-
27
+ // Body - settings for `<body>` element.
37
28
  $body-bg: #f0f0f0;
38
- $body-color: #212529;
29
+ $body-color: $dark;
39
30
 
40
31
  // Paragraphs
41
- //
42
- // Style p element.
43
-
44
32
  $paragraph-margin-bottom: 1.8rem;
33
+ $code-color: $dark;
45
34
 
46
- // Typography
47
- //
48
- // Font, line-height, and color for body text, headings, and more.
49
-
35
+ // Typography - Font, line-height, and color for body text, headings, and more.
36
+ $font-family-path: "/assets/fonts";
50
37
  $font-family-sans-serif: Montserrat;
51
38
  $line-height-base: 1.75;
52
39
  $headings-line-height: $line-height-base - 0.3;
53
40
  $headings-font-weight: 700;
54
41
 
55
- //
56
42
  // Dropdown menu container and contents.
57
- //
58
- $dropdown-bg: $black;
43
+ $dropdown-bg: $dark;
59
44
  $dropdown-link-color: $white;
60
45
  $dropdown-link-hover-color: $white;
61
- $dropdown-link-hover-bg: rgba($white, .2);
46
+ $dropdown-link-hover-bg: rgba($primary, .2);
62
47
 
63
48
  // Breadcrumbs
64
49
  $breadcrumb-bg: transparent;
65
50
  $breadcrumb-padding-x: 0;
66
51
 
67
- //
68
- //$component-active-color: $white;
69
- //#$component-active-bg: $dark;
70
-
71
52
  // Tables
72
- $table-dark-bg: $body-color;
53
+ $table-dark-bg: $dark;
@@ -1,24 +1,20 @@
1
1
  /*!
2
- * CentOS Theme
3
- * Copyright 2020 Alain Reguera Delgado <areguera@centosproject.org>
4
- * Licensed under MIT
2
+ * jekyll-theme-centos v0.6.4 (https://gitlab.com/areguera/jekyll-theme-centos/)
3
+ * Copyright 2020-2021 Alain Reguera Delgado
4
+ * Licensed under MIT (https://gitlab.com/areguera/jekyll-theme-centos/-/blob/master/LICENSE)
5
5
  */
6
-
7
6
  @import "fontawesome/fontawesome";
8
7
  @import "fontawesome/solid";
9
8
  @import "fontawesome/brands";
10
-
11
- @import "_variables";
12
- @import "_fonts";
13
-
9
+ @import "centos/variables";
14
10
  @import "bootstrap/bootstrap";
15
-
16
- @import "_mixins";
17
- @import "_datatable";
18
- @import "_highlighter";
19
- @import "_toc";
20
- @import "_breadcrumbs";
21
- @import "_nav";
22
- @import "_header";
23
- @import "_main";
24
- @import "_footer";
11
+ @import "centos/fonts";
12
+ @import "centos/mixins";
13
+ @import "centos/datatable";
14
+ @import "centos/highlighter";
15
+ @import "centos/toc";
16
+ @import "centos/breadcrumbs";
17
+ @import "centos/nav";
18
+ @import "centos/header";
19
+ @import "centos/main";
20
+ @import "centos/footer";
@@ -1,7 +1,4 @@
1
- /** =================== MONTSERRAT =================== **/
2
1
  /** Montserrat Thin **/
3
- $font-family-path: "../fonts/Montserrat";
4
-
5
2
  @font-face {
6
3
  font-family: "Montserrat";
7
4
  font-weight: 100;
@@ -1,45 +1,43 @@
1
- $font-family-path: "../fonts/Overpass/";
2
-
3
1
  @font-face {
4
2
  font-family: 'overpass-mono';
5
- src: url('#{$font-family-path}overpass-mono-light.eot');
6
- src: url('#{$font-family-path}overpass-mono-light.eot?#iefix') format('embedded-opentype'),
7
- url('#{$font-family-path}overpass-mono-light.woff2') format('woff2'),
8
- url('#{$font-family-path}overpass-mono-light.woff') format('woff'),
9
- url('#{$font-family-path}overpass-mono-light.ttf') format('truetype');
3
+ src: url('#{$font-family-path}/overpass-mono-light.eot');
4
+ src: url('#{$font-family-path}/overpass-mono-light.eot?#iefix') format('embedded-opentype'),
5
+ url('#{$font-family-path}/overpass-mono-light.woff2') format('woff2'),
6
+ url('#{$font-family-path}/overpass-mono-light.woff') format('woff'),
7
+ url('#{$font-family-path}/overpass-mono-light.ttf') format('truetype');
10
8
  font-weight: 300;
11
9
  font-style: normal;
12
10
  }
13
11
 
14
12
  @font-face {
15
13
  font-family: 'overpass-mono';
16
- src: url('#{$font-family-path}overpass-mono-regular.eot');
17
- src: url('#{$font-family-path}overpass-mono-regular.eot?#iefix') format('embedded-opentype'),
18
- url('#{$font-family-path}overpass-mono-regular.woff2') format('woff2'),
19
- url('#{$font-family-path}overpass-mono-regular.woff') format('woff'),
20
- url('#{$font-family-path}overpass-mono-regular.ttf') format('truetype');
14
+ src: url('#{$font-family-path}/overpass-mono-regular.eot');
15
+ src: url('#{$font-family-path}/overpass-mono-regular.eot?#iefix') format('embedded-opentype'),
16
+ url('#{$font-family-path}/overpass-mono-regular.woff2') format('woff2'),
17
+ url('#{$font-family-path}/overpass-mono-regular.woff') format('woff'),
18
+ url('#{$font-family-path}/overpass-mono-regular.ttf') format('truetype');
21
19
  font-weight: 400;
22
20
  font-style: normal;
23
21
  }
24
22
 
25
23
  @font-face {
26
24
  font-family: 'overpass-mono';
27
- src: url('#{$font-family-path}overpass-mono-semibold.eot');
28
- src: url('#{$font-family-path}overpass-mono-semibold.eot?#iefix') format('embedded-opentype'),
29
- url('#{$font-family-path}overpass-mono-semibold.woff2') format('woff2'),
30
- url('#{$font-family-path}overpass-mono-semibold.woff') format('woff'),
31
- url('#{$font-family-path}overpass-mono-semibold.ttf') format('truetype');
25
+ src: url('#{$font-family-path}/overpass-mono-semibold.eot');
26
+ src: url('#{$font-family-path}/overpass-mono-semibold.eot?#iefix') format('embedded-opentype'),
27
+ url('#{$font-family-path}/overpass-mono-semibold.woff2') format('woff2'),
28
+ url('#{$font-family-path}/overpass-mono-semibold.woff') format('woff'),
29
+ url('#{$font-family-path}/overpass-mono-semibold.ttf') format('truetype');
32
30
  font-weight: 500;
33
31
  font-style: normal;
34
32
  }
35
33
 
36
34
  @font-face {
37
35
  font-family: 'overpass-mono';
38
- src: url('#{$font-family-path}overpass-mono-bold.eot');
39
- src: url('#{$font-family-path}overpass-mono-bold.eot?#iefix') format('embedded-opentype'),
40
- url('#{$font-family-path}overpass-mono-bold.woff2') format('woff2'),
41
- url('#{$font-family-path}overpass-mono-bold.woff') format('woff'),
42
- url('#{$font-family-path}overpass-mono-bold.ttf') format('truetype');
36
+ src: url('#{$font-family-path}/overpass-mono-bold.eot');
37
+ src: url('#{$font-family-path}/overpass-mono-bold.eot?#iefix') format('embedded-opentype'),
38
+ url('#{$font-family-path}/overpass-mono-bold.woff2') format('woff2'),
39
+ url('#{$font-family-path}/overpass-mono-bold.woff') format('woff'),
40
+ url('#{$font-family-path}/overpass-mono-bold.ttf') format('truetype');
43
41
  font-weight: 600;
44
42
  font-style: normal;
45
43
  }
@@ -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;
@@ -24,11 +23,14 @@
24
23
  &-key {
25
24
  &:before { @extend .fas; content: fa-content($fa-var-key); padding-right: 5px; }
26
25
  }
26
+ &-markdown {
27
+ &:before { @extend .fab; content: fa-content($fa-var-markdown); padding-right: 5px; }
28
+ }
27
29
  }
28
30
 
29
31
  &--button {
30
32
  .copy-code-button {
31
- @extend .btn, .btn-dark, .shadow-none, .btn-sm;
33
+ @extend .btn, .btn-light, .shadow-none, .btn-sm;
32
34
  border-radius: 0px;
33
35
  display: grid;
34
36
  grid-auto-flow: column;
@@ -36,7 +38,6 @@
36
38
  grid-column-gap: 4px;
37
39
  border: none;
38
40
  cursor: pointer;
39
- background-color: $body-color;
40
41
  font-size: small;
41
42
 
42
43
  &:before {
@@ -60,5 +61,4 @@
60
61
  }
61
62
  }
62
63
  }
63
-
64
64
  }
@@ -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
  }