Skip to content

Commit 8ca7929

Browse files
committed
theme is working!
1 parent 311e476 commit 8ca7929

File tree

8 files changed

+25
-22
lines changed

8 files changed

+25
-22
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
2626
if RUBY_PLATFORM =~ /linux-musl/
2727
gem "jekyll-sass-converter", "~> 2.0"
2828
end
29+
30+
gem 'webrick'
31+
gem 'jekyll-feed'

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins:
88

99
# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites
1010
# and doesn't have a custom domain.
11-
baseurl: "/PROJECT_NAME"
11+
# baseurl: "/PROJECT_NAME"
1212

1313
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
1414
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,

_sass/addon/commons.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ $btn-mb: 0.5rem;
12061206
12071207
*/
12081208

1209-
@media all and (width <= 576px) {
1209+
@media all and (max-width:576px) {
12101210
#main-wrapper {
12111211
min-height: calc(100vh - #{$footer-height-mobile});
12121212
}
@@ -1232,7 +1232,7 @@ $btn-mb: 0.5rem;
12321232
}
12331233
}
12341234

1235-
@media all and (width <= 768px) {
1235+
@media all and (max-width:576px) {
12361236
%full-width {
12371237
max-width: 100%;
12381238
}
@@ -1248,7 +1248,7 @@ $btn-mb: 0.5rem;
12481248
}
12491249

12501250
/* hide sidebar and panel */
1251-
@media all and (width <= 849px) {
1251+
@media all and (max-width:849px) {
12521252
@mixin slide($append: null) {
12531253
$basic: transform 0.4s ease;
12541254

@@ -1352,14 +1352,14 @@ $btn-mb: 0.5rem;
13521352
} /* max-width: 849px */
13531353

13541354
/* Phone & Pad */
1355-
@media all and (width >= 577px) and (width <= 1199px) {
1355+
@media all and (min-width:577px) and (max-width:1199px) {
13561356
footer .d-flex > div {
13571357
width: 312px;
13581358
}
13591359
}
13601360

13611361
/* Sidebar is visible */
1362-
@media all and (width >= 850px) {
1362+
@media all and (min-width:850px) {
13631363
/* Solved jumping scrollbar */
13641364
html {
13651365
overflow-y: scroll;
@@ -1428,15 +1428,15 @@ $btn-mb: 0.5rem;
14281428
}
14291429

14301430
/* Pad horizontal */
1431-
@media all and (width >= 992px) and (width <= 1199px) {
1431+
@media all and (min-width:992px) and (max-width:1199px) {
14321432
#main .col-lg-11 {
14331433
flex: 0 0 96%;
14341434
max-width: 96%;
14351435
}
14361436
}
14371437

14381438
/* Compact icons in sidebar & panel hidden */
1439-
@media all and (width >= 850px) and (width <= 1199px) {
1439+
@media all and (min-width:850px) and (max-width:1199px) {
14401440
#search-results > div {
14411441
max-width: 700px;
14421442
}
@@ -1451,7 +1451,7 @@ $btn-mb: 0.5rem;
14511451
}
14521452

14531453
/* panel hidden */
1454-
@media all and (width <= 1199px) {
1454+
@media all and (max-width:1199px) {
14551455
#panel-wrapper {
14561456
display: none;
14571457
}
@@ -1463,7 +1463,7 @@ $btn-mb: 0.5rem;
14631463

14641464
/* --- desktop mode, both sidebar and panel are visible --- */
14651465

1466-
@media all and (width >= 1200px) {
1466+
@media all and (min-width:1200px) {
14671467
#back-to-top {
14681468
bottom: 6.5rem;
14691469
}
@@ -1504,13 +1504,13 @@ $btn-mb: 0.5rem;
15041504
}
15051505
}
15061506

1507-
@media all and (width >= 1400px) {
1507+
@media all and (min-width:1400px) {
15081508
#back-to-top {
15091509
right: calc((100vw - #{$sidebar-width} - 1140px) / 2 + 3rem);
15101510
}
15111511
}
15121512

1513-
@media all and (width >= 1650px) {
1513+
@media all and (min-width:1650px) {
15141514
$icon-gap: 1rem;
15151515

15161516
#main-wrapper,

_sass/addon/syntax.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ div {
240240
}
241241
}
242242

243-
@media all and (width >= 576px) {
243+
@media all and (min-width:576px) {
244244
div[class^='language-'] {
245245
.post-content > & {
246246
@include ml-mr(0);

_sass/layout/archives.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
}
134134
} /* #archives */
135135

136-
@media all and (width <= 576px) {
136+
@media all and (max-width:576px) {
137137
#archives {
138138
margin-top: -1rem;
139139

_sass/layout/category-tag.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
}
6060
}
6161

62-
@media all and (width <= 576px) {
62+
@media all and (max-width:576px) {
6363
#page-category,
6464
#page-tag {
6565
ul > li {

_sass/layout/home.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
} /* .pagination */
140140

141141
/* Tablet */
142-
@media all and (width >= 768px) {
142+
@media all and (min-width:768px) {
143143
#post-list {
144144
%img-radius {
145145
border-radius: 0 $base-radius $base-radius 0;
@@ -173,7 +173,7 @@
173173
}
174174

175175
/* Hide SideBar and TOC */
176-
@media all and (width <= 830px) {
176+
@media all and (max-width:830px) {
177177
.pagination {
178178
justify-content: space-evenly;
179179

@@ -186,7 +186,7 @@
186186
}
187187

188188
/* Sidebar is visible */
189-
@media all and (width >= 831px) {
189+
@media all and (min-width:831px) {
190190
#post-list {
191191
margin-top: 2.5rem;
192192
}
@@ -212,7 +212,7 @@
212212
}
213213

214214
/* Panel is visible */
215-
@media all and (width >= 1200px) {
215+
@media all and (min-width:1200px) {
216216
#post-list {
217217
padding-right: 0.5rem;
218218
}

_sass/layout/post.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ h1 + .post-meta {
380380
}
381381
}
382382

383-
@media all and (width <= 576px) {
383+
@media all and (max-width:576px) {
384384
.preview-img[data-src] {
385385
margin-top: 2.2rem;
386386
}
@@ -395,14 +395,14 @@ h1 + .post-meta {
395395
}
396396
}
397397

398-
@media all and (width <= 768px) {
398+
@media all and (max-width:768px) {
399399
.post-content > p > img {
400400
max-width: calc(100% + 1rem);
401401
}
402402
}
403403

404404
/* Hide SideBar and TOC */
405-
@media all and (width <= 849px) {
405+
@media all and (max-width:849px) {
406406
.post-navigation {
407407
padding-left: 0;
408408
padding-right: 0;

0 commit comments

Comments
 (0)