my-lab 0.1.01 → 0.1.02
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -7
- data/_config.yml +2 -0
- data/_sass/_content.scss +10 -1
- data/_sass/_post.scss +3 -0
- data/_sass/_theme.scss +23 -0
- data/assets/images/my_lab01.jpg +0 -0
- data/assets/images/my_lab02.jpg +0 -0
- metadata +3 -3
- data/assets/.DS_Store +0 -0
- data/assets/images/tanjak_sl.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c87d32aa3592a68b2e65f803ff4d70cc1c8bbbda40249dae808b274c362f0d67
|
4
|
+
data.tar.gz: 28ded9665213d4211170859dc5bc027e99fd98d27f4af37e40cd397e657f459c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d446a604f11e710798635b2b158247bbb40c199994f3bcc9b5d971734cddaa579ecd298d9de1aa9ef51e37d9532cd82fe96cffabf6752b34789187e08477a230
|
7
|
+
data.tar.gz: a5647b8573903dd2b00596a530d13a86fe97b6788395112533154c5e595ad5122d4cede09414edfeb603aaf4b1c6413bbcc30b38864736001999e5a089139194
|
data/README.md
CHANGED
@@ -27,21 +27,60 @@ Or install it yourself as:
|
|
27
27
|
|
28
28
|
$ gem install my-lab
|
29
29
|
|
30
|
-
##
|
30
|
+
## Image
|
31
|
+
![](assets/images/my_lab01.jpg)
|
32
|
+
![](assets/images/my_lab02.jpg)
|
31
33
|
|
32
|
-
|
34
|
+
## Usage
|
35
|
+
### default layouts files
|
33
36
|
- category.html
|
34
37
|
- default.html
|
35
38
|
- page.html
|
36
39
|
- post.html
|
37
40
|
|
38
|
-
includes
|
41
|
+
### includes files
|
39
42
|
- discussion.html
|
40
43
|
- footer.html
|
41
44
|
- header.html
|
42
45
|
- navigation.html
|
43
46
|
|
44
|
-
|
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
|
+
---
|
58
|
+
Index page
|
59
|
+
```
|
60
|
+
|
61
|
+
__about.md__
|
62
|
+
|
63
|
+
```
|
64
|
+
---
|
65
|
+
layout: page
|
66
|
+
title: About
|
67
|
+
permalink: /about/
|
68
|
+
---
|
69
|
+
About page
|
70
|
+
```
|
71
|
+
|
72
|
+
__categories.md__
|
73
|
+
|
74
|
+
```
|
75
|
+
---
|
76
|
+
layout: page
|
77
|
+
title: Categories
|
78
|
+
permalink: /categories/
|
79
|
+
---
|
80
|
+
{% for category in site.categories %}
|
81
|
+
- [{{category | first}}]({{site.url}}{{site.baseurl}}{{page.url}}{{category | first}})
|
82
|
+
{% endfor %}
|
83
|
+
```
|
45
84
|
|
46
85
|
## Contributing
|
47
86
|
|
@@ -53,9 +92,6 @@ To set up your environment to develop this theme, run `bundle install`.
|
|
53
92
|
|
54
93
|
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.
|
55
94
|
|
56
|
-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
57
|
-
To add a custom directory to your theme-gem, please edit the regexp in `my-lab.gemspec` accordingly.
|
58
|
-
|
59
95
|
## License
|
60
96
|
|
61
97
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_config.yml
CHANGED
data/_sass/_content.scss
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
#content-left {
|
2
|
-
text-align: left;
|
3
2
|
margin: auto;
|
4
3
|
padding-top: 5px;
|
5
4
|
margin-bottom: 20px;
|
@@ -15,6 +14,16 @@
|
|
15
14
|
text-decoration: none;
|
16
15
|
}
|
17
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
|
+
|
18
27
|
}
|
19
28
|
|
20
29
|
#content {
|
data/_sass/_post.scss
CHANGED
data/_sass/_theme.scss
CHANGED
@@ -11,6 +11,19 @@ body {
|
|
11
11
|
|
12
12
|
.svg-icon { width: 16px; height: 16px; display: inline-block; fill: #414141;}
|
13
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
|
+
|
14
27
|
#footer {
|
15
28
|
text-align: center;
|
16
29
|
margin: auto;
|
@@ -26,5 +39,15 @@ body {
|
|
26
39
|
background-color: #ddd;
|
27
40
|
border-radius: 25px;
|
28
41
|
font-size: 15px;
|
42
|
+
margin-top: 10px;
|
29
43
|
text-align: right;
|
44
|
+
}
|
45
|
+
|
46
|
+
@media (max-width: 600px) {
|
47
|
+
img {
|
48
|
+
&[src~="thumbnail"] {
|
49
|
+
width: 250px;
|
50
|
+
height: auto;
|
51
|
+
}
|
52
|
+
}
|
30
53
|
}
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my-lab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.02
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shuamilabs
|
@@ -118,10 +118,10 @@ files:
|
|
118
118
|
- _sass/_post.scss
|
119
119
|
- _sass/_theme.scss
|
120
120
|
- _sass/mylab.scss
|
121
|
-
- assets/.DS_Store
|
122
121
|
- assets/css/main.scss
|
123
122
|
- assets/images/minima-social-icons.svg
|
124
|
-
- assets/images/
|
123
|
+
- assets/images/my_lab01.jpg
|
124
|
+
- assets/images/my_lab02.jpg
|
125
125
|
- assets/images/tanjak_sl_0.png
|
126
126
|
homepage: https://github.com/shuamilabs/mylab-jekyll
|
127
127
|
licenses:
|
data/assets/.DS_Store
DELETED
Binary file
|
data/assets/images/tanjak_sl.png
DELETED
Binary file
|