jekyll-theme-resuchirp 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +94 -0
- data/_data/authors.yml +17 -0
- data/_data/contact.yml +28 -0
- data/_data/locales/ar.yml +91 -0
- data/_data/locales/bg-BG.yml +81 -0
- data/_data/locales/cs-CZ.yml +89 -0
- data/_data/locales/de-DE.yml +80 -0
- data/_data/locales/el-GR.yml +91 -0
- data/_data/locales/en.yml +91 -0
- data/_data/locales/es-ES.yml +77 -0
- data/_data/locales/fi-FI.yml +90 -0
- data/_data/locales/fr-FR.yml +77 -0
- data/_data/locales/hu-HU.yml +79 -0
- data/_data/locales/id-ID.yml +77 -0
- data/_data/locales/it-IT.yml +90 -0
- data/_data/locales/ko-KR.yml +84 -0
- data/_data/locales/my-MM.yml +77 -0
- data/_data/locales/pt-BR.yml +77 -0
- data/_data/locales/ru-RU.yml +77 -0
- data/_data/locales/sl-SI.yml +91 -0
- data/_data/locales/sv-SE.yml +91 -0
- data/_data/locales/th.yml +91 -0
- data/_data/locales/tr-TR.yml +77 -0
- data/_data/locales/uk-UA.yml +77 -0
- data/_data/locales/vi-VN.yml +76 -0
- data/_data/locales/zh-CN.yml +83 -0
- data/_data/locales/zh-TW.yml +83 -0
- data/_data/origin/basic.yml +48 -0
- data/_data/origin/cors.yml +59 -0
- data/_data/share.yml +25 -0
- data/_includes/comments/disqus.html +49 -0
- data/_includes/comments/giscus.html +64 -0
- data/_includes/comments/utterances.html +51 -0
- data/_includes/comments.html +5 -0
- data/_includes/datetime.html +19 -0
- data/_includes/embed/twitch.html +4 -0
- data/_includes/embed/youtube.html +6 -0
- data/_includes/favicons.html +17 -0
- data/_includes/footer.html +34 -0
- data/_includes/google-analytics.html +14 -0
- data/_includes/head.html +95 -0
- data/_includes/js-selector.html +106 -0
- data/_includes/jsdelivr-combine.html +26 -0
- data/_includes/lang.html +8 -0
- data/_includes/language-alias.html +70 -0
- data/_includes/mermaid.html +58 -0
- data/_includes/metadata-hook.html +1 -0
- data/_includes/mode-toggle.html +143 -0
- data/_includes/no-linenos.html +10 -0
- data/_includes/origin-type.html +13 -0
- data/_includes/post-nav.html +37 -0
- data/_includes/post-paginator.html +89 -0
- data/_includes/post-sharing.html +37 -0
- data/_includes/read-time.html +37 -0
- data/_includes/refactor-content.html +286 -0
- data/_includes/related-posts.html +97 -0
- data/_includes/search-loader.html +45 -0
- data/_includes/search-results.html +10 -0
- data/_includes/sidebar.html +104 -0
- data/_includes/toc.html +13 -0
- data/_includes/topbar.html +70 -0
- data/_includes/trending-tags.html +46 -0
- data/_includes/update-list.html +39 -0
- data/_layouts/archives.html +36 -0
- data/_layouts/categories.html +138 -0
- data/_layouts/category.html +24 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +76 -0
- data/_layouts/home.html +110 -0
- data/_layouts/page.html +68 -0
- data/_layouts/post.html +133 -0
- data/_layouts/tag.html +23 -0
- data/_layouts/tags.html +22 -0
- data/_sass/addon/commons.scss +1578 -0
- data/_sass/addon/module.scss +178 -0
- data/_sass/addon/syntax.scss +271 -0
- data/_sass/addon/variables.scss +27 -0
- data/_sass/colors/dark-syntax.scss +87 -0
- data/_sass/colors/dark-typography.scss +151 -0
- data/_sass/colors/light-syntax.scss +84 -0
- data/_sass/colors/light-typography.scss +109 -0
- data/_sass/jekyll-theme-chirpy.scss +19 -0
- data/_sass/layout/archives.scss +144 -0
- data/_sass/layout/categories.scss +83 -0
- data/_sass/layout/category-tag.scss +77 -0
- data/_sass/layout/home.scss +219 -0
- data/_sass/layout/post.scss +414 -0
- data/_sass/layout/tags.scss +19 -0
- data/_sass/variables-hook.scss +3 -0
- data/assets/404.html +16 -0
- data/assets/css/style.scss +6 -0
- data/assets/feed.xml +61 -0
- data/assets/img/favicons/android-chrome-192x192.png +0 -0
- data/assets/img/favicons/android-chrome-512x512.png +0 -0
- data/assets/img/favicons/apple-touch-icon.png +0 -0
- data/assets/img/favicons/browserconfig.xml +13 -0
- data/assets/img/favicons/favicon-16x16.png +0 -0
- data/assets/img/favicons/favicon-32x32.png +0 -0
- data/assets/img/favicons/favicon.ico +0 -0
- data/assets/img/favicons/mstile-150x150.png +0 -0
- data/assets/img/favicons/site.webmanifest +26 -0
- data/assets/js/data/search.json +20 -0
- data/assets/js/data/swcache.js +50 -0
- data/assets/js/pwa/app.js +47 -0
- data/assets/js/pwa/sw.js +90 -0
- data/assets/js/pwa/unregister.js +12 -0
- data/assets/robots.txt +10 -0
- metadata +255 -0
@@ -0,0 +1,84 @@
|
|
1
|
+
/*
|
2
|
+
* The syntax light mode code snippet colors.
|
3
|
+
*/
|
4
|
+
|
5
|
+
@mixin light-syntax {
|
6
|
+
/* based on: <https://raw.githubusercontent.com/jwarby/pygments-css/master/github.css> */
|
7
|
+
.highlight .hll { background-color: #ffffcc; }
|
8
|
+
.highlight .c { color: #717165; font-style: italic; } /* Comment */
|
9
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2; } /* Error */
|
10
|
+
.highlight .k { color: #000000; font-weight: bold; } /* Keyword */
|
11
|
+
.highlight .o { color: #000000; font-weight: bold; } /* Operator */
|
12
|
+
.highlight .cm { color: #717165; font-style: italic; } /* Comment.Multiline */
|
13
|
+
.highlight .cp { color: #707070; font-style: italic; } /* Comment.Preproc */
|
14
|
+
.highlight .c1 { color: #717165; font-style: italic; } /* Comment.Single */
|
15
|
+
.highlight .cs { color: #707070; font-weight: bold; font-style: italic; } /* Comment.Special */
|
16
|
+
.highlight .gd { color: #d01040; background-color: #ffdddd; } /* Generic.Deleted */
|
17
|
+
.highlight .ge { color: #000000; font-style: italic; } /* Generic.Emph */
|
18
|
+
.highlight .gr { color: #aa0000; } /* Generic.Error */
|
19
|
+
.highlight .gh { color: #707070; } /* Generic.Heading */
|
20
|
+
.highlight .gi { color: #005e5e; background-color: #ddffdd; } /* Generic.Inserted */
|
21
|
+
.highlight .go { color: #707070; } /* Generic.Output */
|
22
|
+
.highlight .gp { color: #555555; } /* Generic.Prompt */
|
23
|
+
.highlight .gs { font-weight: bold; } /* Generic.Strong */
|
24
|
+
.highlight .gu { color: #aaaaaa; } /* Generic.Subheading */
|
25
|
+
.highlight .gt { color: #aa0000; } /* Generic.Traceback */
|
26
|
+
.highlight .kc { color: #000000; font-weight: bold; } /* Keyword.Constant */
|
27
|
+
.highlight .kd { color: #000000; font-weight: bold; } /* Keyword.Declaration */
|
28
|
+
.highlight .kn { color: #000000; font-weight: bold; } /* Keyword.Namespace */
|
29
|
+
.highlight .kp { color: #000000; font-weight: bold; } /* Keyword.Pseudo */
|
30
|
+
.highlight .kr { color: #000000; font-weight: bold; } /* Keyword.Reserved */
|
31
|
+
.highlight .kt { color: #445588; font-weight: bold; } /* Keyword.Type */
|
32
|
+
.highlight .m { color: #009999; } /* Literal.Number */
|
33
|
+
.highlight .s { color: #d01040; } /* Literal.String */
|
34
|
+
.highlight .na { color: #005e5e; } /* Name.Attribute */
|
35
|
+
.highlight .nb { color: #0078a1; } /* Name.Builtin */
|
36
|
+
.highlight .nc { color: #445588; font-weight: bold; } /* Name.Class */
|
37
|
+
.highlight .no { color: #005e5e; } /* Name.Constant */
|
38
|
+
.highlight .nd { color: #3c5d5d; font-weight: bold; } /* Name.Decorator */
|
39
|
+
.highlight .ni { color: #800080; } /* Name.Entity */
|
40
|
+
.highlight .ne { color: #990000; font-weight: bold; } /* Name.Exception */
|
41
|
+
.highlight .nf { color: #990000; font-weight: bold; } /* Name.Function */
|
42
|
+
.highlight .nl { color: #990000; font-weight: bold; } /* Name.Label */
|
43
|
+
.highlight .nn { color: #555555; } /* Name.Namespace */
|
44
|
+
.highlight .nt { color: #000080; } /* Name.Tag */
|
45
|
+
.highlight .nv { color: #005e5e; } /* Name.Variable */
|
46
|
+
.highlight .ow { color: #000000; font-weight: bold; } /* Operator.Word */
|
47
|
+
.highlight .w { color: #bbbbbb; } /* Text.Whitespace */
|
48
|
+
.highlight .mf { color: #009999; } /* Literal.Number.Float */
|
49
|
+
.highlight .mh { color: #009999; } /* Literal.Number.Hex */
|
50
|
+
.highlight .mi { color: #009999; } /* Literal.Number.Integer */
|
51
|
+
.highlight .mo { color: #009999; } /* Literal.Number.Oct */
|
52
|
+
.highlight .sb { color: #d01040; } /* Literal.String.Backtick */
|
53
|
+
.highlight .sc { color: #d01040; } /* Literal.String.Char */
|
54
|
+
.highlight .sd { color: #d01040; } /* Literal.String.Doc */
|
55
|
+
.highlight .s2 { color: #d01040; } /* Literal.String.Double */
|
56
|
+
.highlight .se { color: #d01040; } /* Literal.String.Escape */
|
57
|
+
.highlight .sh { color: #d01040; } /* Literal.String.Heredoc */
|
58
|
+
.highlight .si { color: #d01040; } /* Literal.String.Interpol */
|
59
|
+
.highlight .sx { color: #d01040; } /* Literal.String.Other */
|
60
|
+
.highlight .sr { color: #009926; } /* Literal.String.Regex */
|
61
|
+
.highlight .s1 { color: #d01040; } /* Literal.String.Single */
|
62
|
+
.highlight .ss { color: #990073; } /* Literal.String.Symbol */
|
63
|
+
.highlight .bp { color: #707070; } /* Name.Builtin.Pseudo */
|
64
|
+
.highlight .vc { color: #005e5e; } /* Name.Variable.Class */
|
65
|
+
.highlight .vg { color: #005e5e; } /* Name.Variable.Global */
|
66
|
+
.highlight .vi { color: #005e5e; } /* Name.Variable.Instance */
|
67
|
+
.highlight .il { color: #009999; } /* Literal.Number.Integer.Long */
|
68
|
+
|
69
|
+
/* --- custom light colors --- */
|
70
|
+
--language-border-color: rgba(172, 169, 169, 0.2);
|
71
|
+
--highlight-bg-color: #fcfcfc;
|
72
|
+
--highlighter-rouge-color: #3f596f;
|
73
|
+
--highlight-lineno-color: #959595;
|
74
|
+
--inline-code-bg: #f6f6f7;
|
75
|
+
--code-header-text-color: #a3a3a3;
|
76
|
+
--code-header-muted-color: #e2e1e1;
|
77
|
+
--code-header-icon-color: #c9c8c8;
|
78
|
+
--clipboard-checked-color: #43c743;
|
79
|
+
--code-snippets-color: #b01662;
|
80
|
+
|
81
|
+
[class^='prompt-'] {
|
82
|
+
--inline-code-bg: #fbfafa;
|
83
|
+
}
|
84
|
+
} /* light-syntax */
|
@@ -0,0 +1,109 @@
|
|
1
|
+
/*
|
2
|
+
* The syntax light mode typography colors
|
3
|
+
*/
|
4
|
+
|
5
|
+
@mixin light-scheme {
|
6
|
+
/* Framework color */
|
7
|
+
--main-bg: white;
|
8
|
+
--mask-bg: #c1c3c5;
|
9
|
+
--main-border-color: #f3f3f3;
|
10
|
+
|
11
|
+
/* Common color */
|
12
|
+
--text-color: #34343c;
|
13
|
+
--text-muted-color: #757575;
|
14
|
+
--heading-color: black;
|
15
|
+
--label-color: #4d4d5b;
|
16
|
+
--blockquote-border-color: #eeeeee;
|
17
|
+
--blockquote-text-color: #757575;
|
18
|
+
--link-color: #0153ab;
|
19
|
+
--link-underline-color: #dee2e6;
|
20
|
+
--button-bg: #ffffff;
|
21
|
+
--btn-border-color: #e9ecef;
|
22
|
+
--btn-backtotop-color: #686868;
|
23
|
+
--btn-backtotop-border-color: #f1f1f1;
|
24
|
+
--btn-box-shadow: #eaeaea;
|
25
|
+
--checkbox-color: #c5c5c5;
|
26
|
+
--checkbox-checked-color: #07a8f7;
|
27
|
+
--img-bg: radial-gradient(
|
28
|
+
circle,
|
29
|
+
rgb(255, 255, 255) 0%,
|
30
|
+
rgb(239, 239, 239) 100%
|
31
|
+
);
|
32
|
+
--shimmer-bg: linear-gradient(
|
33
|
+
90deg,
|
34
|
+
rgba(250, 250, 250, 0) 0%,
|
35
|
+
rgba(232, 230, 230, 1) 50%,
|
36
|
+
rgba(250, 250, 250, 0) 100%
|
37
|
+
);
|
38
|
+
|
39
|
+
/* Sidebar */
|
40
|
+
--site-title-color: rgb(113, 113, 113);
|
41
|
+
--site-subtitle-color: #717171;
|
42
|
+
--sidebar-bg: #f6f8fa;
|
43
|
+
--sidebar-muted-color: #545454;
|
44
|
+
--sidebar-active-color: #1d1d1d;
|
45
|
+
--sidebar-hover-bg: rgb(223, 233, 241, 0.64);
|
46
|
+
--sidebar-btn-bg: white;
|
47
|
+
--sidebar-btn-color: #8e8e8e;
|
48
|
+
--avatar-border-color: white;
|
49
|
+
|
50
|
+
/* Topbar */
|
51
|
+
--topbar-bg: rgb(255, 255, 255, 0.7);
|
52
|
+
--topbar-text-color: rgb(78, 78, 78);
|
53
|
+
--search-wrapper-border-color: rgb(240, 240, 240);
|
54
|
+
--search-tag-bg: #f8f9fa;
|
55
|
+
--search-icon-color: #c2c6cc;
|
56
|
+
--input-focus-border-color: #b8b8b8;
|
57
|
+
|
58
|
+
/* Home page */
|
59
|
+
--post-list-text-color: dimgray;
|
60
|
+
--btn-patinator-text-color: #555555;
|
61
|
+
--btn-paginator-hover-color: var(--sidebar-bg);
|
62
|
+
--btn-paginator-border-color: var(--sidebar-bg);
|
63
|
+
--btn-text-color: #676666;
|
64
|
+
|
65
|
+
/* Posts */
|
66
|
+
--toc-highlight: #47566c;
|
67
|
+
--btn-share-hover-color: var(--link-color);
|
68
|
+
--card-bg: white;
|
69
|
+
--card-hovor-bg: #e2e2e2;
|
70
|
+
--card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0,
|
71
|
+
rgba(211, 209, 209, 0.15) 0 0 0 1px;
|
72
|
+
--footnote-target-bg: lightcyan;
|
73
|
+
--tag-border: #dee2e6;
|
74
|
+
--tag-shadow: var(--btn-border-color);
|
75
|
+
--tag-hover: rgb(222, 226, 230);
|
76
|
+
--tb-odd-bg: #fbfcfd;
|
77
|
+
--tb-border-color: #eaeaea;
|
78
|
+
--dash-color: silver;
|
79
|
+
--kbd-wrap-color: #bdbdbd;
|
80
|
+
--kbd-text-color: var(--text-color);
|
81
|
+
--kbd-bg-color: white;
|
82
|
+
--prompt-text-color: rgb(46, 46, 46, 0.77);
|
83
|
+
--prompt-tip-bg: rgb(123, 247, 144, 0.2);
|
84
|
+
--prompt-tip-icon-color: #03b303;
|
85
|
+
--prompt-info-bg: #e1f5fe;
|
86
|
+
--prompt-info-icon-color: #0070cb;
|
87
|
+
--prompt-warning-bg: rgb(255, 243, 205);
|
88
|
+
--prompt-warning-icon-color: #ef9c03;
|
89
|
+
--prompt-danger-bg: rgb(248, 215, 218, 0.56);
|
90
|
+
--prompt-danger-icon-color: #df3c30;
|
91
|
+
|
92
|
+
[class^='prompt-'] {
|
93
|
+
--link-underline-color: rgb(219, 216, 216);
|
94
|
+
}
|
95
|
+
|
96
|
+
.dark {
|
97
|
+
display: none;
|
98
|
+
}
|
99
|
+
|
100
|
+
/* Categories */
|
101
|
+
--categories-border: rgba(0, 0, 0, 0.125);
|
102
|
+
--categories-hover-bg: var(--btn-border-color);
|
103
|
+
--categories-icon-hover-color: darkslategray;
|
104
|
+
|
105
|
+
/* Archive */
|
106
|
+
--timeline-color: rgba(0, 0, 0, 0.075);
|
107
|
+
--timeline-node-bg: #c2c6cc;
|
108
|
+
--timeline-year-dot-color: #ffffff;
|
109
|
+
} /* light-scheme */
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/*!
|
2
|
+
* Chirpy v6.1.0 (https://github.com/lilacnight/jekyll-theme-resuchirp)
|
3
|
+
* © 2019 Cotes Chung
|
4
|
+
* MIT Licensed
|
5
|
+
*/
|
6
|
+
|
7
|
+
@import 'colors/light-typography';
|
8
|
+
@import 'colors/dark-typography';
|
9
|
+
@import 'addon/variables';
|
10
|
+
@import 'variables-hook';
|
11
|
+
@import 'addon/module';
|
12
|
+
@import 'addon/syntax';
|
13
|
+
@import 'addon/commons';
|
14
|
+
@import 'layout/home';
|
15
|
+
@import 'layout/post';
|
16
|
+
@import 'layout/tags';
|
17
|
+
@import 'layout/archives';
|
18
|
+
@import 'layout/categories';
|
19
|
+
@import 'layout/category-tag';
|
@@ -0,0 +1,144 @@
|
|
1
|
+
/*
|
2
|
+
Style for Archives
|
3
|
+
*/
|
4
|
+
|
5
|
+
#archives {
|
6
|
+
letter-spacing: 0.03rem;
|
7
|
+
|
8
|
+
$timeline-width: 4px;
|
9
|
+
|
10
|
+
%timeline {
|
11
|
+
content: '';
|
12
|
+
width: $timeline-width;
|
13
|
+
position: relative;
|
14
|
+
float: left;
|
15
|
+
background-color: var(--timeline-color);
|
16
|
+
}
|
17
|
+
|
18
|
+
.year {
|
19
|
+
height: 3.5rem;
|
20
|
+
font-size: 1.5rem;
|
21
|
+
position: relative;
|
22
|
+
left: 2px;
|
23
|
+
margin-left: -$timeline-width;
|
24
|
+
|
25
|
+
&::before {
|
26
|
+
@extend %timeline;
|
27
|
+
|
28
|
+
height: 72px;
|
29
|
+
left: 79px;
|
30
|
+
bottom: 16px;
|
31
|
+
}
|
32
|
+
|
33
|
+
&:first-child::before {
|
34
|
+
@extend %timeline;
|
35
|
+
|
36
|
+
height: 32px;
|
37
|
+
top: 24px;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* Year dot */
|
41
|
+
&::after {
|
42
|
+
content: '';
|
43
|
+
display: inline-block;
|
44
|
+
position: relative;
|
45
|
+
border-radius: 50%;
|
46
|
+
width: 12px;
|
47
|
+
height: 12px;
|
48
|
+
left: 21.5px;
|
49
|
+
border: 3px solid;
|
50
|
+
background-color: var(--timeline-year-dot-color);
|
51
|
+
border-color: var(--timeline-node-bg);
|
52
|
+
box-shadow: 0 0 2px 0 #c2c6cc;
|
53
|
+
z-index: 1;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
ul {
|
58
|
+
li {
|
59
|
+
font-size: 1.1rem;
|
60
|
+
line-height: 3rem;
|
61
|
+
white-space: nowrap;
|
62
|
+
overflow: hidden;
|
63
|
+
text-overflow: ellipsis;
|
64
|
+
|
65
|
+
&:nth-child(odd) {
|
66
|
+
background-color: var(--main-bg, #ffffff);
|
67
|
+
background-image: linear-gradient(
|
68
|
+
to left,
|
69
|
+
#ffffff,
|
70
|
+
#fbfbfb,
|
71
|
+
#fbfbfb,
|
72
|
+
#fbfbfb,
|
73
|
+
#ffffff
|
74
|
+
);
|
75
|
+
}
|
76
|
+
|
77
|
+
&::before {
|
78
|
+
@extend %timeline;
|
79
|
+
|
80
|
+
top: 0;
|
81
|
+
left: 77px;
|
82
|
+
height: 3.1rem;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
&:last-child li:last-child::before {
|
87
|
+
height: 1.5rem;
|
88
|
+
}
|
89
|
+
} /* #archives ul */
|
90
|
+
|
91
|
+
.date {
|
92
|
+
white-space: nowrap;
|
93
|
+
display: inline-block;
|
94
|
+
position: relative;
|
95
|
+
right: 0.5rem;
|
96
|
+
|
97
|
+
&.month {
|
98
|
+
width: 1.4rem;
|
99
|
+
text-align: center;
|
100
|
+
}
|
101
|
+
|
102
|
+
&.day {
|
103
|
+
font-size: 85%;
|
104
|
+
font-family: Lato, sans-serif;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
a {
|
109
|
+
/* post title in Archvies */
|
110
|
+
margin-left: 2.5rem;
|
111
|
+
position: relative;
|
112
|
+
top: 0.1rem;
|
113
|
+
|
114
|
+
&:hover {
|
115
|
+
border-bottom: none;
|
116
|
+
}
|
117
|
+
|
118
|
+
&::before {
|
119
|
+
/* the dot before post title */
|
120
|
+
content: '';
|
121
|
+
display: inline-block;
|
122
|
+
position: relative;
|
123
|
+
border-radius: 50%;
|
124
|
+
width: 8px;
|
125
|
+
height: 8px;
|
126
|
+
float: left;
|
127
|
+
top: 1.35rem;
|
128
|
+
left: 71px;
|
129
|
+
background-color: var(--timeline-node-bg);
|
130
|
+
box-shadow: 0 0 3px 0 #c2c6cc;
|
131
|
+
z-index: 1;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
} /* #archives */
|
135
|
+
|
136
|
+
@media all and (max-width: 576px) {
|
137
|
+
#archives {
|
138
|
+
margin-top: -1rem;
|
139
|
+
|
140
|
+
ul {
|
141
|
+
letter-spacing: 0;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
/*
|
2
|
+
Style for Tab Categories
|
3
|
+
*/
|
4
|
+
|
5
|
+
%category-icon-color {
|
6
|
+
color: gray;
|
7
|
+
}
|
8
|
+
|
9
|
+
.categories {
|
10
|
+
margin-bottom: 2rem;
|
11
|
+
border-color: var(--categories-border);
|
12
|
+
|
13
|
+
&.card,
|
14
|
+
.list-group {
|
15
|
+
@extend %rounded;
|
16
|
+
}
|
17
|
+
|
18
|
+
.card-header {
|
19
|
+
$radius: calc($base-radius - 1px);
|
20
|
+
|
21
|
+
padding: 0.75rem;
|
22
|
+
border-radius: $radius;
|
23
|
+
border-bottom: 0;
|
24
|
+
|
25
|
+
&.hide-border-bottom {
|
26
|
+
border-bottom-left-radius: 0;
|
27
|
+
border-bottom-right-radius: 0;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
i {
|
32
|
+
@extend %category-icon-color;
|
33
|
+
|
34
|
+
font-size: 86%; /* fontawesome icons */
|
35
|
+
}
|
36
|
+
|
37
|
+
.list-group-item {
|
38
|
+
border-left: none;
|
39
|
+
border-right: none;
|
40
|
+
padding-left: 2rem;
|
41
|
+
|
42
|
+
&:first-child {
|
43
|
+
border-top-left-radius: 0;
|
44
|
+
border-top-right-radius: 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
&:last-child {
|
48
|
+
border-bottom: 0;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
} /* .categories */
|
52
|
+
|
53
|
+
.category-trigger {
|
54
|
+
width: 1.7rem;
|
55
|
+
height: 1.7rem;
|
56
|
+
border-radius: 50%;
|
57
|
+
text-align: center;
|
58
|
+
color: #6c757d !important;
|
59
|
+
|
60
|
+
i {
|
61
|
+
position: relative;
|
62
|
+
height: 0.7rem;
|
63
|
+
width: 1rem;
|
64
|
+
transition: transform 300ms ease;
|
65
|
+
}
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
i {
|
69
|
+
color: var(--categories-icon-hover-color);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
/* only works on desktop */
|
75
|
+
@media (hover: hover) {
|
76
|
+
.category-trigger:hover {
|
77
|
+
background-color: var(--categories-hover-bg);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.rotate {
|
82
|
+
transform: rotate(-90deg);
|
83
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
/*
|
2
|
+
Style for page Category and Tag
|
3
|
+
*/
|
4
|
+
|
5
|
+
.dash {
|
6
|
+
margin: 0 0.5rem 0.6rem 0.5rem;
|
7
|
+
border-bottom: 2px dotted var(--dash-color);
|
8
|
+
}
|
9
|
+
|
10
|
+
#page-category,
|
11
|
+
#page-tag {
|
12
|
+
ul > li {
|
13
|
+
line-height: 1.5rem;
|
14
|
+
padding: 0.6rem 0;
|
15
|
+
|
16
|
+
/* dot */
|
17
|
+
&::before {
|
18
|
+
background: #999999;
|
19
|
+
width: 5px;
|
20
|
+
height: 5px;
|
21
|
+
border-radius: 50%;
|
22
|
+
display: block;
|
23
|
+
content: '';
|
24
|
+
position: relative;
|
25
|
+
top: 0.6rem;
|
26
|
+
margin-right: 0.5rem;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* post's title */
|
30
|
+
> a {
|
31
|
+
@extend %no-bottom-border;
|
32
|
+
|
33
|
+
font-size: 1.1rem;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* post's date */
|
37
|
+
> span:last-child {
|
38
|
+
white-space: nowrap;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
/* tag icon */
|
44
|
+
#page-tag h1 > i {
|
45
|
+
font-size: 1.2rem;
|
46
|
+
}
|
47
|
+
|
48
|
+
#page-category h1 > i {
|
49
|
+
font-size: 1.25rem;
|
50
|
+
}
|
51
|
+
|
52
|
+
#page-category,
|
53
|
+
#page-tag,
|
54
|
+
#access-lastmod {
|
55
|
+
a:hover {
|
56
|
+
@extend %link-hover;
|
57
|
+
|
58
|
+
margin-bottom: -1px; /* Avoid jumping */
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
@media all and (max-width: 576px) {
|
63
|
+
#page-category,
|
64
|
+
#page-tag {
|
65
|
+
ul > li {
|
66
|
+
&::before {
|
67
|
+
margin: 0 0.5rem;
|
68
|
+
}
|
69
|
+
|
70
|
+
> a {
|
71
|
+
white-space: nowrap;
|
72
|
+
overflow: hidden;
|
73
|
+
text-overflow: ellipsis;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|