Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Jun 6, 2024
1 parent a68f1ec commit b08e1a3
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 41 deletions.
87 changes: 46 additions & 41 deletions docs/index.html
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.

0 comments on commit b08e1a3

Please sign in to comment.