-
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.
- Loading branch information
1 parent
a68f1ec
commit b08e1a3
Showing
2 changed files
with
46 additions
and
41 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 |
---|---|---|
@@ -1,48 +1,53 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<style> | ||
body { | ||
font-family: "Courier New", Courier, monospace; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background-color: #f0f0f0; | ||
} | ||
#content { | ||
padding: 20px; | ||
border: 1px solid #000; | ||
background-color: #fff; | ||
white-space: pre-wrap; | ||
max-width: 100%; | ||
overflow-x: auto; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
} | ||
@media (max-width: 600px) { | ||
#content { | ||
font-size: 12px; | ||
padding: 10px; | ||
} | ||
} | ||
</style> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<style> | ||
body { | ||
font-family: "Courier New", Courier, monospace; | ||
color: #ffffff; | ||
/* margin-top: 100; */ | ||
/* padding-top: 100; */ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background-color: #000000; | ||
} | ||
|
||
#content { | ||
padding-top: 100px; | ||
/* border: 1px solid #000; */ | ||
background-color: #000000; | ||
white-space: pre-wrap; | ||
max-width: 100%; | ||
overflow-x: auto; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
@media (max-width: 600px) { | ||
#content { | ||
font-size: 12px; | ||
padding: 10px; | ||
} | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div id="content">Loading...</div> | ||
<script> | ||
fetch('art.txt') | ||
.then(response => response.text()) | ||
.then(data => { | ||
document.getElementById('content').textContent = data; | ||
}) | ||
.catch(error => { | ||
document.getElementById('content').textContent = 'Error loading the file.'; | ||
console.error('Error fetching the text file:', error); | ||
}); | ||
</script> | ||
<div id="content">Loading...</div> | ||
<script> | ||
fetch('words.txt') | ||
.then(response => response.text()) | ||
.then(data => { | ||
document.getElementById('content').textContent = data; | ||
}) | ||
.catch(error => { | ||
document.getElementById('content').textContent = 'All your base are belong to us.'; | ||
}); | ||
</script> | ||
</body> | ||
|
||
</html> |
File renamed without changes.