jekyll-twitter-theme 0.1.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 +7 -0
- data/LICENSE +21 -0
- data/README.md +9 -0
- data/_config.yml +21 -0
- data/_includes/about_icon.html +10 -0
- data/_includes/arrow_left_icon.html +7 -0
- data/_includes/head.html +7 -0
- data/_includes/header.html +59 -0
- data/_includes/home_icon.html +7 -0
- data/_includes/profile_icon.html +7 -0
- data/_includes/threedot_icon.html +7 -0
- data/_layouts/404.html +7 -0
- data/_layouts/default.html +39 -0
- data/_layouts/home.html +31 -0
- data/_layouts/page.html +7 -0
- data/_layouts/post.html +7 -0
- data/_sass/_main.scss +1214 -0
- data/_sass/_mixins.scss +48 -0
- data/_sass/_syntax_highlights.scss +80 -0
- data/_sass/_variables.scss +19 -0
- data/assets/css/main.scss +4 -0
- data/assets/css/ress.min.css +5 -0
- data/assets/images/markdown.png +0 -0
- metadata +79 -0
data/_sass/_mixins.scss
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
@mixin tablet() {
|
2
|
+
@media (max-width: (680px)) {
|
3
|
+
@content;
|
4
|
+
}
|
5
|
+
}
|
6
|
+
@mixin smartphone() {
|
7
|
+
@media (max-width: (480px)) {
|
8
|
+
@content;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
@mixin desktop_collapsed() {
|
13
|
+
@media (max-width: ($width-main + $width-nav)) {
|
14
|
+
@content;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
@mixin desktop_collapsed_lv2() {
|
19
|
+
@media (max-width: ($width-main + $width-nav-collapsed)) {
|
20
|
+
@content;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@mixin desktop_collapsed_lv3() {
|
25
|
+
@media (max-width: (1004px)) {
|
26
|
+
@content;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin desktop_collapsed_lv4() {
|
31
|
+
@media (max-width: (710px)) {
|
32
|
+
@content;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
@mixin elipse_by_line($line_number) {
|
37
|
+
display: -webkit-box;
|
38
|
+
-webkit-box-orient: vertical;
|
39
|
+
-webkit-line-clamp: $line_number;
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin hide_scrollbar() {
|
43
|
+
-ms-overflow-style: none; // IE, Edge
|
44
|
+
scrollbar-width: none; // Firefox
|
45
|
+
&::-webkit-scrollbar {
|
46
|
+
display:none; // Chrome, Safari
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
@import "_variables";
|
2
|
+
|
3
|
+
$_base_font_color: $color-font;
|
4
|
+
|
5
|
+
.highlight .c { color: #008800; } /* Comment */
|
6
|
+
.highlight .err { color: $_base_font_color } /* Error */
|
7
|
+
.highlight .esc { color: $_base_font_color } /* Escape */
|
8
|
+
.highlight .g { color: $_base_font_color } /* Generic */
|
9
|
+
.highlight .k { color: #569cd6; font-weight: bold } /* Keyword */
|
10
|
+
.highlight .l { color: $_base_font_color } /* Literal */
|
11
|
+
.highlight .n { color: $_base_font_color } /* Name */
|
12
|
+
.highlight .o { color: $_base_font_color } /* Operator */
|
13
|
+
.highlight .x { color: $_base_font_color } /* Other */
|
14
|
+
.highlight .p { color: $_base_font_color } /* Punctuation */
|
15
|
+
.highlight .ch { color: #008800; } /* Comment.Hashbang */
|
16
|
+
.highlight .cm { color: #008800; } /* Comment.Multiline */
|
17
|
+
.highlight .cp { color: rgb(172, 172, 172); font-weight: bold; } /* Comment.Preproc */
|
18
|
+
.highlight .cpf { color: #008800; } /* Comment.PreprocFile */
|
19
|
+
.highlight .c1 { color: #008800; } /* Comment.Single */
|
20
|
+
.highlight .cs { color: #008800; } /* Comment.Special */
|
21
|
+
.highlight .gd { color: $_base_font_color } /* Generic.Deleted */
|
22
|
+
.highlight .ge { color: $_base_font_color } /* Generic.Emph */
|
23
|
+
.highlight .gr { color: $_base_font_color } /* Generic.Error */
|
24
|
+
.highlight .gh { color: $_base_font_color; font-weight: bold } /* Generic.Heading */
|
25
|
+
.highlight .gi { color: $_base_font_color } /* Generic.Inserted */
|
26
|
+
.highlight .go { color: #444444; } /* Generic.Output */
|
27
|
+
.highlight .gp { color: $_base_font_color } /* Generic.Prompt */
|
28
|
+
.highlight .gs { color: $_base_font_color } /* Generic.Strong */
|
29
|
+
.highlight .gu { color: $_base_font_color; font-weight: bold } /* Generic.Subheading */
|
30
|
+
.highlight .gt { color: $_base_font_color } /* Generic.Traceback */
|
31
|
+
.highlight .kc { color: #569cd6; font-weight: bold } /* Keyword.Constant */
|
32
|
+
.highlight .kd { color: #569cd6; font-weight: bold } /* Keyword.Declaration */
|
33
|
+
.highlight .kn { color: #569cd6; font-weight: bold } /* Keyword.Namespace */
|
34
|
+
.highlight .kp { color: #569cd6 } /* Keyword.Pseudo */
|
35
|
+
.highlight .kr { color: #569cd6; font-weight: bold } /* Keyword.Reserved */
|
36
|
+
.highlight .kt { color: #569cd6; font-weight: bold } /* Keyword.Type */
|
37
|
+
.highlight .ld { color: $_base_font_color } /* Literal.Date */
|
38
|
+
.highlight .m { color: #0086f7; font-weight: bold } /* Literal.Number */
|
39
|
+
.highlight .s { color: #e65c71 } /* Literal.String */
|
40
|
+
.highlight .na { color: #ff0086; font-weight: bold } /* Name.Attribute */
|
41
|
+
.highlight .nb { color: $_base_font_color } /* Name.Builtin */
|
42
|
+
.highlight .nc { color: $_base_font_color } /* Name.Class */
|
43
|
+
.highlight .no { color: #0086d2 } /* Name.Constant */
|
44
|
+
.highlight .nd { color: $_base_font_color } /* Name.Decorator */
|
45
|
+
.highlight .ni { color: $_base_font_color } /* Name.Entity */
|
46
|
+
.highlight .ne { color: $_base_font_color } /* Name.Exception */
|
47
|
+
.highlight .nf { color: #01cfff; font-weight: bold } /* Name.Function */
|
48
|
+
.highlight .nl { color: $_base_font_color } /* Name.Label */
|
49
|
+
.highlight .nn { color: $_base_font_color } /* Name.Namespace */
|
50
|
+
.highlight .nx { color: $_base_font_color } /* Name.Other */
|
51
|
+
.highlight .py { color: $_base_font_color } /* Name.Property */
|
52
|
+
.highlight .nt { color: #fb660a; font-weight: bold } /* Name.Tag */
|
53
|
+
.highlight .nv { color: #fb660a } /* Name.Variable */
|
54
|
+
.highlight .ow { color: $_base_font_color } /* Operator.Word */
|
55
|
+
.highlight .w { color: #888888 } /* Text.Whitespace */
|
56
|
+
.highlight .mb { color: $_base_font_color; } /* Literal.Number.Bin */
|
57
|
+
.highlight .mf { color: $_base_font_color; } /* Literal.Number.Float */
|
58
|
+
.highlight .mh { color: $_base_font_color; } /* Literal.Number.Hex */
|
59
|
+
.highlight .mi { color: $_base_font_color; } /* Literal.Number.Integer */
|
60
|
+
.highlight .mo { color: $_base_font_color; } /* Literal.Number.Oct */
|
61
|
+
.highlight .sa { color: #0086d2 } /* Literal.String.Affix */
|
62
|
+
.highlight .sb { color: #0086d2 } /* Literal.String.Backtick */
|
63
|
+
.highlight .sc { color: #0086d2 } /* Literal.String.Char */
|
64
|
+
.highlight .dl { color: #0086d2 } /* Literal.String.Delimiter */
|
65
|
+
.highlight .sd { color: #0086d2 } /* Literal.String.Doc */
|
66
|
+
.highlight .s2 { color: #0086d2 } /* Literal.String.Double */
|
67
|
+
.highlight .se { color: #0086d2 } /* Literal.String.Escape */
|
68
|
+
.highlight .sh { color: #0086d2 } /* Literal.String.Heredoc */
|
69
|
+
.highlight .si { color: #0086d2 } /* Literal.String.Interpol */
|
70
|
+
.highlight .sx { color: #0086d2 } /* Literal.String.Other */
|
71
|
+
.highlight .sr { color: #0086d2 } /* Literal.String.Regex */
|
72
|
+
.highlight .s1 { color: #0086d2 } /* Literal.String.Single */
|
73
|
+
.highlight .ss { color: #0086d2 } /* Literal.String.Symbol */
|
74
|
+
.highlight .bp { color: $_base_font_color } /* Name.Builtin.Pseudo */
|
75
|
+
.highlight .fm { color: #ff0086; font-weight: bold } /* Name.Function.Magic */
|
76
|
+
.highlight .vc { color: #fb660a } /* Name.Variable.Class */
|
77
|
+
.highlight .vg { color: #fb660a } /* Name.Variable.Global */
|
78
|
+
.highlight .vi { color: #fb660a } /* Name.Variable.Instance */
|
79
|
+
.highlight .vm { color: #fb660a } /* Name.Variable.Magic */
|
80
|
+
.highlight .il { color: #0086f7; font-weight: bold } /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$width-nav: 275px;
|
2
|
+
$width-nav-collapsed: 88px;
|
3
|
+
$width-main: 990px;
|
4
|
+
$width-main-collapsed-lv2: 920px;
|
5
|
+
$width-main-collapsed-lv3: 600px;
|
6
|
+
$width-body: 600px;
|
7
|
+
$width-side: 350px;
|
8
|
+
$width-side-collapsed: 290px;
|
9
|
+
|
10
|
+
$color-primary: rgb(29, 161, 242);
|
11
|
+
$color-background: #fff;
|
12
|
+
$color-background-inner: rgb(247, 249, 250);
|
13
|
+
$color-background-thin: rgb(247, 249, 250);
|
14
|
+
$color-background-hover: rgba(0, 0, 0, 0.03);
|
15
|
+
$color-font: black;
|
16
|
+
$color-font-thin: rgb(91, 112, 131);
|
17
|
+
$color-border: rgb(235, 238, 240);
|
18
|
+
|
19
|
+
$font-family: "Segoe UI", Meiryo, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/*!
|
2
|
+
* ress.css • v3.0.1
|
3
|
+
* MIT License
|
4
|
+
* github.com/filipelinhares/ress
|
5
|
+
*/html{box-sizing:border-box;-webkit-text-size-adjust:100%;word-break:normal;-moz-tab-size:4;tab-size:4}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}hr{overflow:visible;height:0}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[disabled]{cursor:default}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer;color:inherit}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;white-space:normal;max-width:100%}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}img{border-style:none}progress{vertical-align:baseline}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-twitter-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- kento
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
27
|
+
description:
|
28
|
+
email:
|
29
|
+
- hrn832@protonmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE
|
35
|
+
- README.md
|
36
|
+
- _config.yml
|
37
|
+
- _includes/about_icon.html
|
38
|
+
- _includes/arrow_left_icon.html
|
39
|
+
- _includes/head.html
|
40
|
+
- _includes/header.html
|
41
|
+
- _includes/home_icon.html
|
42
|
+
- _includes/profile_icon.html
|
43
|
+
- _includes/threedot_icon.html
|
44
|
+
- _layouts/404.html
|
45
|
+
- _layouts/default.html
|
46
|
+
- _layouts/home.html
|
47
|
+
- _layouts/page.html
|
48
|
+
- _layouts/post.html
|
49
|
+
- _sass/_main.scss
|
50
|
+
- _sass/_mixins.scss
|
51
|
+
- _sass/_syntax_highlights.scss
|
52
|
+
- _sass/_variables.scss
|
53
|
+
- assets/css/main.scss
|
54
|
+
- assets/css/ress.min.css
|
55
|
+
- assets/images/markdown.png
|
56
|
+
homepage: https://github.com/kkent030315/jekyll-twitter-theme
|
57
|
+
licenses:
|
58
|
+
- MIT
|
59
|
+
metadata: {}
|
60
|
+
post_install_message:
|
61
|
+
rdoc_options: []
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
requirements: []
|
75
|
+
rubygems_version: 3.1.4
|
76
|
+
signing_key:
|
77
|
+
specification_version: 4
|
78
|
+
summary: A twitter theme for Jekyll.
|
79
|
+
test_files: []
|