jekyll-theme-centos 0.6.0 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/download/{body-doc.html → cards-body-doc.html} +1 -1
  3. data/_includes/download/{body-eol.html → cards-body-eol.html} +1 -1
  4. data/_includes/download/{body.html → cards-body.html} +0 -0
  5. data/_includes/download/{footer.html → cards-footer.html} +0 -0
  6. data/_includes/download/{header-doc.html → cards-header-doc.html} +0 -0
  7. data/_includes/download/{header-eol.html → cards-header-eol.html} +0 -0
  8. data/_includes/download/{header.html → cards-header.html} +0 -0
  9. data/_includes/download/cards.html +47 -7
  10. data/_includes/home/distributions.html +4 -4
  11. data/_sass/centos/_footer.scss +1 -1
  12. data/_sass/centos/_header.scss +5 -5
  13. data/_sass/centos/_variables.scss +11 -30
  14. data/_sass/centos/centos.scss +14 -18
  15. data/_sass/centos/fonts/_montserrat.scss +0 -3
  16. data/_sass/centos/fonts/_overpass.scss +20 -22
  17. data/_sass/centos/mixins/_code-header.scss +3 -0
  18. data/assets/fonts/{Montserrat/Montserrat-Black.woff → Montserrat-Black.woff} +0 -0
  19. data/assets/fonts/{Montserrat/Montserrat-Black.woff2 → Montserrat-Black.woff2} +0 -0
  20. data/assets/fonts/{Montserrat/Montserrat-BlackItalic.woff → Montserrat-BlackItalic.woff} +0 -0
  21. data/assets/fonts/{Montserrat/Montserrat-BlackItalic.woff2 → Montserrat-BlackItalic.woff2} +0 -0
  22. data/assets/fonts/{Montserrat/Montserrat-Bold.woff → Montserrat-Bold.woff} +0 -0
  23. data/assets/fonts/{Montserrat/Montserrat-Bold.woff2 → Montserrat-Bold.woff2} +0 -0
  24. data/assets/fonts/{Montserrat/Montserrat-BoldItalic.woff → Montserrat-BoldItalic.woff} +0 -0
  25. data/assets/fonts/{Montserrat/Montserrat-BoldItalic.woff2 → Montserrat-BoldItalic.woff2} +0 -0
  26. data/assets/fonts/{Montserrat/Montserrat-ExtraBold.woff → Montserrat-ExtraBold.woff} +0 -0
  27. data/assets/fonts/{Montserrat/Montserrat-ExtraBold.woff2 → Montserrat-ExtraBold.woff2} +0 -0
  28. data/assets/fonts/{Montserrat/Montserrat-ExtraBoldItalic.woff → Montserrat-ExtraBoldItalic.woff} +0 -0
  29. data/assets/fonts/{Montserrat/Montserrat-ExtraBoldItalic.woff2 → Montserrat-ExtraBoldItalic.woff2} +0 -0
  30. data/assets/fonts/{Montserrat/Montserrat-ExtraLight.woff → Montserrat-ExtraLight.woff} +0 -0
  31. data/assets/fonts/{Montserrat/Montserrat-ExtraLight.woff2 → Montserrat-ExtraLight.woff2} +0 -0
  32. data/assets/fonts/{Montserrat/Montserrat-ExtraLightItalic.woff → Montserrat-ExtraLightItalic.woff} +0 -0
  33. data/assets/fonts/{Montserrat/Montserrat-ExtraLightItalic.woff2 → Montserrat-ExtraLightItalic.woff2} +0 -0
  34. data/assets/fonts/{Montserrat/Montserrat-Italic.woff → Montserrat-Italic.woff} +0 -0
  35. data/assets/fonts/{Montserrat/Montserrat-Italic.woff2 → Montserrat-Italic.woff2} +0 -0
  36. data/assets/fonts/{Montserrat/Montserrat-Light.woff → Montserrat-Light.woff} +0 -0
  37. data/assets/fonts/{Montserrat/Montserrat-Light.woff2 → Montserrat-Light.woff2} +0 -0
  38. data/assets/fonts/{Montserrat/Montserrat-LightItalic.woff → Montserrat-LightItalic.woff} +0 -0
  39. data/assets/fonts/{Montserrat/Montserrat-LightItalic.woff2 → Montserrat-LightItalic.woff2} +0 -0
  40. data/assets/fonts/{Montserrat/Montserrat-Medium.woff → Montserrat-Medium.woff} +0 -0
  41. data/assets/fonts/{Montserrat/Montserrat-Medium.woff2 → Montserrat-Medium.woff2} +0 -0
  42. data/assets/fonts/{Montserrat/Montserrat-MediumItalic.woff → Montserrat-MediumItalic.woff} +0 -0
  43. data/assets/fonts/{Montserrat/Montserrat-MediumItalic.woff2 → Montserrat-MediumItalic.woff2} +0 -0
  44. data/assets/fonts/{Montserrat/Montserrat-Regular.woff → Montserrat-Regular.woff} +0 -0
  45. data/assets/fonts/{Montserrat/Montserrat-Regular.woff2 → Montserrat-Regular.woff2} +0 -0
  46. data/assets/fonts/{Montserrat/Montserrat-SemiBold.woff → Montserrat-SemiBold.woff} +0 -0
  47. data/assets/fonts/{Montserrat/Montserrat-SemiBold.woff2 → Montserrat-SemiBold.woff2} +0 -0
  48. data/assets/fonts/{Montserrat/Montserrat-SemiBoldItalic.woff → Montserrat-SemiBoldItalic.woff} +0 -0
  49. data/assets/fonts/{Montserrat/Montserrat-SemiBoldItalic.woff2 → Montserrat-SemiBoldItalic.woff2} +0 -0
  50. data/assets/fonts/{Montserrat/Montserrat-Thin.woff → Montserrat-Thin.woff} +0 -0
  51. data/assets/fonts/{Montserrat/Montserrat-Thin.woff2 → Montserrat-Thin.woff2} +0 -0
  52. data/assets/fonts/{Montserrat/Montserrat-ThinItalic.woff → Montserrat-ThinItalic.woff} +0 -0
  53. data/assets/fonts/{Montserrat/Montserrat-ThinItalic.woff2 → Montserrat-ThinItalic.woff2} +0 -0
  54. data/assets/fonts/{Montserrat/MontserratAlternates-Black.woff → MontserratAlternates-Black.woff} +0 -0
  55. data/assets/fonts/{Montserrat/MontserratAlternates-Black.woff2 → MontserratAlternates-Black.woff2} +0 -0
  56. data/assets/fonts/{Montserrat/MontserratAlternates-BlackItalic.woff → MontserratAlternates-BlackItalic.woff} +0 -0
  57. data/assets/fonts/{Montserrat/MontserratAlternates-BlackItalic.woff2 → MontserratAlternates-BlackItalic.woff2} +0 -0
  58. data/assets/fonts/{Montserrat/MontserratAlternates-Bold.woff → MontserratAlternates-Bold.woff} +0 -0
  59. data/assets/fonts/{Montserrat/MontserratAlternates-Bold.woff2 → MontserratAlternates-Bold.woff2} +0 -0
  60. data/assets/fonts/{Montserrat/MontserratAlternates-BoldItalic.woff → MontserratAlternates-BoldItalic.woff} +0 -0
  61. data/assets/fonts/{Montserrat/MontserratAlternates-BoldItalic.woff2 → MontserratAlternates-BoldItalic.woff2} +0 -0
  62. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBold.woff → MontserratAlternates-ExtraBold.woff} +0 -0
  63. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBold.woff2 → MontserratAlternates-ExtraBold.woff2} +0 -0
  64. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBoldItalic.woff → MontserratAlternates-ExtraBoldItalic.woff} +0 -0
  65. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBoldItalic.woff2 → MontserratAlternates-ExtraBoldItalic.woff2} +0 -0
  66. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLight.woff → MontserratAlternates-ExtraLight.woff} +0 -0
  67. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLight.woff2 → MontserratAlternates-ExtraLight.woff2} +0 -0
  68. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLightItalic.woff → MontserratAlternates-ExtraLightItalic.woff} +0 -0
  69. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLightItalic.woff2 → MontserratAlternates-ExtraLightItalic.woff2} +0 -0
  70. data/assets/fonts/{Montserrat/MontserratAlternates-Italic.woff → MontserratAlternates-Italic.woff} +0 -0
  71. data/assets/fonts/{Montserrat/MontserratAlternates-Italic.woff2 → MontserratAlternates-Italic.woff2} +0 -0
  72. data/assets/fonts/{Montserrat/MontserratAlternates-Light.woff → MontserratAlternates-Light.woff} +0 -0
  73. data/assets/fonts/{Montserrat/MontserratAlternates-Light.woff2 → MontserratAlternates-Light.woff2} +0 -0
  74. data/assets/fonts/{Montserrat/MontserratAlternates-LightItalic.woff → MontserratAlternates-LightItalic.woff} +0 -0
  75. data/assets/fonts/{Montserrat/MontserratAlternates-LightItalic.woff2 → MontserratAlternates-LightItalic.woff2} +0 -0
  76. data/assets/fonts/{Montserrat/MontserratAlternates-Medium.woff → MontserratAlternates-Medium.woff} +0 -0
  77. data/assets/fonts/{Montserrat/MontserratAlternates-Medium.woff2 → MontserratAlternates-Medium.woff2} +0 -0
  78. data/assets/fonts/{Montserrat/MontserratAlternates-MediumItalic.woff → MontserratAlternates-MediumItalic.woff} +0 -0
  79. data/assets/fonts/{Montserrat/MontserratAlternates-MediumItalic.woff2 → MontserratAlternates-MediumItalic.woff2} +0 -0
  80. data/assets/fonts/{Montserrat/MontserratAlternates-Regular.woff → MontserratAlternates-Regular.woff} +0 -0
  81. data/assets/fonts/{Montserrat/MontserratAlternates-Regular.woff2 → MontserratAlternates-Regular.woff2} +0 -0
  82. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBold.woff → MontserratAlternates-SemiBold.woff} +0 -0
  83. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBold.woff2 → MontserratAlternates-SemiBold.woff2} +0 -0
  84. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBoldItalic.woff → MontserratAlternates-SemiBoldItalic.woff} +0 -0
  85. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBoldItalic.woff2 → MontserratAlternates-SemiBoldItalic.woff2} +0 -0
  86. data/assets/fonts/{Montserrat/MontserratAlternates-Thin.woff → MontserratAlternates-Thin.woff} +0 -0
  87. data/assets/fonts/{Montserrat/MontserratAlternates-Thin.woff2 → MontserratAlternates-Thin.woff2} +0 -0
  88. data/assets/fonts/{Montserrat/MontserratAlternates-ThinItalic.woff → MontserratAlternates-ThinItalic.woff} +0 -0
  89. data/assets/fonts/{Montserrat/MontserratAlternates-ThinItalic.woff2 → MontserratAlternates-ThinItalic.woff2} +0 -0
  90. data/assets/fonts/{Overpass/overpass-mono-bold.eot → overpass-mono-bold.eot} +0 -0
  91. data/assets/fonts/{Overpass/overpass-mono-bold.ttf → overpass-mono-bold.ttf} +0 -0
  92. data/assets/fonts/{Overpass/overpass-mono-bold.woff → overpass-mono-bold.woff} +0 -0
  93. data/assets/fonts/{Overpass/overpass-mono-bold.woff2 → overpass-mono-bold.woff2} +0 -0
  94. data/assets/fonts/{Overpass/overpass-mono-light.eot → overpass-mono-light.eot} +0 -0
  95. data/assets/fonts/{Overpass/overpass-mono-light.ttf → overpass-mono-light.ttf} +0 -0
  96. data/assets/fonts/{Overpass/overpass-mono-light.woff → overpass-mono-light.woff} +0 -0
  97. data/assets/fonts/{Overpass/overpass-mono-light.woff2 → overpass-mono-light.woff2} +0 -0
  98. data/assets/fonts/{Overpass/overpass-mono-regular.eot → overpass-mono-regular.eot} +0 -0
  99. data/assets/fonts/{Overpass/overpass-mono-regular.ttf → overpass-mono-regular.ttf} +0 -0
  100. data/assets/fonts/{Overpass/overpass-mono-regular.woff → overpass-mono-regular.woff} +0 -0
  101. data/assets/fonts/{Overpass/overpass-mono-regular.woff2 → overpass-mono-regular.woff2} +0 -0
  102. data/assets/fonts/{Overpass/overpass-mono-semibold.eot → overpass-mono-semibold.eot} +0 -0
  103. data/assets/fonts/{Overpass/overpass-mono-semibold.ttf → overpass-mono-semibold.ttf} +0 -0
  104. data/assets/fonts/{Overpass/overpass-mono-semibold.woff → overpass-mono-semibold.woff} +0 -0
  105. data/assets/fonts/{Overpass/overpass-mono-semibold.woff2 → overpass-mono-semibold.woff2} +0 -0
  106. metadata +97 -110
  107. data/_includes/download/linux.html +0 -22
  108. data/_includes/download/linux/7-doc.html +0 -5
  109. data/_includes/download/linux/7-eol.html +0 -5
  110. data/_includes/download/linux/7.html +0 -5
  111. data/_includes/download/linux/8-doc.html +0 -5
  112. data/_includes/download/linux/8-eol.html +0 -5
  113. data/_includes/download/linux/8.html +0 -5
  114. data/_includes/download/stream.html +0 -16
  115. data/_includes/download/stream/8-doc.html +0 -5
  116. data/_includes/download/stream/8-eol.html +0 -5
  117. data/_includes/download/stream/8.html +0 -5
  118. data/assets/fonts/Montserrat/Montserrat.css +0 -327
  119. data/assets/fonts/Montserrat/README.MD +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75c6ebb3390dab7cb7398c35ee2e6004e6bc58cef61725c55a7b20489cc854b9
4
- data.tar.gz: 33e0aa7400fe52cfee092e83d4128a6a652c7b5eed8a704f9cfe73e36a59fbd2
3
+ metadata.gz: 3ee411003adc36928233f6eb5fe4b6ef4c7f622f600922517b786edf0ce3067e
4
+ data.tar.gz: 90b3f7f1d2032822a2b487c2096b4fc6ac4026bece0ac8307d728613bc864c30
5
5
  SHA512:
6
- metadata.gz: bada97657460f8099b01ed3b91be287e1fde2abbde4fd619a9660adee880272d0e5ec2f7a7fa8ef3754bc960e5caaf65221b7abf7811b6a06989a657b7e06f96
7
- data.tar.gz: 3c2b26425790408acb7301995e50c855417da0d52ed3d4446a2e1cee8aed1ef81928110eb8400d55fe5c4e3d26e2a8c39cd772f42a34f9fae3f16df3486343d8
6
+ metadata.gz: ffd2dc794ae948c96a050b167d17c5747c1121558100b43ba06e685b028530d5b09e2d29b4715d2a0ec29863141263784e9a5ee1cc41e10e52686f913746c89b
7
+ data.tar.gz: 2f88e36a305711cfa01c352b74a082ea9115025e125f47c46759a855814e57f87c75097f97de2c8a6bf5143063cc91da75e02dce28c16c0387e78bb576f6f859
@@ -1,6 +1,6 @@
1
1
  <tr>
2
2
  <td>{% if row["release_notes"] != "" %}<a href="{{ row['release_notes'] }}">Release Notes</a>{% else %}Release Notes{% endif %}
3
3
  | {% if row["release_email"] != "" %}<a href="{{ row['release_email'] }}">Release Email</a>{% else %}Release Email{% endif %}
4
- | {% if row["documentation"] != "" %}<a href="{{ row['documentation'] }}">Documentation</a>{% else %}Documentation{% endif %}</td>
4
+ | {% if row["website"] != "" %}<a href="{{ row['website'] }}">Website</a>{% else %}Website{% endif %}</td>
5
5
  </tr>
6
6
 
@@ -1,4 +1,4 @@
1
1
  <tr>
2
- <td>{% if row["date"] != "" %}{{ row['date'] }}{% endif %}
2
+ <td>{% if row["date"] != "" %}{{ row['date'] | date_to_string: "ordinal", "US" }}{% endif %}
3
3
  {% if row["url"] != "" %}<a href="{{ row['url'] }}"><i class="fas fa-exclamation-circle"></i></a>{% endif %}</td>
4
4
  </tr>
File without changes
@@ -1,16 +1,56 @@
1
+ {% if include.distribution %}
2
+ {% assign cards = site.data.centos.distributions | where: "page", include.distribution %}
3
+ {% else %}
4
+ {% assign cards = site.data.centos.distributions %}
5
+ {% endif %}
6
+
1
7
  <div class="download__content__card">
2
8
  <div class="download__content__card__header">
3
9
  <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
4
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-stream">CentOS Stream</a></li>
5
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link" role="tab" data-toggle="tab" href="#tab-linux">CentOS Linux</a></li>
10
+ {% for item in cards %}
11
+ <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link{% if forloop.first %} active{% endif %}" role="tab" data-toggle="tab" href="#{{ item.page }}">{{ item.name }}</a></li>
12
+ {% endfor %}
6
13
  </ul>
7
14
  </div>
8
15
  <div class="download__content__card__body tab-content">
9
- <div class="tab-pane active" role="tabpanel" id="tab-stream">
10
- {% include download/stream.html %}
11
- </div>
12
- <div class="tab-pane" role="tabpanel" id="tab-linux">
13
- {% include download/linux.html %}
16
+ {% for item in cards %}
17
+ <div class="tab-pane{% if forloop.first %} active{% endif %}" role="tabpanel" id="{{ item.page }}">
18
+
19
+ <div class="download__content__card">
20
+ <div class="download__content__card__header">
21
+ <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
22
+ {% for release in item.releases %}
23
+ <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link{% if forloop.first %} active{% endif %}" role="tab" data-toggle="tab" href="#{{ item.page }}-{{ release[0] }}">{{ release[0] }}</a></li>
24
+ {% endfor %}
25
+ </ul>
26
+ </div>
27
+
28
+ <div class="download__content__card__body tab-content">
29
+ {% for release in item.releases %}
30
+ <div class="tab-pane{% if forloop.first %} active{% endif %}" role="tabpanel" id="{{ item.page }}-{{ release[0] }}">
31
+ {% include download/cards-header.html %}
32
+ {% for row in release[1].downloads %}
33
+ {% include download/cards-body.html %}
34
+ {% endfor %}
35
+ {% include download/cards-footer.html %}
36
+
37
+ {% include download/cards-header-doc.html %}
38
+ {% for row in release[1].docs %}
39
+ {% include download/cards-body-doc.html %}
40
+ {% endfor %}
41
+ {% include download/cards-footer.html %}
42
+
43
+ {% include download/cards-header-eol.html %}
44
+ {% for row in release[1].eol %}
45
+ {% include download/cards-body-eol.html %}
46
+ {% endfor %}
47
+ {% include download/cards-footer.html %}
48
+ </div>
49
+ {% endfor %}
50
+ </div>
51
+ </div>
52
+
14
53
  </div>
54
+ {% endfor %}
15
55
  </div>
16
56
  </div>
@@ -1,11 +1,11 @@
1
1
  <section class="home__content__distributions">
2
2
  <h2>Distributions</h2>
3
- <p class="home__content__distributions_preamble">{{ site.data.centos.distributions.preamble }}</p>
3
+ <p class="home__content__distributions_preamble">We offer the following distributions:</p>
4
4
 
5
- {% if site.data.centos.distributions.buttons %}
5
+ {% if site.data.centos.distributions %}
6
6
  <div class="home__content__distributions__buttons">
7
- {% for item in site.data.centos.distributions.buttons %}
8
- <a class="btn" role="button" href="{{ item.link }}">{{ item.name }}</a>
7
+ {% for item in site.data.centos.distributions %}
8
+ <a class="btn" role="button" href="{{ item.page }}">{{ item.name }}</a>
9
9
  {% endfor %}
10
10
  </div>
11
11
  {% endif %}
@@ -18,7 +18,7 @@
18
18
  color: $white;
19
19
  background-color: $dark;
20
20
  font-size: $font-size-base * 0.9;
21
- text-shadow: 0 0 5px $black;
21
+ text-shadow: 0 0 5px $dark;
22
22
 
23
23
  scroll-margin-top: $scroll-margin-top;
24
24
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  color: $white;
4
4
  background-image: url($centos-img-motif);
5
- background-color: $black;
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;
@@ -2,11 +2,6 @@
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
- * CentOS identity
9
- * ---------------------------------------------------------------------- */
10
5
  $centos-color-0: #9ccd2a;
11
6
  $centos-color-1: #efa724;
12
7
  $centos-color-2: #a14f8c;
@@ -14,18 +9,14 @@ $centos-color-3: #262577;
14
9
  $centos-img-logo: "/assets/img/logo.png";
15
10
  $centos-img-motif: "/assets/img/motif.png";
16
11
 
17
- /* ----------------------------------------------------------------------
18
- * Color system - based in the artistic motif palette and the number of
19
- * occurrence each color has in the image.
20
- * ---------------------------------------------------------------------- */
12
+ // Color system - based in the artistic motif palette and the number of
13
+ // occurrence each color has in the image.
21
14
  $white: #fff;
22
15
  $primary: #6226a9;
23
16
  $secondary: #0f1c4c;
24
17
  $dark: #05112b;
25
18
 
26
- /* ----------------------------------------------------------------------
27
- * Header
28
- * ---------------------------------------------------------------------- */
19
+ // Header
29
20
  $home-header-padding-top: 202px;
30
21
  $home-header-padding-bottom: 150px;
31
22
  $page-header-padding-top: 152px;
@@ -33,40 +24,30 @@ $page-header-padding-bottom: 100px;
33
24
  $heading-margin-top: 1rem;
34
25
  $scroll-margin-top: $heading-margin-top * 2.6;
35
26
 
36
- /* ----------------------------------------------------------------------
37
- * Body - settings for `<body>` element.
38
- * ---------------------------------------------------------------------- */
27
+ // Body - settings for `<body>` element.
39
28
  $body-bg: #f0f0f0;
40
29
  $body-color: $dark;
41
30
 
42
- /* ----------------------------------------------------------------------
43
- * Paragraphs
44
- * ---------------------------------------------------------------------- */
31
+ // Paragraphs
45
32
  $paragraph-margin-bottom: 1.8rem;
33
+ $code-color: $dark;
46
34
 
47
- /* ----------------------------------------------------------------------
48
- * Typography - 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
- * Dropdown menu container and contents.
57
- * ---------------------------------------------------------------------- */
42
+ // Dropdown menu container and contents.
58
43
  $dropdown-bg: $dark;
59
44
  $dropdown-link-color: $white;
60
45
  $dropdown-link-hover-color: $white;
61
46
  $dropdown-link-hover-bg: rgba($primary, .2);
62
47
 
63
- /* ----------------------------------------------------------------------
64
- * Breadcrumbs
65
- * ---------------------------------------------------------------------- */
48
+ // Breadcrumbs
66
49
  $breadcrumb-bg: transparent;
67
50
  $breadcrumb-padding-x: 0;
68
51
 
69
- /* ----------------------------------------------------------------------
70
- * Tables
71
- * ---------------------------------------------------------------------- */
52
+ // Tables
72
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.5 (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
  }
@@ -23,6 +23,9 @@
23
23
  &-key {
24
24
  &:before { @extend .fas; content: fa-content($fa-var-key); padding-right: 5px; }
25
25
  }
26
+ &-markdown {
27
+ &:before { @extend .fab; content: fa-content($fa-var-markdown); padding-right: 5px; }
28
+ }
26
29
  }
27
30
 
28
31
  &--button {