Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit efd32b9

Browse files
authored
Merge pull request #19 from chicio/offline-page 🚀
Offline network management 🚀
2 parents 49ba4be + 346f162 commit efd32b9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+210
-140
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
layout: error
2+
layout: 404
33
---

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Change Log
22
All changes to Chicio coding will be documented in this file.
33

4+
## [1.15.0](https://github.com/chicio/chicio.github.io/releases/tag/1.15.0)
5+
Release date: 2019-09-19.
6+
7+
#### Added
8+
9+
- offline network management
10+
- lazy load images reload on network error
11+
412
## [1.14.0](https://github.com/chicio/chicio.github.io/releases/tag/1.14.0)
513
Release date: 2019-09-15.
614

_css/common.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ canvas {
5050
width: 100%;
5151
}
5252

53+
.btn-default {
54+
color: $primary-color-text;
55+
background-color: $accent-color;
56+
font-size: $font-size-base;
57+
}
58+
5359
@include media-breakpoint-up(xs) {
5460
.break {
5561
display: none;

_css/project.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@
3636
a {
3737
color: $accent-color;
3838
}
39-
40-
.btn-default {
41-
color: $primary-color-text;
42-
background-color: $accent-color;
43-
font-size: $font-size-base;
44-
}
4539
}
4640
}
4741

_css/style.error.scss

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
@import "./common.scss";
2+
3+
* {
4+
line-height: 1.2;
5+
margin: 0;
6+
}
7+
8+
html {
9+
color: $primary-color-text;
10+
display: table;
11+
font-family: sans-serif;
12+
height: 100%;
13+
text-align: center;
14+
width: 100%;
15+
}
16+
17+
body {
18+
display: flex;
19+
justify-content: center;
20+
align-items: center;
21+
flex-direction: column;
22+
background-color: $primary-color-dark;
23+
height: 100%;
24+
}
25+
26+
h1 {
27+
color: $primary-color-text;
28+
font-size: 10em;
29+
font-weight: 400;
30+
}
31+
32+
p {
33+
color: $primary-color-text;
34+
}
35+
36+
a{
37+
color: $accent-color;
38+
}
39+
40+
img {
41+
width: 100px;
42+
height: 100px;
43+
margin-bottom: 15px;
44+
}
45+
46+
@media (max-width: 480px) {
47+
h1{
48+
font-size: 7em;
49+
}
50+
}

_images/no-wifi.png

10 KB
Loading

_includes/404.css

Lines changed: 0 additions & 43 deletions
This file was deleted.

_includes/critical-error.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.archive.css?rev=f02306111bf009f82254a5021363d844">
1+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.archive.css?rev=2350b470011a74fba7380bfeb9de2344">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.home.css?rev=5b6eaefe1f8f221302662080880baaca">
1+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.home.css?rev=cc1df1933ce295bae5bf00fe60551eae">

0 commit comments

Comments
 (0)