my-lab 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c114fdbc37045b3ca5f285e6248eeed526d8da41794fc1a87580279164d410b
4
- data.tar.gz: 6570999d739e5589012c9cfe166c4e4c0fff5d295b4ec056d5abdd3f4a6e7360
3
+ metadata.gz: 9e6c1b69bf89224f3683daed59294bf7be0349079a17f0498ed5f9fe208fe06a
4
+ data.tar.gz: 5d210265e5c12e93ba6e4c8ec718c6732010bf312870be05589c88f09f220f48
5
5
  SHA512:
6
- metadata.gz: 0dee9d1f6aa2b32abe1f71a33ecd24b308748d527909772b9277261ad73f58ee80adf346088854a8ca3be5dedcbd7181a909d1efb04c0f08ded700c670aeb852
7
- data.tar.gz: 7e14df306caedba9fac1016d3204a80b6430bbbdca8ed035f683ef818dffa1f035142e67b3780e59241d281f442b50fa00a1b74282ab137980c73f53479b5729
6
+ metadata.gz: 5136a4ceeea8b2e918ee69575d1eb03fa8afed09de2db579e85234eee47af810829fc32b1427991de4175e4272a69a0789bfccef2c8b055f3c33d4ec3e29dba1
7
+ data.tar.gz: 07cc1b21e9657c6b067e32b01538b2b59e4b3be7b081361b64a7e1252e271042e21c9b6d9000319e8084dd204cb2e789a9a461c244830326376c24efd6fd0bbb
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 shuamilabs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,100 @@
1
+ # my-lab
2
+
3
+ Welcome to simple plain my-lab theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve`
6
+
7
+
8
+ ## Installation
9
+
10
+ Add this line to your Jekyll site's `Gemfile`:
11
+
12
+ ```ruby
13
+ gem "my-lab"
14
+ ```
15
+
16
+ And add this line to your Jekyll site's `_config.yml`:
17
+
18
+ ```yaml
19
+ theme: my-lab
20
+ ```
21
+
22
+ And then execute:
23
+
24
+ $ bundle
25
+
26
+ Or install it yourself as:
27
+
28
+ $ gem install my-lab
29
+
30
+ ## Image
31
+ ![main page](/assets/images/my_lab01.jpg)
32
+ ![post page](/assets/images/my_lab02.jpg)
33
+
34
+ ## Usage
35
+ ### default layouts files
36
+ - category.html
37
+ - default.html
38
+ - page.html
39
+ - post.html
40
+
41
+ ### includes files
42
+ - discussion.html
43
+ - footer.html
44
+ - header.html
45
+ - navigation.html
46
+
47
+ ### pages
48
+
49
+ Create about.md, categories.md, contact.md and index.html in your root directory (if not exist).
50
+
51
+ __index.html__
52
+
53
+ ```
54
+ ---
55
+ layout: default
56
+ title: Posts
57
+ pagination:
58
+ enabled: true
59
+ ---
60
+ Index page
61
+ ```
62
+
63
+ __about.md__
64
+
65
+ ```
66
+ ---
67
+ layout: page
68
+ title: About
69
+ permalink: /about/
70
+ ---
71
+ About page
72
+ ```
73
+
74
+ __categories.md__
75
+
76
+ ```
77
+ ---
78
+ layout: page
79
+ title: Categories
80
+ permalink: /categories/
81
+ ---
82
+ {% for category in site.categories %}
83
+ - [{{category | first}}]({{site.url}}{{site.baseurl}}{{page.url}}{{category | first}})
84
+ {% endfor %}
85
+ ```
86
+
87
+ ## Contributing
88
+
89
+ Bug reports and pull requests are welcome on GitHub at https://github.com/shuamilabs/mylab-jekyll. 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.
90
+
91
+ ## Development
92
+
93
+ To set up your environment to develop this theme, run `bundle install`.
94
+
95
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
96
+
97
+ ## License
98
+
99
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
100
+
@@ -0,0 +1,52 @@
1
+ # general info
2
+ title: My-Lab
3
+ owner: Shuami Labs
4
+ email: shuamilabs@gmail.com
5
+ description: A simple blogging theme
6
+ baseurl: ""
7
+ url: ""
8
+ encoding: utf-8
9
+ language: en
10
+ theme: my-lab
11
+
12
+ markdown: kramdown
13
+ highlighter: rouge
14
+ kramdown:
15
+ input: GFM
16
+ syntax_highlighter_opts:
17
+ default_lang: html
18
+ css_class : 'syntax'
19
+
20
+ pagination:
21
+ enabled: true
22
+ per_page: 2
23
+ permalink: '/page/:num/'
24
+ title: 'Page :num'
25
+ limit: 0
26
+ sort_field: 'date'
27
+ sort_reverse: true
28
+
29
+ # socmed
30
+ twitter_username:
31
+ github_username: shuamilabs
32
+ instagram_username: shuamilabs
33
+ facebook_username: shuamilabs
34
+ youtube_username: UC1CaCMwJq3qd0I1yOf4uO8Q
35
+ disqus_username:
36
+
37
+ # navigation
38
+ permalink: pretty # /:year/:month/:day/:title/
39
+ excerpt_separator: <!-- more -->
40
+
41
+ # assets
42
+ sass:
43
+ sass_dir: _sass
44
+ style: compressed
45
+
46
+ # plugins
47
+ plugins:
48
+ - jekyll-paginate-v2
49
+
50
+ exclude:
51
+ - Gemfile
52
+ - Gemfile.lock
@@ -0,0 +1,24 @@
1
+ {% if site.disqus_username %}
2
+ <script>
3
+ /**
4
+ * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
5
+ * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
6
+ /*
7
+ var disqus_config = function () {
8
+ this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
9
+ this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
10
+ };
11
+ */
12
+ var disqus_shortname = '{{ site.disqus_username }}';
13
+
14
+ (function () { // DON'T EDIT BELOW THIS LINE
15
+ var d = document, s = d.createElement('script');
16
+ s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
17
+ s.setAttribute('data-timestamp', +new Date());
18
+ (d.head || d.body).appendChild(s);
19
+ })();
20
+ </script>
21
+ <noscript>
22
+ Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
23
+ </noscript>
24
+ {% endif %}
@@ -0,0 +1,9 @@
1
+ <div id="footer">
2
+ <p>
3
+ © 2020 {{site.owner}} ·
4
+ <a href="{{site.url}}{{site.baseurl}}/about/">?Me?</a>
5
+ </p>
6
+ <p>
7
+ <a href="https://github.com/shuamilabs/my-lab">My-Lab</a> created by <a href="https://github.com/shuamilabs/">Shuami Labs</a>
8
+ </p>
9
+ </div>
@@ -0,0 +1,11 @@
1
+ <head>
2
+ <title>{{site.title}}</title>
3
+ <meta charset="utf-8">
4
+ <meta content="{{site.description}}" name="description">
5
+ <meta content="{{site.owner}}" name="author">
6
+ <meta content="Copyright 2020 {{site.owner}}. All rights reserved." name="copyright">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+ <link rel="icon" type="image/png" sizes="16x16" href="{{site.url}}{{site.baseurl}}/assets/images/favicon-16x16.png">
10
+ <link href="{{site.url}}{{site.baseurl}}/assets/css/main.css" type="text/css" rel="stylesheet">
11
+ </head>
@@ -0,0 +1,40 @@
1
+ <div id="nav-top">
2
+ <div id="nav-menu-left">
3
+ <a href="https://github.com/{{site.github_username}}" target="_blank">
4
+ <svg class="svg-icon">
5
+ <use xlink:href="/assets/images/minima-social-icons.svg#github"></use>
6
+ </svg>
7
+ </a>
8
+ <a href="https://instagram.com/{{site.instagram_username}}" target="_blank">
9
+ <svg class="svg-icon">
10
+ <use xlink:href="/assets/images/minima-social-icons.svg#instagram"></use>
11
+ </svg>
12
+ </a>
13
+ <a href="https://facebook.com/{{site.facebook_username}}" target="_blank">
14
+ <svg class="svg-icon">
15
+ <use xlink:href="/assets/images/minima-social-icons.svg#facebook"></use>
16
+ </svg>
17
+ </a>
18
+ <a href="https://www.youtube.com/channel/{{site.youtube_username}}" target="_blank">
19
+ <svg class="svg-icon">
20
+ <use xlink:href="/assets/images/minima-social-icons.svg#youtube"></use>
21
+ </svg>
22
+ </a>
23
+ </div>
24
+
25
+ <div id="nav-menu-right">
26
+ <div id="home-menu">
27
+ <a href="{{site.url}}{{site.baseurl}}/">
28
+ <img src="{{site.url}}{{site.baseurl}}/assets/images/home.png" alt="home">
29
+ </a>
30
+ </div> /
31
+ <a href="{{site.url}}{{site.baseurl}}/project/">Project</a> /
32
+ <a href="{{site.url}}{{site.baseurl}}/categories/">Category</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="nav" class="cat-menu">
37
+ {% for category in site.categories %}
38
+ <a href="{{site.url}}{{site.baseurl}}/categories/{{category | first}}/">{{category | first}}</a>&nbsp;
39
+ {% endfor %}
40
+ </div>
@@ -0,0 +1,42 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{site.language}}">
3
+
4
+ {% include header.html %}
5
+
6
+ <body>
7
+ <div id="main">
8
+ {% include navigation.html %}
9
+
10
+ <div id="content-left">
11
+ <ul class="post-list">
12
+ {% for post in paginator.posts %}
13
+ <li>
14
+ <h3>→ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h3>
15
+ <i>posted on {{ post.date | date: "%-d %b %Y" }} by Ahmad Shuami</i>
16
+ </li>
17
+ {% endfor %}
18
+ </ul>
19
+ </div>
20
+
21
+ {% if paginator.total_pages > 1 %}
22
+ <div class="w-line"></div>
23
+ <ul class="pager">
24
+ {% if paginator.previous_page %}
25
+ <li class="previous">
26
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Newer Posts</a>
27
+ </li>
28
+ {% endif %}
29
+ {% if paginator.next_page %}
30
+ <li class="next">
31
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts &rarr;</a>
32
+ </li>
33
+ {% endif %}
34
+ </ul>
35
+ {% endif %}
36
+
37
+ {% include footer.html %}
38
+
39
+ </div>
40
+ </body>
41
+
42
+ </html>
@@ -0,0 +1,27 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{site.language}}">
3
+
4
+ {% include header.html %}
5
+
6
+ <body>
7
+ <div id="main">
8
+ {% include navigation.html %}
9
+ <div id="nav-main" class="cat-menu">
10
+ <div id="logo">
11
+ <a href="{{site.url}}{{site.baseurl}}/">
12
+ <img src="{{site.url}}{{site.baseurl}}/assets/images/tanjak_sl_0.png" alt="Logo">
13
+ </a>
14
+ </div>
15
+ </div>
16
+
17
+ <div id="content-left">
18
+ <h2>{{page.title}}</h2>
19
+ {{content}}
20
+ </div>
21
+
22
+ {% include footer.html %}
23
+
24
+ </div>
25
+ </body>
26
+
27
+ </html>
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{site.language}}">
3
+
4
+ {% include header.html %}
5
+
6
+ <body>
7
+ <div id="main">
8
+ {% include navigation.html %}
9
+ <div id="content-left">
10
+ <h2>{{page.title}}</h2>
11
+ {% if content != "" %}
12
+ {{content}}
13
+ {% endif %}
14
+ </div>
15
+
16
+ {% include footer.html %}
17
+
18
+ </div>
19
+ </body>
20
+
21
+ </html>
@@ -0,0 +1,35 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{site.language}}">
3
+
4
+ {% include header.html %}
5
+
6
+ <body>
7
+ <div id="main">
8
+ {% include navigation.html %}
9
+ <div id="content-left">
10
+ <div id="post">
11
+ <h2>{{ page.title }}</h2>
12
+ <i>posted on {{ page.date | date: "%-d %b %Y" }} by Ahmad Shuami</i>
13
+ {{ content }}
14
+ {% if page.categories.size > 0 %}
15
+ <div id="categories">
16
+ <p id="post-cat"><b>Categories:</b>&nbsp;
17
+ {% for category in page.categories %}
18
+ <a href="{{site.url}}{{site.baseurl}}/categories/{{category}}/">{{category}}</a>&nbsp;
19
+ {% endfor %}
20
+ </p>
21
+ </div>
22
+ {% endif %}
23
+ {% if site.disqus_username and page.comments or site.comments %}
24
+ <div id="disqus_thread"></div>
25
+ {% include discussion.html %}
26
+ {% endif %}
27
+ </div>
28
+ </div>
29
+
30
+ {% include footer.html %}
31
+
32
+ </div>
33
+ </body>
34
+
35
+ </html>
@@ -0,0 +1,27 @@
1
+ #categories a {
2
+ background-color: grey;
3
+ text-decoration: none;
4
+ padding: 0.1em 0.5em 0.1em 0.5em;
5
+
6
+ &:link, &:visited {
7
+ background-color: grey;
8
+ text-decoration: none;
9
+ padding: 0.1em 0.5em 0.1em 0.5em;
10
+ }
11
+
12
+ &:hover {
13
+ text-decoration: underline;
14
+ }
15
+ }
16
+
17
+ #post-cat a {
18
+ background-color: #0a83ee!important;
19
+ color: #ffffff!important;
20
+ text-decoration: none;
21
+ padding: 0.1em 0.5em 0.1em 0.5em;
22
+ border-radius: 0;
23
+
24
+ &:hover {
25
+ text-decoration: underline;
26
+ }
27
+ }
@@ -0,0 +1,36 @@
1
+ #content-left {
2
+ margin: auto;
3
+ padding-top: 5px;
4
+ margin-bottom: 20px;
5
+ padding-bottom: 10px;
6
+
7
+ a {
8
+ &:link, &:visited {
9
+ text-decoration: none;
10
+ color: #0c61ac;
11
+ }
12
+
13
+ &:hover {
14
+ text-decoration: none;
15
+ }
16
+ }
17
+
18
+ // .cust-code {
19
+ // font-size: 14px;
20
+ // background-color: #ececec;
21
+ // padding: 5px 10px;
22
+ // border-top: 3px double #000;
23
+ // border-radius: 5px;
24
+ // width: 100%;
25
+ // }
26
+
27
+ }
28
+
29
+ #content {
30
+ text-align: center;
31
+ margin: auto;
32
+ }
33
+
34
+ .w-line {
35
+ border-bottom: 1px solid #ddd;
36
+ }
@@ -0,0 +1,112 @@
1
+ a {
2
+ &:link, &:visited {
3
+ text-decoration: none;
4
+ color: #000;
5
+ }
6
+
7
+ &:hover {
8
+ text-decoration: underline;
9
+ }
10
+ }
11
+
12
+ #nav-top {
13
+ margin: auto;
14
+ margin-top: 15px;
15
+ padding: 10px;
16
+ margin-bottom: 5px;
17
+ border: 3px double rgb(78, 78, 78);
18
+ }
19
+
20
+ #nav-main {
21
+ text-align: center;
22
+ margin: auto;
23
+ margin-top: 0px;
24
+ padding-top: 0px;
25
+ margin-bottom: 5px;
26
+ padding-bottom: 5px;
27
+ border-bottom: 1px dashed rgb(51, 48, 48);
28
+ }
29
+
30
+ #nav {
31
+ text-align: center;
32
+ margin: 10px 0;
33
+ padding-bottom: 10px;
34
+ border-bottom: 2px dashed rgb(51, 48, 48);
35
+ }
36
+
37
+ #nav a {
38
+ background-color: #334646;
39
+ padding: 2px 5px;
40
+ border: 1px solid #000;
41
+ border-radius: 5px;
42
+ color: #fff;
43
+ }
44
+
45
+ #nav-menu-left {
46
+ display: inline;
47
+ a {
48
+ &:hover {
49
+ text-decoration: none;
50
+ }
51
+ }
52
+ }
53
+
54
+ #nav-menu-right {
55
+ float: right;
56
+ }
57
+
58
+ #logo {
59
+ margin: 20px auto 20px auto;
60
+
61
+ img {
62
+ max-width: 20%;
63
+ }
64
+ }
65
+
66
+ .cat-menu {
67
+ font-size: 12px;
68
+ }
69
+
70
+ #home-menu {
71
+ display: inline;
72
+
73
+ img {
74
+ width: 16px;
75
+ position: relative;
76
+ top: 2px;
77
+ cursor: pointer;
78
+ }
79
+
80
+ a {
81
+ &:hover {
82
+ text-decoration: none;
83
+ }
84
+ }
85
+ }
86
+
87
+ @media (max-width: 420px) {
88
+ #nav-top {
89
+ text-align: center;
90
+ }
91
+
92
+ #nav-menu-right {
93
+ float: none;
94
+ margin-top: 5px;
95
+ }
96
+ }
97
+
98
+ @media (max-width: 600px) {
99
+ #logo {
100
+ img {
101
+ max-width: 50%;
102
+ }
103
+ }
104
+ }
105
+
106
+ @media (max-width: 900px) {
107
+ #logo {
108
+ img {
109
+ max-width: 30%;
110
+ }
111
+ }
112
+ }
@@ -0,0 +1,35 @@
1
+ #intro-post {
2
+ border-bottom: 1px solid #ddd;
3
+ padding-bottom: 10px;
4
+
5
+ a {
6
+ &:link, &:visited {
7
+ text-decoration: none;
8
+ color: #000;
9
+ }
10
+
11
+ &:hover {
12
+ text-decoration: underline;
13
+ }
14
+ }
15
+
16
+ h3 {
17
+ margin-bottom: 0px;
18
+ }
19
+
20
+ i {
21
+ font-size: 0.8em;
22
+ color: grey;
23
+ }
24
+ }
25
+
26
+ #post {
27
+ h2 {
28
+ margin-bottom: 0px;
29
+ }
30
+
31
+ i {
32
+ font-size: 0.9em;
33
+ color: grey;
34
+ }
35
+ }
@@ -0,0 +1,206 @@
1
+ .highlight {
2
+ background: #ffffff;
3
+ margin: auto 0;
4
+ border-bottom: 1px double #000;
5
+ border-top: 3px double #000;
6
+ border-left: 1px solid #000;
7
+ border-right: 1px solid #000;
8
+ border-radius: 5px;
9
+ padding: 0 0.5em;
10
+
11
+ pre {
12
+ // padding: 0.5em;
13
+ overflow-x: auto;
14
+ }
15
+
16
+ td.code pre {
17
+ padding: 0;
18
+ white-space: pre;
19
+ }
20
+
21
+ > pre {
22
+ white-space: pre;
23
+ }
24
+
25
+ .c {
26
+ color: #999988;
27
+ font-style: italic;
28
+ }
29
+
30
+ .err {
31
+ color: #a61717;
32
+ background-color: #e3d2d2;
33
+ }
34
+
35
+ .k, .o {
36
+ font-weight: bold;
37
+ }
38
+
39
+ .cm {
40
+ color: #999988;
41
+ font-style: italic;
42
+ }
43
+
44
+ .cp {
45
+ color: #999999;
46
+ font-weight: bold;
47
+ }
48
+
49
+ .c1 {
50
+ color: #999988;
51
+ font-style: italic;
52
+ }
53
+
54
+ .cs {
55
+ color: #999999;
56
+ font-weight: bold;
57
+ font-style: italic;
58
+ }
59
+
60
+ .gd {
61
+ color: #000000;
62
+ background-color: #ffdddd;
63
+
64
+ .x {
65
+ color: #000000;
66
+ background-color: #ffaaaa;
67
+ }
68
+ }
69
+
70
+ .ge {
71
+ font-style: italic;
72
+ }
73
+
74
+ .gr {
75
+ color: #aa0000;
76
+ }
77
+
78
+ .gh {
79
+ color: #999999;
80
+ }
81
+
82
+ .gi {
83
+ color: #000000;
84
+ background-color: #ddffdd;
85
+
86
+ .x {
87
+ color: #000000;
88
+ background-color: #aaffaa;
89
+ }
90
+ }
91
+
92
+ .go {
93
+ color: #888888;
94
+ }
95
+
96
+ .gp {
97
+ color: #555555;
98
+ }
99
+
100
+ .gs {
101
+ font-weight: bold;
102
+ }
103
+
104
+ .gu {
105
+ color: #aaaaaa;
106
+ }
107
+
108
+ .gt {
109
+ color: #aa0000;
110
+ }
111
+
112
+ .kc, .kd, .kp, .kr {
113
+ font-weight: bold;
114
+ }
115
+
116
+ .kt {
117
+ color: #445588;
118
+ font-weight: bold;
119
+ }
120
+
121
+ .m {
122
+ color: #009999;
123
+ }
124
+
125
+ .s {
126
+ color: #d14;
127
+ }
128
+
129
+ .na {
130
+ color: #008080;
131
+ }
132
+
133
+ .nb {
134
+ color: #0086B3;
135
+ }
136
+
137
+ .nc {
138
+ color: #445588;
139
+ font-weight: bold;
140
+ }
141
+
142
+ .no {
143
+ color: #008080;
144
+ }
145
+
146
+ .ni {
147
+ color: #800080;
148
+ }
149
+
150
+ .ne, .nf {
151
+ color: #990000;
152
+ font-weight: bold;
153
+ }
154
+
155
+ .nn {
156
+ color: #555555;
157
+ }
158
+
159
+ .nt {
160
+ color: #000080;
161
+ }
162
+
163
+ .nv {
164
+ color: #008080;
165
+ }
166
+
167
+ .ow {
168
+ font-weight: bold;
169
+ }
170
+
171
+ .w {
172
+ color: #bbbbbb;
173
+ }
174
+
175
+ .mf, .mh, .mi, .mo {
176
+ color: #009999;
177
+ }
178
+
179
+ .sb, .sc, .sd, .s2, .se, .sh, .si, .sx {
180
+ color: #d14;
181
+ }
182
+
183
+ .sr {
184
+ color: #009926;
185
+ }
186
+
187
+ .s1 {
188
+ color: #d14;
189
+ }
190
+
191
+ .ss {
192
+ color: #990073;
193
+ }
194
+
195
+ .bp {
196
+ color: #999999;
197
+ }
198
+
199
+ .vc, .vg, .vi {
200
+ color: #008080;
201
+ }
202
+
203
+ .il {
204
+ color: #009999;
205
+ }
206
+ }
@@ -0,0 +1,89 @@
1
+ body {
2
+ margin-top: 0px;
3
+ padding: 0;
4
+ font-family: 'Ubuntu Mono', monospace;
5
+ }
6
+
7
+ #main {
8
+ width: 70%;
9
+ margin: 0 auto;
10
+ }
11
+
12
+ .svg-icon { width: 16px; height: 16px; display: inline-block; fill: #414141;}
13
+
14
+ img {
15
+ &[src~="thumbnail"] {
16
+ width: 400px;
17
+ height: auto;
18
+ display:block;
19
+ margin: 0 auto;
20
+ }
21
+
22
+ &[src~="bordered"] {
23
+ border: 1px solid black;
24
+ }
25
+ }
26
+
27
+ #footer {
28
+ text-align: center;
29
+ margin: auto;
30
+ font-size: 0.9em;
31
+ margin-bottom: 10px;
32
+ padding-bottom: 10px;
33
+ border-top: 1px dotted #000;
34
+ }
35
+
36
+ .pager {
37
+ margin: 15px 0;
38
+ padding: 0;
39
+ text-align: center;
40
+ list-style: none;
41
+
42
+ li {
43
+ display: inline;
44
+
45
+ a {
46
+ display: inline-block;
47
+ text-decoration: none;
48
+ padding: 5px 10px;
49
+ color: #000;
50
+ border: 1px solid #ddd;
51
+ border-radius: 25px;
52
+ }
53
+ }
54
+ }
55
+
56
+ .post-list {
57
+ list-style: none;
58
+ padding: 0;
59
+
60
+ li {
61
+ h3 {
62
+ margin-bottom: 5px;
63
+ }
64
+ }
65
+
66
+ i {
67
+ font-size: 0.8em;
68
+ color: grey;
69
+ }
70
+ }
71
+
72
+ @media (max-width: 392px) {
73
+ .pager {
74
+ li {
75
+ a {
76
+ margin-top: 5px;
77
+ }
78
+ }
79
+ }
80
+ }
81
+
82
+ @media (max-width: 600px) {
83
+ img {
84
+ &[src~="thumbnail"] {
85
+ width: 250px;
86
+ height: auto;
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,13 @@
1
+
2
+ @charset "utf-8";
3
+
4
+ @import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
5
+
6
+ @import
7
+ "theme",
8
+ "navigation",
9
+ "category",
10
+ "post",
11
+ "content",
12
+ "syntax"
13
+ ;
@@ -0,0 +1,5 @@
1
+ ---
2
+ # to be transformed into CSS later
3
+ ---
4
+
5
+ @import "mylab";
Binary file
@@ -0,0 +1,33 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2
+
3
+ <symbol id="dribbble" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 16c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm6.747-6.905c-.234-.074-2.115-.635-4.257-.292.894 2.456 1.258 4.456 1.328 4.872 1.533-1.037 2.624-2.68 2.93-4.58zM10.67 14.3c-.102-.6-.5-2.688-1.46-5.18l-.044.014C5.312 10.477 3.93 13.15 3.806 13.4c1.158.905 2.614 1.444 4.194 1.444.947 0 1.85-.194 2.67-.543zm-7.747-1.72c.155-.266 2.03-3.37 5.555-4.51.09-.03.18-.056.27-.08-.173-.39-.36-.778-.555-1.16-3.413 1.02-6.723.977-7.023.97l-.003.208c0 1.755.665 3.358 1.756 4.57zM1.31 6.61c.307.005 3.122.017 6.318-.832-1.132-2.012-2.353-3.705-2.533-3.952-1.912.902-3.34 2.664-3.784 4.785zM6.4 1.368c.188.253 1.43 1.943 2.548 4 2.43-.91 3.46-2.293 3.582-2.468C11.323 1.827 9.736 1.176 8 1.176c-.55 0-1.087.066-1.6.19zm6.89 2.322c-.145.194-1.29 1.662-3.816 2.694.16.325.31.656.453.99.05.117.1.235.147.352 2.274-.286 4.533.172 4.758.22-.015-1.613-.59-3.094-1.543-4.257z"/></symbol>
4
+
5
+ <symbol id="facebook" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M15.117 0H.883C.395 0 0 .395 0 .883v14.234c0 .488.395.883.883.883h7.663V9.804H6.46V7.39h2.086V5.607c0-2.066 1.262-3.19 3.106-3.19.883 0 1.642.064 1.863.094v2.16h-1.28c-1 0-1.195.48-1.195 1.18v1.54h2.39l-.31 2.42h-2.08V16h4.077c.488 0 .883-.395.883-.883V.883C16 .395 15.605 0 15.117 0" fill-rule="nonzero"/></symbol>
6
+
7
+ <symbol id="flickr" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M0 8c0 2.05 1.662 3.71 3.71 3.71 2.05 0 3.713-1.66 3.713-3.71S5.76 4.29 3.71 4.29C1.663 4.29 0 5.95 0 8zm8.577 0c0 2.05 1.662 3.71 3.712 3.71C14.33 11.71 16 10.05 16 8s-1.662-3.71-3.71-3.71c-2.05 0-3.713 1.66-3.713 3.71z"/></symbol>
8
+
9
+ <symbol id="github" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 0C3.58 0 0 3.582 0 8c0 3.535 2.292 6.533 5.47 7.59.4.075.547-.172.547-.385 0-.19-.007-.693-.01-1.36-2.226.483-2.695-1.073-2.695-1.073-.364-.924-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.223 1.873.87 2.33.665.072-.517.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.953 0-.873.31-1.587.823-2.147-.09-.202-.36-1.015.07-2.117 0 0 .67-.215 2.2.82.64-.178 1.32-.266 2-.27.68.004 1.36.092 2 .27 1.52-1.035 2.19-.82 2.19-.82.43 1.102.16 1.915.08 2.117.51.56.82 1.274.82 2.147 0 3.073-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38C13.71 14.53 16 11.53 16 8c0-4.418-3.582-8-8-8"/></symbol>
10
+
11
+ <symbol id="googleplus" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M5.09 7.273v1.745h2.89c-.116.75-.873 2.197-2.887 2.197-1.737 0-3.155-1.44-3.155-3.215S3.353 4.785 5.09 4.785c.99 0 1.652.422 2.03.786l1.382-1.33c-.887-.83-2.037-1.33-3.41-1.33C2.275 2.91 0 5.19 0 8s2.276 5.09 5.09 5.09c2.94 0 4.888-2.065 4.888-4.974 0-.334-.036-.59-.08-.843H5.09zm10.91 0h-1.455V5.818H13.09v1.455h-1.454v1.454h1.455v1.455h1.46V8.727H16"/></symbol>
12
+
13
+ <symbol id="instagram" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 0C5.827 0 5.555.01 4.702.048 3.85.088 3.27.222 2.76.42c-.526.204-.973.478-1.417.923-.445.444-.72.89-.923 1.417-.198.51-.333 1.09-.372 1.942C.008 5.555 0 5.827 0 8s.01 2.445.048 3.298c.04.852.174 1.433.372 1.942.204.526.478.973.923 1.417.444.445.89.72 1.417.923.51.198 1.09.333 1.942.372.853.04 1.125.048 3.298.048s2.445-.01 3.298-.048c.852-.04 1.433-.174 1.942-.372.526-.204.973-.478 1.417-.923.445-.444.72-.89.923-1.417.198-.51.333-1.09.372-1.942.04-.853.048-1.125.048-3.298s-.01-2.445-.048-3.298c-.04-.852-.174-1.433-.372-1.942-.204-.526-.478-.973-.923-1.417-.444-.445-.89-.72-1.417-.923-.51-.198-1.09-.333-1.942-.372C10.445.008 10.173 0 8 0zm0 1.44c2.136 0 2.39.01 3.233.048.78.036 1.203.166 1.485.276.374.145.64.318.92.598.28.28.453.546.598.92.11.282.24.705.276 1.485.038.844.047 1.097.047 3.233s-.01 2.39-.05 3.233c-.04.78-.17 1.203-.28 1.485-.15.374-.32.64-.6.92-.28.28-.55.453-.92.598-.28.11-.71.24-1.49.276-.85.038-1.1.047-3.24.047s-2.39-.01-3.24-.05c-.78-.04-1.21-.17-1.49-.28-.38-.15-.64-.32-.92-.6-.28-.28-.46-.55-.6-.92-.11-.28-.24-.71-.28-1.49-.03-.84-.04-1.1-.04-3.23s.01-2.39.04-3.24c.04-.78.17-1.21.28-1.49.14-.38.32-.64.6-.92.28-.28.54-.46.92-.6.28-.11.7-.24 1.48-.28.85-.03 1.1-.04 3.24-.04zm0 2.452c-2.27 0-4.108 1.84-4.108 4.108 0 2.27 1.84 4.108 4.108 4.108 2.27 0 4.108-1.84 4.108-4.108 0-2.27-1.84-4.108-4.108-4.108zm0 6.775c-1.473 0-2.667-1.194-2.667-2.667 0-1.473 1.194-2.667 2.667-2.667 1.473 0 2.667 1.194 2.667 2.667 0 1.473-1.194 2.667-2.667 2.667zm5.23-6.937c0 .53-.43.96-.96.96s-.96-.43-.96-.96.43-.96.96-.96.96.43.96.96z"/></symbol>
14
+
15
+ <symbol id="linkedin" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M13.632 13.635h-2.37V9.922c0-.886-.018-2.025-1.234-2.025-1.235 0-1.424.964-1.424 1.96v3.778h-2.37V6H8.51v1.04h.03c.318-.6 1.092-1.233 2.247-1.233 2.4 0 2.845 1.58 2.845 3.637v4.188zM3.558 4.955c-.762 0-1.376-.617-1.376-1.377 0-.758.614-1.375 1.376-1.375.76 0 1.376.617 1.376 1.375 0 .76-.617 1.377-1.376 1.377zm1.188 8.68H2.37V6h2.376v7.635zM14.816 0H1.18C.528 0 0 .516 0 1.153v13.694C0 15.484.528 16 1.18 16h13.635c.652 0 1.185-.516 1.185-1.153V1.153C16 .516 15.467 0 14.815 0z" fill-rule="nonzero"/></symbol>
16
+
17
+ <symbol id="pinterest" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 0C3.582 0 0 3.582 0 8c0 3.39 2.108 6.285 5.084 7.45-.07-.633-.133-1.604.028-2.295.146-.625.938-3.977.938-3.977s-.24-.48-.24-1.188c0-1.11.646-1.943 1.448-1.943.683 0 1.012.513 1.012 1.127 0 .687-.436 1.713-.662 2.664-.19.797.4 1.445 1.185 1.445 1.42 0 2.514-1.498 2.514-3.662 0-1.91-1.376-3.25-3.342-3.25-2.276 0-3.61 1.71-3.61 3.47 0 .69.263 1.43.593 1.83.066.08.075.15.057.23-.06.25-.196.8-.223.91-.035.15-.115.18-.268.11C3.516 10.46 2.89 9 2.89 7.82c0-2.52 1.834-4.84 5.287-4.84 2.774 0 4.932 1.98 4.932 4.62 0 2.76-1.74 4.98-4.16 4.98-.81 0-1.57-.42-1.84-.92l-.5 1.9c-.18.698-.67 1.57-1 2.1.75.23 1.54.357 2.37.357 4.41 0 8-3.58 8-8s-3.59-8-8-8z" fill-rule="nonzero"/></symbol>
18
+
19
+ <symbol id="rss" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M12.8 16C12.8 8.978 7.022 3.2 0 3.2V0c8.777 0 16 7.223 16 16h-3.2zM2.194 11.61c1.21 0 2.195.985 2.195 2.196 0 1.21-.99 2.194-2.2 2.194C.98 16 0 15.017 0 13.806c0-1.21.983-2.195 2.194-2.195zM10.606 16h-3.11c0-4.113-3.383-7.497-7.496-7.497v-3.11c5.818 0 10.606 4.79 10.606 10.607z"/></symbol>
20
+
21
+ <symbol id="stackoverflow" class="svg-icon" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M12.658 14.577v-4.27h1.423V16H1.23v-5.693h1.42v4.27h10.006zm-8.583-1.423h7.16V11.73h-7.16v1.424zm.173-3.235l6.987 1.46.3-1.38L4.55 8.54l-.302 1.38zm.906-3.37l6.47 3.02.602-1.3-6.47-3.02-.602 1.29zm1.81-3.19l5.478 4.57.906-1.08L7.87 2.28l-.9 1.078zM10.502 0L9.338.863l4.27 5.735 1.164-.862L10.5 0z"/></symbol>
22
+
23
+ <symbol id="twitter" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16 3.038c-.59.26-1.22.437-1.885.517.677-.407 1.198-1.05 1.443-1.816-.634.37-1.337.64-2.085.79-.598-.64-1.45-1.04-2.396-1.04-1.812 0-3.282 1.47-3.282 3.28 0 .26.03.51.085.75-2.728-.13-5.147-1.44-6.766-3.42C.83 2.58.67 3.14.67 3.75c0 1.14.58 2.143 1.46 2.732-.538-.017-1.045-.165-1.487-.41v.04c0 1.59 1.13 2.918 2.633 3.22-.276.074-.566.114-.865.114-.21 0-.41-.02-.61-.058.42 1.304 1.63 2.253 3.07 2.28-1.12.88-2.54 1.404-4.07 1.404-.26 0-.52-.015-.78-.045 1.46.93 3.18 1.474 5.04 1.474 6.04 0 9.34-5 9.34-9.33 0-.14 0-.28-.01-.42.64-.46 1.2-1.04 1.64-1.7z" fill-rule="nonzero"/></symbol>
24
+
25
+ <symbol id="youtube" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M0 7.345c0-1.294.16-2.59.16-2.59s.156-1.1.636-1.587c.608-.637 1.408-.617 1.764-.684C3.84 2.36 8 2.324 8 2.324s3.362.004 5.6.166c.314.038.996.04 1.604.678.48.486.636 1.588.636 1.588S16 6.05 16 7.346v1.258c0 1.296-.16 2.59-.16 2.59s-.156 1.102-.636 1.588c-.608.638-1.29.64-1.604.678-2.238.162-5.6.166-5.6.166s-4.16-.037-5.44-.16c-.356-.067-1.156-.047-1.764-.684-.48-.487-.636-1.587-.636-1.587S0 9.9 0 8.605v-1.26zm6.348 2.73V5.58l4.323 2.255-4.32 2.24z"/></symbol>
26
+
27
+ <symbol id="mastodon" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414">
28
+ <path transform="scale(0.07)" d="M211.80734 139.0875c-3.18125 16.36625-28.4925 34.2775-57.5625 37.74875-15.15875 1.80875-30.08375 3.47125-45.99875 2.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125 0 2.53375.15625 4.94625.46875 7.2025 3.38375 25.68625 25.47 27.225 46.39125 27.9425 21.11625.7225 39.91875-5.20625 39.91875-5.20625l.8675 19.09s-14.77 7.93125-41.08125 9.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234 213.82 1.40609 165.31125.20859 116.09125c-.365-14.61375-.14-28.39375-.14-39.91875 0-50.33 32.97625-65.0825 32.97625-65.0825C49.67234 3.45375 78.20359.2425 107.86484 0h.72875c29.66125.2425 58.21125 3.45375 74.8375 11.09 0 0 32.975 14.7525 32.975 65.0825 0 0 .41375 37.13375-4.59875 62.915"/>
29
+ <path transform="scale(0.07)" fill="#FFF" d="M177.50984 80.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025 0-17.4175 7.5075-17.4175 22.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375 0-15.74 6.32875-15.74 18.7975v59.15H38.90484V80.077c0-12.455 3.17125-22.3525 9.54125-29.675 6.56875-7.3225 15.17125-11.07625 25.85-11.07625 12.355 0 21.71125 4.74875 27.8975 14.2475l6.01375 10.08125 6.015-10.08125c6.185-9.49875 15.54125-14.2475 27.8975-14.2475 10.6775 0 19.28 3.75375 25.85 11.07625 6.36875 7.3225 9.54 17.22 9.54 29.675"/>
30
+ </symbol>
31
+
32
+
33
+ </svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my-lab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - shuamilabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-30 00:00:00.000000000 Z
11
+ date: 2020-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,56 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.8.7
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 3.8.7
27
- - !ruby/object:Gem::Dependency
28
- name: jekyll-paginate
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
19
+ version: '4.1'
20
+ - - "<"
32
21
  - !ruby/object:Gem::Version
33
- version: 1.1.0
22
+ version: '5.0'
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
37
26
  requirements:
38
27
  - - "~>"
39
28
  - !ruby/object:Gem::Version
40
- version: 1.1.0
41
- - !ruby/object:Gem::Dependency
42
- name: jekyll-seo-tag
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 2.6.1
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
29
+ version: '4.1'
30
+ - - "<"
53
31
  - !ruby/object:Gem::Version
54
- version: 2.6.1
32
+ version: '5.0'
55
33
  - !ruby/object:Gem::Dependency
56
- name: jekyll-feed
34
+ name: jekyll-paginate-v2
57
35
  requirement: !ruby/object:Gem::Requirement
58
36
  requirements:
59
37
  - - "~>"
60
38
  - !ruby/object:Gem::Version
61
- version: 0.13.0
39
+ version: 3.0.0
62
40
  type: :runtime
63
41
  prerelease: false
64
42
  version_requirements: !ruby/object:Gem::Requirement
65
43
  requirements:
66
44
  - - "~>"
67
45
  - !ruby/object:Gem::Version
68
- version: 0.13.0
46
+ version: 3.0.0
69
47
  - !ruby/object:Gem::Dependency
70
48
  name: bundler
71
49
  requirement: !ruby/object:Gem::Requirement
@@ -100,8 +78,33 @@ email:
100
78
  executables: []
101
79
  extensions: []
102
80
  extra_rdoc_files: []
103
- files: []
104
- homepage: https://shuamilabs.github.io
81
+ files:
82
+ - LICENSE.txt
83
+ - README.md
84
+ - _config.yml
85
+ - _includes/discussion.html
86
+ - _includes/footer.html
87
+ - _includes/header.html
88
+ - _includes/navigation.html
89
+ - _layouts/category.html
90
+ - _layouts/default.html
91
+ - _layouts/page.html
92
+ - _layouts/post.html
93
+ - _sass/_category.scss
94
+ - _sass/_content.scss
95
+ - _sass/_navigation.scss
96
+ - _sass/_post.scss
97
+ - _sass/_syntax.scss
98
+ - _sass/_theme.scss
99
+ - _sass/mylab.scss
100
+ - assets/css/main.scss
101
+ - assets/images/favicon-16x16.png
102
+ - assets/images/home.png
103
+ - assets/images/minima-social-icons.svg
104
+ - assets/images/my_lab01.jpg
105
+ - assets/images/my_lab02.jpg
106
+ - assets/images/tanjak_sl_0.png
107
+ homepage: https://github.com/shuamilabs/mylab-jekyll
105
108
  licenses:
106
109
  - MIT
107
110
  metadata: {}