Skip to content

Commit ce563fa

Browse files
committed
- docker + 1920x1080 responsiveness
1 parent 503ecf7 commit ce563fa

File tree

9 files changed

+36
-23
lines changed

9 files changed

+36
-23
lines changed

Gemfile.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ GEM
88
em-websocket (0.5.1)
99
eventmachine (>= 0.12.9)
1010
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
1112
eventmachine (1.2.7-x64-mingw32)
13+
ffi (1.10.0)
1214
ffi (1.10.0-x64-mingw32)
1315
forwardable-extended (2.6.0)
1416
http_parser.rb (0.6.0)
@@ -61,9 +63,9 @@ GEM
6163
sass-listen (4.0.0)
6264
rb-fsevent (~> 0.9, >= 0.9.4)
6365
rb-inotify (~> 0.9, >= 0.9.7)
64-
wdm (0.1.1)
6566

6667
PLATFORMS
68+
ruby
6769
x64-mingw32
6870

6971
DEPENDENCIES
@@ -74,7 +76,6 @@ DEPENDENCIES
7476
jekyll-sitemap
7577
kramdown
7678
rouge
77-
wdm (>= 0.1.0)
7879

7980
BUNDLED WITH
80-
1.16.4
81+
2.0.1

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ adsense-data-ad-client: "ca-pub-3412143450191416"
6767
adsense-data-ad-slot: "1363087678"
6868

6969
# Lazy Images ("enabled" or "disabled")
70-
lazyimages: "enabled"
70+
lazyimages: "disabled"
7171

72-
exclude: [changelog.md, LICENSE.txt, README.md, Gemfile, Gemfile.lock]
72+
exclude: [changelog.md, LICENSE.txt, README.md, Gemfile, Gemfile.lock]

_includes/featuredbox.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<div class="col-12 col-md-12 col-lg-5 pr-lg-0">
77
<div class="h-100">
88
<div class="wrapthumbnail">
9-
<a href="{{ post.url | absolute_url }}">
9+
<a href="{{ site.baseurl }}/{{ post.url }}">
1010
{% if site.lazyimages == "enabled" %}
11-
<img class="featured-box-img-cover lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ post.image | absolute_url }}{% endif %}">
11+
<img class="featured-box-img-cover lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}">
1212
{% else %}
13-
<img class="featured-box-img-cover" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ post.image | absolute_url }}{% endif %}">
13+
<img class="featured-box-img-cover" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}{{ post.image }}{% endif %}">
1414
{% endif %}
1515
</a>
1616
</div>
@@ -21,7 +21,7 @@
2121
<div class="card">
2222
<div class="card-body">
2323
<h2 class="card-title">
24-
<a class="text-dark" href="{{ post.url | absolute_url }}">{{ post.title }}</a>
24+
<a class="text-dark" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
2525
{% if post.rating %}
2626
<div class="mb-2 mt-2 font-weight-normal">
2727
{% include star_rating_postbox.html %}
@@ -46,7 +46,7 @@ <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:25 }}</h4>
4646
{% endif %}
4747
<span class="post-date">{{ post.date | date_to_string }}</span>
4848
</span>
49-
<span class="post-read-more"><a href="{{ post.url | absolute_url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
49+
<span class="post-read-more"><a href="{{ site.baseurl }}/{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
5050
<div class="clearfix"></div>
5151
</div>
5252
</div>

_includes/postbox.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
<div class="col-lg-4 col-md-6 mb-30px card-group">
55
<div class="card h-100">
66
<div class="maxthumb">
7-
<a href="{{ post.url | absolute_url }}">
7+
<a href="{{ site.baseurl }}{{ post.url }}">
88
{% if post.image %}
99

1010
{% if site.lazyimages == "enabled" %}
11-
<img class="img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ post.image | absolute_url }}{% endif %}" alt="{{ post.title }}">
11+
<img class="img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
1212
{% else %}
13-
<img class="img-fluid" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ post.image | absolute_url }}{% endif %}" alt="{{ post.title }}">
13+
<img class="img-fluid" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
1414
{% endif %}
1515

1616
{% endif %}
1717
</a>
1818
</div>
1919
<div class="card-body">
2020
<h2 class="card-title">
21-
<a class="text-dark" href="{{ post.url | absolute_url }}">{{ post.title }}</a>
21+
<a class="text-dark" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
2222
{% if post.rating %}
2323
<div class="mb-2 mt-2 font-weight-normal">
2424
{% include star_rating_postbox.html %}
@@ -42,7 +42,7 @@ <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4>
4242
{% endif %}
4343
<span class="post-date">{{ post.date | date_to_string }}</span>
4444
</span>
45-
<span class="post-read-more"><a href="{{ post.url | absolute_url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
45+
<span class="post-read-more"><a href="{{ site.baseurl }}{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
4646
<div class="clearfix"></div>
4747
</div>
4848
</div>

_layouts/post.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ <h1 class="posttitle">{{ page.title }}</h1>
5353
{% if page.image %}
5454

5555
{% if site.lazyimages == "enabled" %}
56-
<img class="featured-image img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ page.image | absolute_url }}{% endif %}" alt="{{ page.title }}">
56+
<img class="featured-image img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ site.baseurl }}/{{ page.image }}{% endif %}" alt="{{ page.title }}">
5757
{% else %}
58-
<img class="featured-image img-fluid" src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ page.image | absolute_url }}{% endif %}" alt="{{ page.title }}">
58+
<img class="featured-image img-fluid" src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ site.baseurl }}/{{ page.image }}{% endif %}" alt="{{ page.title }}">
5959
{% endif %}
6060

6161
{% endif %}
@@ -123,10 +123,10 @@ <h3 class="font-weight-bold">Summary</h3>
123123
<!-- Prev/Next -->
124124
<div class="row PageNavigation d-flex justify-content-between font-weight-bold">
125125
{% if page.previous.url %}
126-
<a class="prev d-block col-md-6" href="{{page.previous.url | absolute_url}}"> &laquo; {{page.previous.title}}</a>
126+
<a class="prev d-block col-md-6" href="{{ site.baseurl }}/{{page.previous.url}}"> &laquo; {{page.previous.title}}</a>
127127
{% endif %}
128128
{% if page.next.url %}
129-
<a class="next d-block col-md-6 text-lg-right" href="{{page.next.url | absolute_url}}">{{page.next.title}} &raquo; </a>
129+
<a class="next d-block col-md-6 text-lg-right" href="{{ site.baseurl }}/{{page.next.url}}">{{page.next.title}} &raquo; </a>
130130
{% endif %}
131131
<div class="clearfix"></div>
132132
</div>

assets/css/screen.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Template Name: Mediumish
33
Copyright: Sal, WowThemes.net, https://www.wowthemes.net
44
License: https://www.wowthemes.net/freebies-license/
55
*/
6+
@media screen and (min-width:1500px) {
7+
html { font-size:18px; } /* Increase the font size on higher resolutions */
8+
.container {max-width:80%;}
9+
}
610
.mainheading {
711
padding: 1rem 0rem;
812
}
@@ -24,7 +28,7 @@ pre {
2428
width: 100%;
2529
padding: 7px;
2630
font-family: monospace, sans-serif;
27-
font-size: 14px;
31+
font-size: .9rem;
2832
white-space: pre;
2933
overflow: auto;
3034
background: #fff;
@@ -166,7 +170,7 @@ section.recent-posts {
166170
}
167171

168172
.wrapfooter {
169-
font-size: 12px;
173+
font-size: .8rem;
170174
display: flex;
171175
align-items: center;
172176
margin-bottom: 15px;
@@ -253,7 +257,7 @@ span.post-read-more a:hover {
253257
font-size: 0.8rem;
254258
border-radius: 30px;
255259
overflow: hidden;
256-
border: 1px solid rgba(0, 0, 0, 0.04);
260+
border: 1px solid rgba(0, 0, 0, 0.09);
257261
min-width: 180px;
258262
}
259263

@@ -850,7 +854,7 @@ iframe {
850854

851855
.spoiler {
852856
color: transparent;
853-
text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
857+
text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
854858
transition: all .4s;
855859
cursor: pointer;
856860
position: relative;

assets/images/jumbotron.jpg

266 KB
Loading

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
jekyll:
2+
image: jekyll/jekyll:latest
3+
command: jekyll serve --force_polling
4+
ports:
5+
- 4000:4000
6+
volumes:
7+
- .:/srv/jekyll

site/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
host: 0.0.0.0

0 commit comments

Comments
 (0)