jekyll-theme-yat 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +20 -9
- data/_data/translate_langs.yml +0 -4
- data/_includes/functions/get_reading_time.html +41 -0
- data/_includes/head.html +8 -1
- data/_includes/sidebar/article-menu.html +3 -2
- data/_includes/views/banner.html +3 -36
- data/_includes/views/header.html +2 -4
- data/_includes/views/pagination.html +16 -3
- data/_includes/views/paginator.html +10 -6
- data/_includes/views/post-header.html +16 -2
- data/_layouts/post.html +14 -5
- data/_sass/misc/article-menu.scss +28 -14
- data/_sass/misc/common-list.scss +4 -8
- data/_sass/misc/google-translate.scss +14 -3
- data/_sass/yat.scss +11 -12
- data/_sass/yat/_base.scss +40 -14
- data/_sass/yat/_layout.scss +325 -28
- data/assets/css/main.scss +4 -8
- data/assets/js/main.js +14 -0
- metadata +8 -8
- data/_sass/yat/_syntax-highlighting.scss +0 -105
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98ac82995fa7fe0f023cfdbbb2aa005413c8839adfaf3db2cf1a44b6b28b952d
|
4
|
+
data.tar.gz: 2e955f528fe54844e7ffbf5605a2f93b3eaf0f5bfa9a9465a1b4dbd518cb80bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c860e189b2e200c9723262207f8d5d8e69840c710faa4375b84ef99ac542a11fd30dfb19a09dafbc7bdf95fd38c86b4ad54c26e36b1fd3f8fa0e7147457db56
|
7
|
+
data.tar.gz: 63e1b8843f8ae8be5234623a914f32cbc7411f9322c5b9b083cedafe2dee51255c41b93dddc378e8046cf0dae57b286b4a886a4d5118037e52d758c41885b672
|
data/README.md
CHANGED
@@ -1,11 +1,21 @@
|
|
1
1
|
# jekyll-theme-yat
|
2
|
+
[](http://badge.fury.io/rb/jekyll-theme-yat)
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
4
|
+
[](https://liberapay.com/jeffreytse)
|
5
|
+
[](https://patreon.com/jeffreytse)
|
6
|
+
<a href="https://ko-fi.com/jeffreytse">
|
7
|
+
<img height="20" src="https://www.ko-fi.com/img/githubbutton_sm.svg"
|
8
|
+
alt="Donate (Ko-fi)" />
|
9
|
+
</a>
|
2
10
|
|
3
|
-
|
11
|
+
Hey, nice to meet you, you found this Jekyll theme. Here the yet another theme is a modern theme, and it's quiet clear, clean and neat for writers and posts.
|
4
12
|
|
5
|
-
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
13
|
|
7
|
-
|
14
|
+
<p align="center">
|
8
15
|
|
16
|
+
<img src="https://user-images.githubusercontent.com/9413601/87244819-c34ada80-c472-11ea-9c67-5827dd55d3c7.png" alt="demo-screenshot" width="720px" style="box-shadow: 0px 0px 18px 5px #f2f2f2" />
|
17
|
+
|
18
|
+
</p>
|
9
19
|
|
10
20
|
## Installation
|
11
21
|
|
@@ -33,10 +43,6 @@ Or install it yourself as:
|
|
33
43
|
|
34
44
|
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
35
45
|
|
36
|
-
## Contributing
|
37
|
-
|
38
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/jeffreytse/jekyll-theme-yat. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
39
|
-
|
40
46
|
## Development
|
41
47
|
|
42
48
|
To set up your environment to develop this theme, run `bundle install`.
|
@@ -46,7 +52,12 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
|
|
46
52
|
When your theme is released, only the files in `_data`, `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
53
|
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-yat.gemspec` accordingly.
|
48
54
|
|
49
|
-
##
|
55
|
+
## Contributing
|
56
|
+
|
57
|
+
Issues and Pull Requests are greatly appreciated. If you've never contributed to an open source project before I'm more than happy to walk you through how to create a pull request.
|
50
58
|
|
51
|
-
|
59
|
+
You can start by [opening an issue](https://github.com/jeffreytse/jekyll-theme-yat/issues/new) describing the problem that you're looking to resolve and we'll go from there.
|
60
|
+
|
61
|
+
## License
|
52
62
|
|
63
|
+
This theme is licensed under the [MIT license](https://opensource.org/licenses/mit-license.php) © JeffreyTse.
|
data/_data/translate_langs.yml
CHANGED
@@ -13,10 +13,6 @@
|
|
13
13
|
img: https://www.countryflags.io/cn/flat/64.png
|
14
14
|
text: Chinese(Simple)
|
15
15
|
|
16
|
-
- lang: zh-TW
|
17
|
-
img: https://www.countryflags.io/tw/flat/64.png
|
18
|
-
text: Chinese(Traditional)
|
19
|
-
|
20
16
|
- lang: ja
|
21
17
|
img: https://www.countryflags.io/jp/flat/64.png
|
22
18
|
text: Japan
|
@@ -0,0 +1,41 @@
|
|
1
|
+
{% if include.article %}
|
2
|
+
{% assign article = include.article %}
|
3
|
+
{% endif %}
|
4
|
+
|
5
|
+
{% if include.speed %}
|
6
|
+
{% assign speed = include.speed %}
|
7
|
+
{% else %}
|
8
|
+
{% assign speed = 160 %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% assign total_mins = article
|
12
|
+
| number_of_words
|
13
|
+
| divided_by: speed
|
14
|
+
| at_least: 1 %}
|
15
|
+
|
16
|
+
{% assign hours = total_mins | divided_by: 60 %}
|
17
|
+
{% assign mins = total_mins | modulo: 60 %}
|
18
|
+
|
19
|
+
{% assign return = "About" %}
|
20
|
+
|
21
|
+
{% if hours > 0 %}
|
22
|
+
{% assign unit = "hour" %}
|
23
|
+
{% if hours > 1 %}
|
24
|
+
{% assign unit = unit | append: "s" %}
|
25
|
+
{% endif %}
|
26
|
+
{% assign return = return
|
27
|
+
| append: " "
|
28
|
+
| append: hours
|
29
|
+
| append: " "
|
30
|
+
| append: unit %}
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
{% assign unit = "min" %}
|
34
|
+
{% if mins > 1 %}
|
35
|
+
{% assign unit = unit | append: "s" %}
|
36
|
+
{% endif %}
|
37
|
+
{% assign return = return
|
38
|
+
| append: " "
|
39
|
+
| append: mins
|
40
|
+
| append: " "
|
41
|
+
| append: unit %}
|
data/_includes/head.html
CHANGED
@@ -6,10 +6,17 @@
|
|
6
6
|
{%- seo -%}
|
7
7
|
<link rel="shortcut icon" href="{{ site.favicon }}">
|
8
8
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
9
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-noto-sans@0.0.72/index.min.css">
|
10
|
+
<link rel="stylesheet"
|
11
|
+
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/default.min.css">
|
12
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js"></script>
|
13
|
+
<!-- and it's easy to individually load additional languages -->
|
14
|
+
<script charset="UTF-8"
|
15
|
+
src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/languages/go.min.js"></script>
|
9
16
|
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
10
17
|
<script src="{{ "/assets/js/main.js" | relative_url }}"></script>
|
11
18
|
{%- feed_meta -%}
|
12
19
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
13
|
-
|
20
|
+
{%- include extensions/google-analytics.html -%}
|
14
21
|
{%- endif -%}
|
15
22
|
</head>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
</style>
|
8
8
|
|
9
9
|
<div class="post-menu">
|
10
|
-
<div class="post-menu-title">
|
10
|
+
<div class="post-menu-title">TOC</div>
|
11
11
|
<div class="post-menu-content"></div>
|
12
12
|
</div>
|
13
13
|
|
@@ -49,7 +49,8 @@
|
|
49
49
|
var headerHeight = headerTop + headerHeight + 20;
|
50
50
|
if (headingRect.top <= headerHeight) {
|
51
51
|
var id = 'h-' + h.getAttribute('id');
|
52
|
-
var
|
52
|
+
var a = menuContent.querySelector('a[href="#' + id + '"]');
|
53
|
+
var curActive = a.parentNode;
|
53
54
|
if (curActive) {
|
54
55
|
curActive.classList.add('active');
|
55
56
|
}
|
data/_includes/views/banner.html
CHANGED
@@ -19,20 +19,9 @@
|
|
19
19
|
{% assign subheading = return %}
|
20
20
|
|
21
21
|
{% if banner %}
|
22
|
-
|
23
|
-
{% assign auto_banner = true %}
|
24
|
-
{% assign array = banner | split: '/' %}
|
25
|
-
{% assign protocol = array[0] %}
|
26
|
-
|
27
|
-
{% if array.size > 1 and (protocol == '' or protocol == 'http:' or protocol == 'https:') %}
|
28
|
-
{% assign auto_banner = false %}
|
29
|
-
{% endif %}
|
30
|
-
|
31
22
|
<section class="page-banner">
|
32
23
|
<div class="page-banner-img">
|
33
|
-
|
34
|
-
<div style="background-image: url({{ banner }})"></div>
|
35
|
-
{%- endif -%}
|
24
|
+
<div style="background-image: url({{ banner }})"></div>
|
36
25
|
</div>
|
37
26
|
<div class="wrapper">
|
38
27
|
<div class="page-banner-inner">
|
@@ -48,36 +37,14 @@
|
|
48
37
|
<h1 class="page-banner-heading">
|
49
38
|
{{ heading | default: page.title | escape }}
|
50
39
|
</h1>
|
51
|
-
<
|
40
|
+
<h2 class="page-banner-subheading">
|
52
41
|
{{ subheading | default: page.subtitle | escape }}
|
53
|
-
</
|
42
|
+
</h2>
|
54
43
|
</div>
|
55
44
|
|
56
45
|
{%- endif -%}
|
57
46
|
</div>
|
58
47
|
</div>
|
59
48
|
</section>
|
60
|
-
|
61
|
-
{%- if auto_banner -%}
|
62
|
-
|
63
|
-
{%- assign selector = ".page-banner-img" -%}
|
64
|
-
|
65
|
-
{%- if banner == "default" -%}
|
66
|
-
|
67
|
-
{%- assign heading = page.heading | default: page.title | escape -%}
|
68
|
-
{%- assign subheading = page.subheading | default: page.subtitle | escape -%}
|
69
|
-
{%- assign seed = page.date | append: heading | append: subheading -%}
|
70
|
-
|
71
|
-
{%- else -%}
|
72
|
-
|
73
|
-
{%- assign seed = 'theme-' | append: banner -%}
|
74
|
-
|
75
|
-
{%- endif -%}
|
76
|
-
|
77
|
-
{%- assign zoom = 1.5 -%}
|
78
|
-
{%- include extensions/trianglify.html -%}
|
79
|
-
|
80
|
-
{%- endif -%}
|
81
|
-
|
82
49
|
{%- endif -%}
|
83
50
|
|
data/_includes/views/header.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
{%- include functions.html func='log' level='debug' msg='Get header_transparent value' -%}
|
8
8
|
{% assign name = 'header_transparent' %}
|
9
9
|
{%- include functions.html func='get_value' -%}
|
10
|
-
{% assign header_transparent = return %}
|
10
|
+
{% assign header_transparent = return | default: true %}
|
11
11
|
|
12
12
|
{%- if banner and header_transparent -%}
|
13
13
|
{%- assign header_transparent_class = "site-header-transparent" -%}
|
@@ -39,9 +39,7 @@
|
|
39
39
|
{%- for path in page_paths -%}
|
40
40
|
{%- assign my_page = site.pages | where: "path", path | first -%}
|
41
41
|
{%- if my_page.title -%}
|
42
|
-
<a class="page-link" href="{{ my_page.url | relative_url }}">
|
43
|
-
{{ my_page.title | upcase | escape }}
|
44
|
-
</a>
|
42
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | upcase | escape }}</a>
|
45
43
|
{%- endif -%}
|
46
44
|
{%- endfor -%}
|
47
45
|
|
@@ -11,16 +11,29 @@
|
|
11
11
|
{%- for post in paginator.posts -%}
|
12
12
|
<li>
|
13
13
|
{%- assign date_format = site.yat.date_format | default: "%b %-d, %Y" -%}
|
14
|
-
|
15
|
-
|
14
|
+
|
15
|
+
{% assign article = post.content %}
|
16
|
+
{%- include functions.html func='get_reading_time' -%}
|
17
|
+
{% assign reading_time = return %}
|
18
|
+
|
19
|
+
<h2 class="post-title">
|
16
20
|
{%- assign post_url = post.url | relative_url -%}
|
17
21
|
<a class="post-link" href="{{ post_url }}">
|
18
22
|
{{ post.title | escape }}
|
19
23
|
</a>
|
20
|
-
</
|
24
|
+
</h2>
|
25
|
+
<div class="post-meta">
|
26
|
+
<span class="post-date"><i class="fa fa-calendar"></i> {{ post.date | date: date_format }}</span>
|
27
|
+
<span class="post-reading-time left-vsplit"><i class="fa fa-clock-o"></i> {{ reading_time }}</span>
|
28
|
+
</div>
|
21
29
|
<p class="post-excerpt">
|
22
30
|
{{ post.content | strip_html | truncatewords: 50 }}
|
23
31
|
</p>
|
32
|
+
<div class="post-tags">
|
33
|
+
{%- for tag in post.tags -%}
|
34
|
+
<a class="post-tag" href="/tags.html#{{tag}}">#{{tag}}</a>
|
35
|
+
{%- endfor -%}
|
36
|
+
</div>
|
24
37
|
</li>
|
25
38
|
{%- endfor -%}
|
26
39
|
</ul>
|
@@ -3,19 +3,23 @@
|
|
3
3
|
{% endif %}
|
4
4
|
|
5
5
|
{% if paginator.posts.size > 0 %}
|
6
|
-
<div class="
|
6
|
+
<div class="paginator">
|
7
|
+
<span class="previous">
|
7
8
|
{% if paginator.previous_page %}
|
8
|
-
<a href="{{ paginator.previous_page_path }}"
|
9
|
+
<a href="{{ paginator.previous_page_path }}">Prev</a>
|
9
10
|
{% else %}
|
10
|
-
<span
|
11
|
+
<span>Prev</span>
|
11
12
|
{% endif %}
|
13
|
+
</span>
|
12
14
|
|
13
|
-
<span> {{ paginator.page }}/{{ paginator.total_pages }}</span>
|
15
|
+
<span class="indicator"> {{ paginator.page }}/{{ paginator.total_pages }}</span>
|
14
16
|
|
17
|
+
<span class="next">
|
15
18
|
{% if paginator.next_page %}
|
16
|
-
<a href="{{ paginator.next_page_path }}">Next
|
19
|
+
<a href="{{ paginator.next_page_path }}">Next</a>
|
17
20
|
{% else %}
|
18
|
-
<span>Next
|
21
|
+
<span>Next</span>
|
19
22
|
{% endif %}
|
23
|
+
</span>
|
20
24
|
</div>
|
21
25
|
{% endif %}
|
@@ -1,11 +1,25 @@
|
|
1
1
|
<header class="post-header">
|
2
2
|
<h1 class="post-title p-name" itemprop="name headline">{{ heading | default: page.title | escape }}</h1>
|
3
|
-
<h3>{{ subheading | default: page.subtitle | escape }}</h3>
|
3
|
+
<h3 class="post-subtitle">{{ subheading | default: page.subtitle | escape }}</h3>
|
4
4
|
|
5
5
|
<p class="post-meta">
|
6
6
|
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
7
7
|
{%- assign date_format = site.yat.date_format | default: "%b %-d, %Y" -%}
|
8
|
-
{{ page.date | date: date_format }}
|
8
|
+
<i class="fa fa-calendar"></i> {{ page.date | date: date_format }}
|
9
9
|
</time>
|
10
|
+
|
11
|
+
{% assign article = page.content %}
|
12
|
+
{%- include functions.html func='get_reading_time' -%}
|
13
|
+
{% assign reading_time = return %}
|
14
|
+
<span class="post-reading-time left-vsplit"><i class="fa fa-clock-o"></i> {{ reading_time }}</span>
|
10
15
|
</p>
|
16
|
+
|
17
|
+
{%- if page.tags.size > 0 -%}
|
18
|
+
<div class="post-tags">
|
19
|
+
{%- for tag in page.tags -%}
|
20
|
+
<a class="post-tag" href="/tags.html#{{tag}}">#{{tag}}</a>
|
21
|
+
{%- endfor -%}
|
22
|
+
</div>
|
23
|
+
{%- endif -%}
|
24
|
+
|
11
25
|
</header>
|
data/_layouts/post.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
2
|
layout: framework
|
3
|
-
banner:
|
3
|
+
banner:
|
4
4
|
banner_html: post-header.html
|
5
5
|
sidebar:
|
6
6
|
- article-menu
|
@@ -21,18 +21,29 @@ sidebar:
|
|
21
21
|
|
22
22
|
<div class="post-nav">
|
23
23
|
{%- if page.previous -%}
|
24
|
-
|
24
|
+
<a class="previous" href="{{ page.previous.url }}" title="{{
|
25
|
+
page.previous.title | escape }}">{{ page.previous.title | escape | truncatewords: 6 }}</a>
|
25
26
|
{%- else -%}
|
26
27
|
<span></span>
|
27
28
|
{%- endif -%}
|
28
29
|
|
29
30
|
{%- if page.next -%}
|
30
|
-
|
31
|
+
<a class="next" href="{{ page.next.url }}" title="{{ page.next.title | escape }}">{{ page.next.title | escape | truncatewords: 6 }}</a>
|
31
32
|
{%- else -%}
|
32
33
|
<span></span>
|
33
34
|
{%- endif -%}
|
34
35
|
</div>
|
35
36
|
|
37
|
+
<div class="post-related">
|
38
|
+
<div>Related Articles</div>
|
39
|
+
<ul>
|
40
|
+
{% assign posts = site[page.collection] | sample:4 %}
|
41
|
+
{%- for post in posts -%}
|
42
|
+
<li><a class="post-link" href="{{post.url}}" title="{{ page.next.title | escape }}">{{ post.title | escape | truncatewords: 12 }}</a></li>
|
43
|
+
{%- endfor -%}
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
|
36
47
|
{%- if page.comments != false -%}
|
37
48
|
|
38
49
|
{%- if site.disqus.shortname -%}
|
@@ -47,5 +58,3 @@ sidebar:
|
|
47
58
|
|
48
59
|
</section>
|
49
60
|
</div>
|
50
|
-
|
51
|
-
|
@@ -7,40 +7,54 @@
|
|
7
7
|
max-width: 250px;
|
8
8
|
|
9
9
|
.post-menu-title {
|
10
|
-
font-size: $base-font-size * 1.
|
11
|
-
margin-bottom:
|
10
|
+
font-size: $base-font-size * 1.5;
|
11
|
+
margin-bottom: 14px;
|
12
12
|
font-weight: 600;
|
13
|
-
color: #
|
14
|
-
|
15
|
-
&:before {
|
16
|
-
content: '\f02e';
|
17
|
-
margin-right: 5px;
|
18
|
-
font-size: $base-font-size * 1.15;
|
19
|
-
}
|
13
|
+
color: #222;
|
20
14
|
}
|
21
15
|
|
22
16
|
.post-menu-content {
|
23
17
|
ul {
|
18
|
+
border-left: 1px solid #e9ecef;
|
19
|
+
$indent: $base-font-size / 4;
|
20
|
+
$active-bgcolor: #ecebec;
|
21
|
+
|
24
22
|
@for $i from 2 to 7 {
|
25
23
|
.h-h#{$i} {
|
26
|
-
padding-
|
27
|
-
font-size:
|
24
|
+
padding-inline-start: $indent + ($i - 2) * $base-font-size * 1.3;
|
25
|
+
font-size: $base-font-size * 1.2;
|
26
|
+
line-height: 1.4;
|
28
27
|
}
|
29
28
|
}
|
30
29
|
|
31
30
|
a {
|
32
31
|
display: flex;
|
33
|
-
padding:
|
32
|
+
padding: 2px 8px;
|
33
|
+
color: darken($text-color, 10%);
|
34
34
|
|
35
35
|
* {
|
36
36
|
pointer-events: none;
|
37
37
|
}
|
38
|
+
|
39
|
+
&:hover {
|
40
|
+
text-decoration: none;
|
41
|
+
color: lighten($text-color, 20%)!important;
|
42
|
+
}
|
38
43
|
}
|
39
44
|
|
40
45
|
.active {
|
41
|
-
color:
|
42
|
-
background: mix(invert($theme-color), darkorange);
|
46
|
+
background-color: $active-bgcolor;
|
43
47
|
transition: background 0.5s;
|
48
|
+
border-left: 2px solid #202020;
|
49
|
+
margin-left: -2px;
|
50
|
+
|
51
|
+
&:hover {
|
52
|
+
background-color: lighten($active-bgcolor, 2%);
|
53
|
+
}
|
54
|
+
|
55
|
+
a {
|
56
|
+
color: #121416;
|
57
|
+
}
|
44
58
|
}
|
45
59
|
}
|
46
60
|
}
|
data/_sass/misc/common-list.scss
CHANGED
@@ -3,10 +3,6 @@
|
|
3
3
|
*/
|
4
4
|
.common-list {
|
5
5
|
@include relative-font-size(1.0);
|
6
|
-
|
7
|
-
background: #eaeaea;
|
8
|
-
box-shadow: 0px 0px 3px 0px #a9a9a9;
|
9
|
-
border-radius: 3px;
|
10
6
|
min-width: 200px;
|
11
7
|
|
12
8
|
ul {
|
@@ -15,7 +11,7 @@
|
|
15
11
|
}
|
16
12
|
|
17
13
|
li {
|
18
|
-
border-bottom: solid 1px #
|
14
|
+
border-bottom: solid 1px #00000018;
|
19
15
|
|
20
16
|
&:last-child {
|
21
17
|
border-bottom: none;
|
@@ -26,8 +22,8 @@
|
|
26
22
|
justify-content: space-between;
|
27
23
|
padding: 8px 12px;
|
28
24
|
text-decoration: none;
|
29
|
-
font-weight:
|
30
|
-
color:
|
25
|
+
font-weight: normal;
|
26
|
+
color: $text-color;
|
31
27
|
transition: background 0.2s;
|
32
28
|
|
33
29
|
&:hover {
|
@@ -40,7 +36,7 @@
|
|
40
36
|
display: inline-block;
|
41
37
|
border-radius: 10px;
|
42
38
|
align-self: center;
|
43
|
-
background:
|
39
|
+
background: #000000bd;
|
44
40
|
padding: 0px 8px;
|
45
41
|
margin-left: 20px;
|
46
42
|
color: $white-color;
|