jekyll-theme-windows95 0.3.1 → 0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc1f5aa7760d8e531e730c27a6ed32274bbc08cef0eee81471decba3b8c7616e
4
- data.tar.gz: ba13920d08e7ff0e42bfe8a1f21b4725895710740bb673d9d9a0933fb27b20f7
3
+ metadata.gz: ac32ce8b982f3c2b0fa90bfdba794d2f93e2bd7524e180256bf687f5af0219bf
4
+ data.tar.gz: 78c38498572fdde3aee34aede57db113aea1a76415e817a773a3c06910b4cd82
5
5
  SHA512:
6
- metadata.gz: 9ddab406bb14fb448b579498c7bddee686a45623610fb772293bc816236a9a0a081d6f6a78fc69d09a5a561293850ce4cb715361c9bb77ad80822b456b4f39b8
7
- data.tar.gz: f56fad51319c08d310f278f20d8dd0b8c80891817ce8b2dc8a6b0ed6b4de1803525ad2b7b1bc8fecd4cea3f805fd602fc1866c88246aeb6bd174186bf95bb7bb
6
+ metadata.gz: 339fcd99d69a18d5f041b7e9ef12a878d63579b24fe8c0cd925264505d2c7b60a0af0ba72a9f6c3f9b2c2ac9b73b6e9a76ca32984785bda9358d01e878ab791f
7
+ data.tar.gz: 2070c0f5527e80d82885a4be4efa012b45ec7d514a2f64c08f4a87f7453052229f5f1100e1380c6763411dc17460a9a784d476105e91ce08fb76ca74dacfda04
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Windows 95 Theme for Jekyll
2
2
 
3
- [![Build Status](https://travis-ci.org/asantos07/jekyll-theme-windows95.svg?branch=master)](https://travis-ci.org/asantos07/jekyll-theme-windows95)
3
+ [![Gem Version](https://badge.fury.io/rb/jekyll-theme-windows95.svg)](https://badge.fury.io/rb/jekyll-theme-windows95)[![Build Status](https://travis-ci.org/asantos07/jekyll-theme-windows95.svg?branch=master)](https://travis-ci.org/asantos07/jekyll-theme-windows95)[![GitHub issues](https://img.shields.io/github/issues/asantos07/jekyll-theme-windows95.svg)](https://github.com/asantos07/jekyll-theme-windows95/issues)[![GitHub license](https://img.shields.io/github/license/asantos07/jekyll-theme-windows95.svg)](https://github.com/asantos07/jekyll-theme-windows95/blob/master/LICENSE)
4
4
 
5
- Homepage (demo): [Windows 95](https://h01000110.github.io/20170917/windows-95)
5
+ ### Homepage (demo): [Jekyll Theme Windows 95](https://asantos07.github.io/jekyll-theme-windows95/)
6
6
 
7
- Author: [Ariel Santos](https://github.com/asantos07), forked off [h01000110 (hi)](https://github.com/h01000110)
7
+ ## For a documentation on how to use this theme, see the live demo.
8
8
 
9
- License: [MIT](https://github.com/asantos07/jekyll-theme-windows95/blob/master/LICENSE)
9
+ ### Author: [Ariel Santos](https://github.com/asantos07), forked from [h01000110 (hi)](https://github.com/h01000110)
data/_data/social.yml CHANGED
@@ -1,6 +1,6 @@
1
- - name: Github
2
- link: https://github.com/asantos07/jekyll-theme-windows95/
3
1
  - name: Author
4
2
  link: https://asantos07.github.io/
3
+ - name: Github
4
+ link: https://github.com/asantos07/jekyll-theme-windows95/
5
5
  - name: RubyGems
6
6
  link: https://rubygems.org/gems/jekyll-theme-windows95
data/_layouts/all.html ADDED
@@ -0,0 +1,8 @@
1
+ <ul>
2
+ {% for post in site.posts %}
3
+ <li>
4
+ <a href="{{ post.url }}" title="{{ post.title }}">
5
+ <img src="{{ " /assets/img/file.ico " | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a>
6
+ </li>
7
+ {% endfor %}
8
+ </ul>
@@ -18,15 +18,11 @@
18
18
  <script>hljs.initHighlightingOnLoad();</script>
19
19
  </head>
20
20
  <body>
21
- <div class="wrapper">
22
- {% if page.title or page.title == 'me' %}
23
- <div class="page_title">
24
- {% else %}
25
- <div class="default_title">
26
- {% endif %}
21
+ <div class="wrapper window">
22
+ <div class="window_title">
27
23
  <img src="{{ "/assets/img/mycomputer.png" | relative_url }}" />
28
24
  {% if page.tag %}
29
- <h1>{{ page.tag }}</h1>
25
+ <h1>{{ site.title }} - {{ page.tag }}</h1>
30
26
  {% else %}
31
27
  <h1>{{ site.title }}</h1>
32
28
  {% endif %}
@@ -34,26 +30,30 @@
34
30
  {% include topbar.html %}
35
31
  <div class="tag_list">
36
32
  <ul id="tag-list">
37
- <li><a href="/" ><img src="{{ "/assets/img/disk.png" | relative_url }}" />(C:)</a>
38
- <ul>
39
- {% assign tags = site.tags | sort %}
40
- {% for tag in tags %}
41
- <li><a href="{{ site.baseurl }}/tag/{{ tag | first | slugify }}/" title="{{ tag[0] | replace:'-', ' ' }}"><img src="{{ "/assets/img/folder.ico" | relative_url }}" />{{ tag[0] | replace:'-', ' ' }}</a></li>
42
- {% endfor %}
43
- </ul>
33
+ <li>
34
+ <a href="{{ site.baseurl }}/" ><img src="{{ "/assets/img/disk.png" | relative_url }}" />(C:)</a>
35
+ <ul>
36
+ {% assign tags = site.tags | sort %}
37
+ {% for tag in tags %}
38
+ <li><a href="{{ site.baseurl }}/tag/{{ tag | first | slugify }}/" title="{{ tag[0] | replace:'-', ' ' }}"><img src="{{ "/assets/img/folder.ico" | relative_url }}" />{{ tag[0] | replace:'-', ' ' }}</a></li>
39
+ {% endfor %}
40
+ </ul>
41
+ <a href="{{ site.baseurl }}/all" ><img src="{{ "/assets/img/briefcase.png" | relative_url }}" />All</a>
44
42
  </li>
45
43
  </ul>
46
44
  </div>
47
45
  <div class="post_list">
48
- {% unless page.date%}
49
- {% if page.title == 'me' or page.title == '404...' %}
46
+ {% unless page.date %}
47
+ {% if page.title == '404...' %}
50
48
  <ul>
51
49
  {% for post in site.posts %}
52
- <li><a href="{{ post.url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li>
50
+ <li><a href="{{ post.url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li>
53
51
  {% endfor %}
54
52
  </ul>
55
53
  {% else %}
56
- {{ content }}
54
+ <div class="intro">
55
+ {{ content }}
56
+ </div>
57
57
  {% endif %}
58
58
  {% else %}
59
59
  <ul>
@@ -73,11 +73,11 @@
73
73
  </div>
74
74
  </div>
75
75
  {% if page.title %}
76
- <div class="content">
77
- <div class="post_title">
76
+ <div class="content window">
77
+ <div class="window_title">
78
78
  <img src="{{ "/assets/img/file.png" | relative_url }}" />
79
79
  <h1>{{ page.title }}</h1>
80
- <a href="/"><div class="btn"><span class="fa fa-times"></span></div></a>
80
+ <a href="{{ site.baseurl }}/"><div class="btn"><span class="fa fa-times"></span></div></a>
81
81
  <div class="btn btn_max"><span class="fa fa-window-maximize"></span></div>
82
82
  <div class="btn"><span class="fa fa-window-minimize"></span></div>
83
83
  </div>
data/_layouts/tag.html CHANGED
@@ -3,6 +3,6 @@ layout: default
3
3
  ---
4
4
  <ul>
5
5
  {% for post in site.tags[page.tag] %}
6
- <li><a href="{{ post.url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li>
6
+ <li><a href="{{ site.baseurl }}/{{ post.url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li>
7
7
  {% endfor %}
8
8
  </ul>
@@ -0,0 +1,96 @@
1
+ .post_list {
2
+ width: 70.2%;
3
+ margin: 0 auto;
4
+ min-height: 150px;
5
+ max-height: 150px;
6
+ overflow-y: scroll;
7
+ display: inline-block;
8
+ ul {
9
+ list-style: none;
10
+ li {
11
+ display: inline-block;
12
+ margin: 10px;
13
+ max-width: 16ch;
14
+ overflow: hidden;
15
+ text-overflow: ellipsis;
16
+ white-space: nowrap;
17
+ text-align: center;
18
+ img {
19
+ display: block;
20
+ margin: 0 auto;
21
+ margin-bottom: 8px;
22
+ }
23
+ a {
24
+ text-decoration: none;
25
+ color: #000000;
26
+ }
27
+ }
28
+ }
29
+ }
30
+
31
+ .post_list>.intro {
32
+ margin: 4px 2px 2px 2px;
33
+ overflow-wrap: break-word;
34
+ a {
35
+ color: #0000ff;
36
+ }
37
+ h1 {
38
+ font-size: 20px;
39
+ font-weight: 700;
40
+ margin: 5px 0 5px 0;
41
+ }
42
+ h2 {
43
+ font-size: 18px;
44
+ font-weight: 700;
45
+ margin: 25px 0 5px 0;
46
+ }
47
+ em {
48
+ font-style: italic;
49
+ }
50
+ blockquote {
51
+ padding: 0 0 0 15px;
52
+ margin: 15px 5px;
53
+ border-left: 8px solid #000000;
54
+ }
55
+ strong {
56
+ font-weight: 700;
57
+ }
58
+ hr {
59
+ border-top: 3px solid #333333;
60
+ border-left: 0;
61
+ }
62
+ ul {
63
+ margin: 0 0 15px 30px;
64
+ li {
65
+ padding: 5px;
66
+ ul {
67
+ margin: 10px 0 0 15px;
68
+ li {
69
+ padding: 5px;
70
+ }
71
+ }
72
+ }
73
+ }
74
+ ol {
75
+ list-style: decimal-leading-zero;
76
+ margin: 0 0 15px 30px;
77
+ li {
78
+ padding: 5px;
79
+ ul {
80
+ margin: 10px 0 0 15px;
81
+ li {
82
+ padding: 5px;
83
+ }
84
+ }
85
+ }
86
+ }
87
+ table,
88
+ th,
89
+ td {
90
+ border: 1px solid #222222;
91
+ padding: 2px;
92
+ }
93
+ pre {
94
+ margin-bottom: 15px;
95
+ }
96
+ }
@@ -0,0 +1,16 @@
1
+ ul.topbar {
2
+ list-style: none;
3
+ padding: 0 5px;
4
+ margin: 3px 0 3px 0;
5
+ li {
6
+ display: inline-block;
7
+ margin: 0 10px 0 0;
8
+ }
9
+ a {
10
+ text-decoration: none;
11
+ color: #000000;
12
+ }
13
+ li::first-letter {
14
+ text-decoration: underline;
15
+ }
16
+ }
@@ -0,0 +1,61 @@
1
+ .window>.window_title {
2
+ background: #808080;
3
+ }
4
+
5
+ .window:hover>.window_title {
6
+ background: #00007f;
7
+ }
8
+
9
+ .window_title {
10
+ padding: 3px 4px 3px 4px;
11
+ position: relative;
12
+ h1 {
13
+ color: #bfb8bf;
14
+ font-size: 14px;
15
+ font-weight: bold;
16
+ }
17
+ img {
18
+ float: left;
19
+ width: 14px;
20
+ height: 14px;
21
+ margin: 0 4px 0 0;
22
+ }
23
+ }
24
+
25
+ .content>.window_title {
26
+ h1 {
27
+ display: inline-block;
28
+ }
29
+ a {
30
+ color: #000000;
31
+ }
32
+ .btn {
33
+ background: #cccccc;
34
+ width: 13px;
35
+ height: 11px;
36
+ float: right;
37
+ border: 2px solid;
38
+ border-color: #fff8ff #000000 #000000 #fff8ff;
39
+ span {
40
+ font-size: 11px;
41
+ position: relative;
42
+ left: 2px;
43
+ top: -2px;
44
+ }
45
+ .fa-window-minimize {
46
+ font-size: 10px;
47
+ left: 1px;
48
+ }
49
+ .fa-window-maximize {
50
+ font-size: 10px;
51
+ left: 1px;
52
+ }
53
+ }
54
+ .btn_max {
55
+ margin: 0 3px 0 0;
56
+ }
57
+ .btn:active {
58
+ width: 12px;
59
+ height: 10px;
60
+ }
61
+ }
@@ -3,8 +3,9 @@
3
3
  ---
4
4
 
5
5
  @import "reset";
6
- @import "post";
7
- @import "site";
6
+ @import "window";
7
+ @import "topbar";
8
+ @import "postlist";
8
9
 
9
10
  body {
10
11
  background: #008082;
@@ -21,123 +22,13 @@ body {
21
22
  border-color: #fff8ff #000000 #000000 #fff8ff;
22
23
  padding: 2px 0;
23
24
  }
24
- .default_title, .post_title {
25
- padding: 2px 4px 3px 4px;
26
- position: relative;
27
-
28
- h1 {
29
- color: #bfb8bf;
30
- font-size: 14px;
31
- font-weight: bold;
32
- }
33
-
34
- img {
35
- float: left;
36
- width: 14px;
37
- height: 14px;
38
- margin: 0 3px 0 0;
39
- }
40
- }
41
- .post_title {
42
- h1 {
43
- display: inline-block;
44
- }
45
-
46
- a {
47
- color: #000000;
48
- }
49
25
 
50
- .btn {
51
- background: #cccccc;
52
- width: 13px;
53
- height: 11px;
54
- float: right;
55
- border: 2px solid;
56
- border-color: #fff8ff #000000 #000000 #fff8ff;
57
-
58
- span {
59
- font-size: 11px;
60
- position: relative;
61
- left: 2px;
62
- top: -2px;
63
- }
64
-
65
- .fa-window-minimize {
66
- font-size: 10px;
67
- left: 1px;
68
- }
69
-
70
- .fa-window-maximize {
71
- font-size: 10px;
72
- left: 1px;
73
- }
74
- }
75
-
76
- .btn_max {
77
- margin: 0 3px 0 0;
78
- }
79
-
80
- .btn:active {
81
- width: 12px;
82
- height: 10px;
83
- }
84
- }
85
- ul.topbar {
86
- list-style: none;
87
- padding: 0 10px;
88
- margin: 3px 0 3px 0;
89
-
90
- li {
91
- display: inline-block;
92
- margin: 0 5px 0 0;
93
- }
94
- a {
95
- text-decoration: none;
96
- color: #000000;
97
- }
98
- li::first-letter {
99
- text-decoration: underline;
100
- }
101
- }
102
26
  .post_list, .tag_list, .post_content {
103
27
  background: #fff8ff;
104
28
  border-width: 2px;
105
29
  border-style: ridge groove groove ridge;
106
30
  border-color: #7f787f #fff8ff #fff8ff #7f787f;
107
31
  }
108
- .post_list {
109
- width: 70.2%;
110
- margin: 0 auto;
111
- min-height: 150px;
112
- max-height: 150px;
113
- overflow-y: scroll;
114
- display: inline-block;
115
-
116
- ul {
117
- list-style: none;
118
-
119
- li {
120
- display: inline-block;
121
- margin: 10px;
122
- max-width: 16ch;
123
- overflow: hidden;
124
- text-overflow: ellipsis;
125
- white-space: nowrap;
126
- text-align: center;
127
-
128
- img {
129
- display: block;
130
- margin: 0 auto;
131
- margin-bottom: 8px;
132
- }
133
-
134
- a {
135
- text-decoration: none;
136
- color: #000000;
137
- }
138
- }
139
- }
140
- }
141
32
  .tag_list {
142
33
  width: 28%;
143
34
  margin: 0 auto;
@@ -205,7 +96,7 @@ ul.topbar {
205
96
  padding: 2px;
206
97
  margin: 0 auto;
207
98
  overflow-y: scroll;
208
- overflow-x: scroll;
99
+ // overflow-x: scroll;
209
100
 
210
101
  p {
211
102
  line-height: 150%;
@@ -306,15 +197,6 @@ ul.topbar {
306
197
  }
307
198
  }
308
199
  }
309
- .donate {
310
- float: right;
311
- padding: 0 3px 0 0;
312
-
313
- p {
314
- text-align: right;
315
- word-break: break-word;
316
- }
317
- }
318
200
  @media only screen and (max-width: 900px) {
319
201
  .content {
320
202
  width: 90%;
Binary file
data/tags/all.html ADDED
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: default
3
+ tag:
4
+ permalink: /all/
5
+ ---
6
+ <ul>
7
+ {% for post in site.posts %}
8
+ <li><a href="{{ post.url | relative_url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li>
9
+ {% endfor %}
10
+ </ul>
data/tags/society.html ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: tag
3
+ tag: society
4
+ permalink: /tag/society/
5
+ ---
data/tags/tech.html ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: tag
3
+ tag: tech
4
+ permalink: /tag/tech/
5
+ ---
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-windows95
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Santos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-14 00:00:00.000000000 Z
11
+ date: 2018-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '3.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '3.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -48,14 +48,14 @@ files:
48
48
  - LICENSE
49
49
  - README.md
50
50
  - _data/social.yml
51
- - _data/tags.yml
52
51
  - _includes/topbar.html
52
+ - _layouts/all.html
53
53
  - _layouts/default.html
54
- - _layouts/me.html
55
54
  - _layouts/tag.html
56
- - _sass/_post.scss
55
+ - _sass/_postlist.scss
57
56
  - _sass/_reset.scss
58
- - _sass/_site.scss
57
+ - _sass/_topbar.scss
58
+ - _sass/_window.scss
59
59
  - assets/css/atom-one-light.css
60
60
  - assets/css/font-awesome.css
61
61
  - assets/css/font-awesome.min.css
@@ -66,6 +66,7 @@ files:
66
66
  - assets/fonts/fontawesome-webfont.ttf
67
67
  - assets/fonts/fontawesome-webfont.woff
68
68
  - assets/fonts/fontawesome-webfont.woff2
69
+ - assets/img/briefcase.png
69
70
  - assets/img/disk.png
70
71
  - assets/img/down.png
71
72
  - assets/img/favicon.ico
@@ -82,6 +83,9 @@ files:
82
83
  - assets/js/001.js
83
84
  - assets/js/002.js
84
85
  - assets/js/highlight.pack.js
86
+ - tags/all.html
87
+ - tags/society.html
88
+ - tags/tech.html
85
89
  homepage: https://asantos07.github.io/jekyll-theme-windows95/
86
90
  licenses:
87
91
  - MIT
data/_data/tags.yml DELETED
@@ -1,11 +0,0 @@
1
- tag1:
2
- name: tag1
3
-
4
- tag2:
5
- name: tag2
6
-
7
- tag3:
8
- name: tag3
9
-
10
- tag4:
11
- name: tag4
data/_layouts/me.html DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {{ content }}
data/_sass/_post.scss DELETED
@@ -1,6 +0,0 @@
1
- .page_title {
2
- background: #808080;
3
- }
4
- .post_title {
5
- background: #00007f;
6
- }
data/_sass/_site.scss DELETED
@@ -1,3 +0,0 @@
1
- .default_title {
2
- background: #00007f;
3
- }