-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added an offline page for when user tries to access the website section without Internet connection; - Added placeholder images for when the user is not Online to download images
- Loading branch information
1 parent
42c6f24
commit 4051606
Showing
8 changed files
with
474 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@import url("./fonts/fonts.css"); | ||
|
||
html { | ||
display: none; | ||
} | ||
|
||
html.dark, html.light { | ||
display: block; | ||
} | ||
|
||
html.dark { | ||
background: #2A2A2A; | ||
color: #F0F0F0; | ||
} | ||
|
||
html.light { | ||
background: #D5D5D5; | ||
color: #0F0F0F; | ||
} | ||
|
||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-family: 'Montserrat'; | ||
flex-direction: column; | ||
height: 100%; | ||
margin: 0; | ||
} | ||
|
||
div#coffee { | ||
font-size: 96px; | ||
margin: 16px; | ||
} | ||
|
||
span { | ||
font-size: 24px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<html> | ||
<head> | ||
<title>× i'm a coffeepot. ×</title> | ||
<link rel="stylesheet" href="418.css"> | ||
</head> | ||
<body> | ||
<span>i'm a coffeepot</span> | ||
<div class="material-symbols-outlined" id="coffee">coffee</div> | ||
<span>and you don't have internet</span> | ||
</body> | ||
<script>document.querySelector('html').classList.add(parent.document.querySelector("html").classList.contains('dark') ? 'dark' : 'light')</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.