jekyll-theme-centos 0.5.10 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/download/header.html +2 -2
  3. data/_includes/home/news-and-events.html +1 -1
  4. data/_includes/home/planet.html +10 -1
  5. data/_includes/navbar.html +1 -1
  6. data/_includes/page/code-header.html +7 -1
  7. data/_includes/post-nav-explorer.html +4 -4
  8. data/_includes/top.html +1 -1
  9. data/_layouts/home.html +0 -13
  10. data/_sass/centos/_fonts.scss +1 -0
  11. data/_sass/centos/_footer.scss +3 -4
  12. data/_sass/centos/_header.scss +6 -6
  13. data/_sass/centos/_highlighter.scss +167 -356
  14. data/_sass/centos/_main.scss +7 -7
  15. data/_sass/centos/_nav.scss +8 -1
  16. data/_sass/centos/_toc.scss +1 -1
  17. data/_sass/centos/_variables.scss +42 -59
  18. data/_sass/centos/centos.scss +3 -11
  19. data/_sass/centos/fonts/_montserrat.scss +0 -3
  20. data/_sass/centos/fonts/_overpass.scss +43 -0
  21. data/_sass/centos/mixins/_code-header.scss +49 -29
  22. data/_sass/centos/mixins/_content.scss +8 -3
  23. data/_sass/centos/mixins/_link-list.scss +1 -1
  24. data/assets/fonts/{Montserrat/Montserrat-Black.woff → Montserrat-Black.woff} +0 -0
  25. data/assets/fonts/{Montserrat/Montserrat-Black.woff2 → Montserrat-Black.woff2} +0 -0
  26. data/assets/fonts/{Montserrat/Montserrat-BlackItalic.woff → Montserrat-BlackItalic.woff} +0 -0
  27. data/assets/fonts/{Montserrat/Montserrat-BlackItalic.woff2 → Montserrat-BlackItalic.woff2} +0 -0
  28. data/assets/fonts/{Montserrat/Montserrat-Bold.woff → Montserrat-Bold.woff} +0 -0
  29. data/assets/fonts/{Montserrat/Montserrat-Bold.woff2 → Montserrat-Bold.woff2} +0 -0
  30. data/assets/fonts/{Montserrat/Montserrat-BoldItalic.woff → Montserrat-BoldItalic.woff} +0 -0
  31. data/assets/fonts/{Montserrat/Montserrat-BoldItalic.woff2 → Montserrat-BoldItalic.woff2} +0 -0
  32. data/assets/fonts/{Montserrat/Montserrat-ExtraBold.woff → Montserrat-ExtraBold.woff} +0 -0
  33. data/assets/fonts/{Montserrat/Montserrat-ExtraBold.woff2 → Montserrat-ExtraBold.woff2} +0 -0
  34. data/assets/fonts/{Montserrat/Montserrat-ExtraBoldItalic.woff → Montserrat-ExtraBoldItalic.woff} +0 -0
  35. data/assets/fonts/{Montserrat/Montserrat-ExtraBoldItalic.woff2 → Montserrat-ExtraBoldItalic.woff2} +0 -0
  36. data/assets/fonts/{Montserrat/Montserrat-ExtraLight.woff → Montserrat-ExtraLight.woff} +0 -0
  37. data/assets/fonts/{Montserrat/Montserrat-ExtraLight.woff2 → Montserrat-ExtraLight.woff2} +0 -0
  38. data/assets/fonts/{Montserrat/Montserrat-ExtraLightItalic.woff → Montserrat-ExtraLightItalic.woff} +0 -0
  39. data/assets/fonts/{Montserrat/Montserrat-ExtraLightItalic.woff2 → Montserrat-ExtraLightItalic.woff2} +0 -0
  40. data/assets/fonts/{Montserrat/Montserrat-Italic.woff → Montserrat-Italic.woff} +0 -0
  41. data/assets/fonts/{Montserrat/Montserrat-Italic.woff2 → Montserrat-Italic.woff2} +0 -0
  42. data/assets/fonts/{Montserrat/Montserrat-Light.woff → Montserrat-Light.woff} +0 -0
  43. data/assets/fonts/{Montserrat/Montserrat-Light.woff2 → Montserrat-Light.woff2} +0 -0
  44. data/assets/fonts/{Montserrat/Montserrat-LightItalic.woff → Montserrat-LightItalic.woff} +0 -0
  45. data/assets/fonts/{Montserrat/Montserrat-LightItalic.woff2 → Montserrat-LightItalic.woff2} +0 -0
  46. data/assets/fonts/{Montserrat/Montserrat-Medium.woff → Montserrat-Medium.woff} +0 -0
  47. data/assets/fonts/{Montserrat/Montserrat-Medium.woff2 → Montserrat-Medium.woff2} +0 -0
  48. data/assets/fonts/{Montserrat/Montserrat-MediumItalic.woff → Montserrat-MediumItalic.woff} +0 -0
  49. data/assets/fonts/{Montserrat/Montserrat-MediumItalic.woff2 → Montserrat-MediumItalic.woff2} +0 -0
  50. data/assets/fonts/{Montserrat/Montserrat-Regular.woff → Montserrat-Regular.woff} +0 -0
  51. data/assets/fonts/{Montserrat/Montserrat-Regular.woff2 → Montserrat-Regular.woff2} +0 -0
  52. data/assets/fonts/{Montserrat/Montserrat-SemiBold.woff → Montserrat-SemiBold.woff} +0 -0
  53. data/assets/fonts/{Montserrat/Montserrat-SemiBold.woff2 → Montserrat-SemiBold.woff2} +0 -0
  54. data/assets/fonts/{Montserrat/Montserrat-SemiBoldItalic.woff → Montserrat-SemiBoldItalic.woff} +0 -0
  55. data/assets/fonts/{Montserrat/Montserrat-SemiBoldItalic.woff2 → Montserrat-SemiBoldItalic.woff2} +0 -0
  56. data/assets/fonts/{Montserrat/Montserrat-Thin.woff → Montserrat-Thin.woff} +0 -0
  57. data/assets/fonts/{Montserrat/Montserrat-Thin.woff2 → Montserrat-Thin.woff2} +0 -0
  58. data/assets/fonts/{Montserrat/Montserrat-ThinItalic.woff → Montserrat-ThinItalic.woff} +0 -0
  59. data/assets/fonts/{Montserrat/Montserrat-ThinItalic.woff2 → Montserrat-ThinItalic.woff2} +0 -0
  60. data/assets/fonts/{Montserrat/MontserratAlternates-Black.woff → MontserratAlternates-Black.woff} +0 -0
  61. data/assets/fonts/{Montserrat/MontserratAlternates-Black.woff2 → MontserratAlternates-Black.woff2} +0 -0
  62. data/assets/fonts/{Montserrat/MontserratAlternates-BlackItalic.woff → MontserratAlternates-BlackItalic.woff} +0 -0
  63. data/assets/fonts/{Montserrat/MontserratAlternates-BlackItalic.woff2 → MontserratAlternates-BlackItalic.woff2} +0 -0
  64. data/assets/fonts/{Montserrat/MontserratAlternates-Bold.woff → MontserratAlternates-Bold.woff} +0 -0
  65. data/assets/fonts/{Montserrat/MontserratAlternates-Bold.woff2 → MontserratAlternates-Bold.woff2} +0 -0
  66. data/assets/fonts/{Montserrat/MontserratAlternates-BoldItalic.woff → MontserratAlternates-BoldItalic.woff} +0 -0
  67. data/assets/fonts/{Montserrat/MontserratAlternates-BoldItalic.woff2 → MontserratAlternates-BoldItalic.woff2} +0 -0
  68. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBold.woff → MontserratAlternates-ExtraBold.woff} +0 -0
  69. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBold.woff2 → MontserratAlternates-ExtraBold.woff2} +0 -0
  70. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBoldItalic.woff → MontserratAlternates-ExtraBoldItalic.woff} +0 -0
  71. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraBoldItalic.woff2 → MontserratAlternates-ExtraBoldItalic.woff2} +0 -0
  72. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLight.woff → MontserratAlternates-ExtraLight.woff} +0 -0
  73. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLight.woff2 → MontserratAlternates-ExtraLight.woff2} +0 -0
  74. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLightItalic.woff → MontserratAlternates-ExtraLightItalic.woff} +0 -0
  75. data/assets/fonts/{Montserrat/MontserratAlternates-ExtraLightItalic.woff2 → MontserratAlternates-ExtraLightItalic.woff2} +0 -0
  76. data/assets/fonts/{Montserrat/MontserratAlternates-Italic.woff → MontserratAlternates-Italic.woff} +0 -0
  77. data/assets/fonts/{Montserrat/MontserratAlternates-Italic.woff2 → MontserratAlternates-Italic.woff2} +0 -0
  78. data/assets/fonts/{Montserrat/MontserratAlternates-Light.woff → MontserratAlternates-Light.woff} +0 -0
  79. data/assets/fonts/{Montserrat/MontserratAlternates-Light.woff2 → MontserratAlternates-Light.woff2} +0 -0
  80. data/assets/fonts/{Montserrat/MontserratAlternates-LightItalic.woff → MontserratAlternates-LightItalic.woff} +0 -0
  81. data/assets/fonts/{Montserrat/MontserratAlternates-LightItalic.woff2 → MontserratAlternates-LightItalic.woff2} +0 -0
  82. data/assets/fonts/{Montserrat/MontserratAlternates-Medium.woff → MontserratAlternates-Medium.woff} +0 -0
  83. data/assets/fonts/{Montserrat/MontserratAlternates-Medium.woff2 → MontserratAlternates-Medium.woff2} +0 -0
  84. data/assets/fonts/{Montserrat/MontserratAlternates-MediumItalic.woff → MontserratAlternates-MediumItalic.woff} +0 -0
  85. data/assets/fonts/{Montserrat/MontserratAlternates-MediumItalic.woff2 → MontserratAlternates-MediumItalic.woff2} +0 -0
  86. data/assets/fonts/{Montserrat/MontserratAlternates-Regular.woff → MontserratAlternates-Regular.woff} +0 -0
  87. data/assets/fonts/{Montserrat/MontserratAlternates-Regular.woff2 → MontserratAlternates-Regular.woff2} +0 -0
  88. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBold.woff → MontserratAlternates-SemiBold.woff} +0 -0
  89. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBold.woff2 → MontserratAlternates-SemiBold.woff2} +0 -0
  90. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBoldItalic.woff → MontserratAlternates-SemiBoldItalic.woff} +0 -0
  91. data/assets/fonts/{Montserrat/MontserratAlternates-SemiBoldItalic.woff2 → MontserratAlternates-SemiBoldItalic.woff2} +0 -0
  92. data/assets/fonts/{Montserrat/MontserratAlternates-Thin.woff → MontserratAlternates-Thin.woff} +0 -0
  93. data/assets/fonts/{Montserrat/MontserratAlternates-Thin.woff2 → MontserratAlternates-Thin.woff2} +0 -0
  94. data/assets/fonts/{Montserrat/MontserratAlternates-ThinItalic.woff → MontserratAlternates-ThinItalic.woff} +0 -0
  95. data/assets/fonts/{Montserrat/MontserratAlternates-ThinItalic.woff2 → MontserratAlternates-ThinItalic.woff2} +0 -0
  96. data/assets/fonts/overpass-mono-bold.eot +0 -0
  97. data/assets/fonts/overpass-mono-bold.ttf +0 -0
  98. data/assets/fonts/overpass-mono-bold.woff +0 -0
  99. data/assets/fonts/overpass-mono-bold.woff2 +0 -0
  100. data/assets/fonts/overpass-mono-light.eot +0 -0
  101. data/assets/fonts/overpass-mono-light.ttf +0 -0
  102. data/assets/fonts/overpass-mono-light.woff +0 -0
  103. data/assets/fonts/overpass-mono-light.woff2 +0 -0
  104. data/assets/fonts/overpass-mono-regular.eot +0 -0
  105. data/assets/fonts/overpass-mono-regular.ttf +0 -0
  106. data/assets/fonts/overpass-mono-regular.woff +0 -0
  107. data/assets/fonts/overpass-mono-regular.woff2 +0 -0
  108. data/assets/fonts/overpass-mono-semibold.eot +0 -0
  109. data/assets/fonts/overpass-mono-semibold.ttf +0 -0
  110. data/assets/fonts/overpass-mono-semibold.woff +0 -0
  111. data/assets/fonts/overpass-mono-semibold.woff2 +0 -0
  112. metadata +91 -76
  113. data/assets/fonts/Montserrat/Montserrat.css +0 -327
  114. data/assets/fonts/Montserrat/README.MD +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47057b339abcf735055ec1ecdc1677d245c90060be0d203bd3eeb30ae8d55c17
4
- data.tar.gz: 6434b806b2c5ef8244b354fad3ae1aff25e844fca61e57bc2fc3645a6053d6d5
3
+ metadata.gz: 964ec6545d3c69da750c9ff52d130eb0344ae8302ef6810af517198f4b269623
4
+ data.tar.gz: cf64337d0980405a4b6aaa491aef856465341753fdf58241ba8474f6abf9d288
5
5
  SHA512:
6
- metadata.gz: 88080cd3eb3478d8aefb6310fb7a4c73ab071c466410b81ac04f89a14450d0beaf5021b038aedadc5e510a05cf20437990de4b6dbf4901b690f2efb65f3e8981
7
- data.tar.gz: 67486a1707a35bd2669cf610d944bf8637ad50487b3f691588d1a401bd87778eeb989d763e47b7ce85274f28b43ed5cc30851e0674b0bcd7a83d3fc283c8ad14
6
+ metadata.gz: 927adffa89ebfc3e1a6de1cdd4fadc869810cc30b4e34a774192e48d67159be591ca12b6fafe7ebbfa6c26ff4c38cc12557ef325094cb0d23a6d82aaf1eaeb91
7
+ data.tar.gz: 0c8db8bb6625c844bc97a3da0ef49399ec7d077ee5f7be50d394df9060ec482c33f8193cca1fdd5fb4d1e9b1f6d21a822f7d598c031fb772242e2b21fe0fb5e8
@@ -2,8 +2,8 @@
2
2
  <thead>
3
3
  <tr>
4
4
  <th scope="col"><i class="fas fa-microchip"></i> Architectures</th>
5
- <th scope="col"><i class="fas fa-cubes"></i> Packages</th>
6
- <th scope="col"><i class="fas fa-plus-circle"></i> Others</th>
5
+ <th scope="col">Packages</th>
6
+ <th scope="col">Others</th>
7
7
  </tr>
8
8
  </thead>
9
9
  <tbody>
@@ -6,7 +6,7 @@
6
6
  {% assign blog_posts = site.posts | where: "category", "news-and-events" %}
7
7
  {% for i in blog_posts limit:4 %}
8
8
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
- <li><a href="{{ i.url }}">{{ i.title }}</a> &mdash; <small>{{ i.date | date: date_format }}</small> {{ i.excerpt }}</li>
9
+ <li><a href="{{ i.url }}">{{ i.title }}</a><br>{{ i.date | date: date_format }} &mdash; {{ i.excerpt | strip_html }}</li>
10
10
  {% endfor %}
11
11
  </ul>
12
12
 
@@ -1,4 +1,13 @@
1
1
  <section class="home__content__planet">
2
+
2
3
  <h2>Around CentOS</h2>
3
- <div id="rss-feeds"></div>
4
+
5
+ <ul>
6
+ {% assign entries = site.data.centos.planet %}
7
+ {% for i in entries limit:8 %}
8
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
+ <li><a href="{{ i.link }}">{{ i.title }}</a><br>{{ i.published | date: date_format }} &mdash; {{ i.summary | strip_html | slice: 0,150 }}...</li>
10
+ {% endfor %}
11
+ </ul>
12
+
4
13
  </section>
@@ -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">
@@ -1,4 +1,10 @@
1
1
  <div class="code-header">
2
+ {% if include.icon and include.title %}
3
+ <div class="code-header--description-{{ include.icon }}">{{ include.title }}</div>
4
+ {% else %}
5
+ <div class="code-header--description-code">Code</div>
6
+ {% endif %}
7
+ <div class="code-header--button">
2
8
  <button class="copy-code-button" aria-label="Copy code to clipboard"></button>
9
+ </div>
3
10
  </div>
4
-
@@ -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>
data/_layouts/home.html CHANGED
@@ -31,19 +31,6 @@
31
31
 
32
32
  <script src="/assets/js/jquery.min.js"></script>
33
33
  <script src="/assets/js/bootstrap.min.js"></script>
34
- <script src="/assets/js/moment.min.js"></script>
35
- <script src="/assets/js/jquery.rss.js"></script>
36
- <script>
37
- jQuery(function($) {
38
- $("#rss-feeds").rss("https://www.centos.org/assets/planet.rss", {
39
- limit: 5,
40
- ssl: true,
41
- dateFormat: "MMM DD, YYYY",
42
- entryTemplate: '<li><a href="{url}">{title}</a> &mdash; <small>{date}</small><br/>{shortBodyPlain}</li>'
43
- },
44
- )
45
- })
46
- </script>
47
34
  </body>
48
35
 
49
36
  </html>
@@ -1 +1,2 @@
1
1
  @import "fonts/_montserrat";
2
+ @import "fonts/_overpass";
@@ -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;
@@ -1,360 +1,171 @@
1
- .highlight {
2
- color: $nord-color-4;
3
- background-color: $nord-color-0;
4
-
5
- /* Text.Whitespace */
6
- .w {
7
- background-color: $nord-color-11;
8
- }
9
1
 
10
- /* Error */
11
- .err {
12
- color: $nord-color-11;
13
- }
2
+ /*
3
+ * GitHub style for Pygments syntax highlighter, for use with Jekyll
4
+ * Courtesy of GitHub.com
5
+ *
6
+ * src: https://github.com/aahan/pygments-github-style
7
+ */
8
+
9
+ .highlight pre, pre {
10
+ background-color: #f8f8f8;
11
+ border: 1px solid #ccc;
12
+ padding: 6px 10px;
13
+ border-radius: 0 0 3px 3px;
14
+ }
14
15
 
15
- /* Other */
16
+ .highlight {
17
+ .hll {
18
+ background-color: #f8f8f8;
19
+ border: 1px solid #ccc;
20
+ padding: 6px 10px;
21
+ border-radius: 3px;
22
+ }
23
+ .c {
24
+ color: #999988;
25
+ font-style: italic;
26
+ }
27
+ .err {
28
+ color: #a61717;
29
+ background-color: #e3d2d2;
30
+ }
31
+ .k, .o {
32
+ font-weight: bold;
33
+ }
34
+ .cm {
35
+ color: #999988;
36
+ font-style: italic;
37
+ }
38
+ .cp {
39
+ color: #999999;
40
+ font-weight: bold;
41
+ }
42
+ .c1 {
43
+ color: #999988;
44
+ font-style: italic;
45
+ }
46
+ .cs {
47
+ color: #999999;
48
+ font-weight: bold;
49
+ font-style: italic;
50
+ }
51
+ .gd {
52
+ color: #000000;
53
+ background-color: #ffdddd;
16
54
  .x {
17
- color: $nord-color-4;
18
- }
19
-
20
- /* Keyword */
21
- .k {
22
- color: $nord-color-9;
23
- }
24
-
25
- /* Keyword.Constant */
26
- .kc {
27
- color: $nord-color-11;
28
- }
29
-
30
- /* Keyword.Declaration */
31
- .kd {
32
- color: $nord-color-9;
33
- }
34
- /* Keyword.Namespace */
35
- .kn {
36
- color: $nord-color-9;
37
- }
38
-
39
- /* Keyword.Pseudo */
40
- .kp {
41
- color: $nord-color-9;
42
- }
43
-
44
- /* Keyword.Reserved */
45
- .kr {
46
- color: $nord-color-10;
47
- }
48
-
49
- /* Keyword.Type */
50
- .kt {
51
- color: $nord-color-9;
52
- }
53
-
54
- /* Name */
55
- .n {
56
- color: $nord-color-4;
57
- }
58
-
59
- /* Name.Attribute */
60
- .na {
61
- color: $nord-color-7;
62
- }
63
-
64
- /* Name.Builtin */
65
- .nb {
66
- color: $nord-color-9;
67
- }
68
-
69
- /* Name.Builtin.Pseudo */
70
- .bp {
71
- color: $nord-color-9;
72
- }
73
-
74
- /* Name.Class */
75
- .nc {
76
- color: $nord-color-7;
77
- }
78
-
79
- /* Name.Constant */
80
- .no {
81
- color: $nord-color-7;
82
- }
83
-
84
- /* Name.Decorator */
85
- .nd {
86
- color: $nord-color-7;
87
- }
88
-
89
- /* Name.Entity */
90
- .ni {
91
- color: $nord-color-12;
92
- }
93
-
94
- /* Name.Exception */
95
- .ne {
96
- color: $nord-color-12;
97
- }
98
-
99
- /* Name.Function */
100
- .nf {
101
- color: $nord-color-8;
102
- }
103
-
104
- /* Name.Property */
105
- .py {
106
- color: $nord-color-9;
107
- }
108
-
109
- /* Name.Label */
110
- .nl {
111
- color: $nord-color-8;
112
- }
113
-
114
- /* Name.Namespace */
115
- .nn {
116
- color: $nord-color-8;
117
- }
118
-
119
- /* Name.Other */
120
- .nx {
121
- color: $nord-color-8;
122
- }
123
-
124
- /* Name.Tag */
125
- .nt {
126
- color: $nord-color-9;
127
- }
128
-
129
- /* Name.Variable */
130
- .nv {
131
- color: $nord-color-4;
132
- }
133
-
134
- /* Name.Variable.Class */
135
- .vc {
136
- color: $nord-color-4;
137
- }
138
-
139
- /* Name.Variable.Global */
140
- .vg {
141
- color: $nord-color-4;
142
- }
143
-
144
- /* Name.Variable.Instance */
145
- .vi {
146
- color: $nord-color-4;
147
- }
148
-
149
- /* Literal */
150
- .l {
151
- color: $nord-color-9;
152
- }
153
-
154
- /* Literal.Date */
155
- .ld {
156
- color: $nord-color-9;
157
- }
158
-
159
- /* Literal.String */
160
- .s {
161
- color: $nord-color-14;
162
- }
163
-
164
- /* Literal.String.Backtick */
165
- .sb {
166
- color: $nord-color-14;
167
- }
168
-
169
- /* Literal.String.Char */
170
- .sc {
171
- color: $nord-color-14;
172
- }
173
-
174
- /* Literal.String.Doc */
175
- .sd {
176
- color: $nord-color-14;
177
- }
178
-
179
- /* Literal.String.Double */
180
- .s2 {
181
- color: $nord-color-14;
182
- }
183
-
184
- /* Literal.String.Escape */
185
- .se {
186
- color: $nord-color-12;
187
- }
188
-
189
- /* Literal.String.Heredoc */
190
- .sh {
191
- color: $nord-color-14;
192
- }
193
-
194
- /* Literal.String.Interpol */
195
- .si {
196
- color: $nord-color-14;
197
- }
198
-
199
- /* Literal.String.Other */
200
- .sx {
201
- color: $nord-color-14;
202
- }
203
-
204
- /* Literal.String.Regex */
205
- .sr {
206
- color: $nord-color-13;
207
- }
208
-
209
- /* Literal.String.Single */
210
- .s1 {
211
- color: $nord-color-14;
212
- }
213
-
214
- /* Literal.String.Symbol */
215
- .ss {
216
- color: $nord-color-14;
217
- }
218
-
219
- /* Literal.Number */
220
- .m {
221
- color: $nord-color-15;
222
- }
223
-
224
- /* Literal.Number.Float */
225
- .mf {
226
- color: $nord-color-15;
227
- }
228
-
229
- /* Literal.Number.Hex */
230
- .mh {
231
- color: $nord-color-15;
232
- }
233
-
234
- /* Literal.Number.Integer */
235
- .mi {
236
- color: $nord-color-15;
237
- }
238
-
239
- /* Literal.Number.Integer.Long */
240
- .il {
241
- color: $nord-color-15;
242
- }
243
-
244
- /* Literal.Number.Oct */
245
- .mo {
246
- color: $nord-color-15;
247
- }
248
-
249
- /* Literal.Number.Hex */
250
- .mx {
251
- color: $nord-color-15;
252
- }
253
-
254
- /* Literal.Number.Bin */
255
- .mb {
256
- color: $nord-color-15;
257
- }
258
-
259
- /* Operator */
260
- .o {
261
- color: $nord-color-4;
262
- }
263
-
264
- /* Operator.Word */
265
- .ow {
266
- color: $nord-color-9;
267
- }
268
-
269
- /* Punctuation */
270
- .p {
271
- color: $nord-color-4;
272
- }
273
-
274
- /* Comment */
275
- .c {
276
- color: $nord-color-3;
277
- }
278
-
279
- /* Comment.Multiline */
280
- .cm {
281
- color: $nord-color-3;
282
- }
283
-
284
- /* Comment.Preproc */
285
- .cp {
286
- color: $nord-color-10;
287
- }
288
-
289
- /* Comment.Single */
290
- .c1 {
291
- color: $nord-color-3;
292
- }
293
-
294
- /* Comment.Special */
295
- .cs {
296
- color: $nord-color-3;
297
- }
298
-
299
- /* Generic */
300
- .g {
301
- color: $nord-color-4;
302
- }
303
-
304
- /* Generic.Deleted */
305
- .gd {
306
- color: $nord-color-13;
307
- }
308
-
309
- /* Generic.Emph */
310
- .ge {
311
- color: $nord-color-4;
312
- font-style: italic;
313
- }
314
-
315
- /* Generic.Error */
316
- .gr {
317
- color: $nord-color-11;
318
- }
319
-
320
- /* Generic.Heading */
321
- .gh {
322
- color: $nord-color-8;
323
- }
324
-
325
- /* Generic.Inserted */
326
- .gi {
327
- color: $nord-color-4;
328
- }
329
-
330
- /* Generic.Output */
331
- .go {
332
- color: $nord-color-4;
333
- }
334
-
335
- /* Generic.Prompt */
336
- .gp {
337
- color: $nord-color-4;
338
- }
339
-
340
- /* Generic.Strong */
341
- .gs {
342
- color: $nord-color-4;
343
- font-weight: bold;
344
- }
345
-
346
- /* Generic.Subheading */
347
- .gu {
348
- color: $nord-color-9;
349
- }
350
-
351
- /* Generic.Traceback */
352
- .gt {
353
- color: $nord-color-13;
354
- }
355
-
356
- /* Generic.Lineno */
357
- .gl {
358
- color: $nord-color-2;
359
- }
55
+ color: #000000;
56
+ background-color: #ffaaaa;
57
+ }
58
+ }
59
+ .ge {
60
+ font-style: italic;
61
+ }
62
+ .gr {
63
+ color: #aa0000;
64
+ }
65
+ .gh {
66
+ color: #999999;
67
+ }
68
+ .gi {
69
+ color: #000000;
70
+ background-color: #ddffdd;
71
+ .x {
72
+ color: #000000;
73
+ background-color: #aaffaa;
74
+ }
75
+ }
76
+ .go {
77
+ color: #888888;
78
+ }
79
+ .gp {
80
+ color: #555555;
81
+ }
82
+ .gs {
83
+ font-weight: bold;
84
+ }
85
+ .gu {
86
+ color: #800080;
87
+ font-weight: bold;
88
+ }
89
+ .gt {
90
+ color: #aa0000;
91
+ }
92
+ .kc, .kd, .kn, .kp, .kr {
93
+ font-weight: bold;
94
+ }
95
+ .kt {
96
+ color: #445588;
97
+ font-weight: bold;
98
+ }
99
+ .m {
100
+ color: #009999;
101
+ }
102
+ .s {
103
+ color: #dd1144;
104
+ }
105
+ .n {
106
+ color: #333333;
107
+ }
108
+ .na {
109
+ color: teal;
110
+ }
111
+ .nb {
112
+ color: #0086b3;
113
+ }
114
+ .nc {
115
+ color: #445588;
116
+ font-weight: bold;
117
+ }
118
+ .no {
119
+ color: teal;
120
+ }
121
+ .ni {
122
+ color: purple;
123
+ }
124
+ .ne, .nf {
125
+ color: #990000;
126
+ font-weight: bold;
127
+ }
128
+ .nn {
129
+ color: #555555;
130
+ }
131
+ .nt {
132
+ color: navy;
133
+ }
134
+ .nv {
135
+ color: teal;
136
+ }
137
+ .ow {
138
+ font-weight: bold;
139
+ }
140
+ .w {
141
+ color: #bbbbbb;
142
+ }
143
+ .mf, .mh, .mi, .mo {
144
+ color: #009999;
145
+ }
146
+ .sb, .sc, .sd, .s2, .se, .sh, .si, .sx {
147
+ color: #dd1144;
148
+ }
149
+ .sr {
150
+ color: #009926;
151
+ }
152
+ .s1 {
153
+ color: #dd1144;
154
+ }
155
+ .ss {
156
+ color: #990073;
157
+ }
158
+ .bp {
159
+ color: #999999;
160
+ }
161
+ .vc, .vg, .vi {
162
+ color: teal;
163
+ }
164
+ .il {
165
+ color: #009999;
166
+ }
167
+ .gc {
168
+ color: #999;
169
+ background-color: #EAF2F5;
170
+ }
360
171
  }