1
0
Fork 0
mirror of https://git.gay/Juli/error-codes.git synced 2025-04-22 07:38:38 +00:00
This commit is contained in:
Juli 2024-10-09 22:00:06 +03:00
parent 56e0bba04e
commit a88e401a44
8 changed files with 672 additions and 0 deletions

1
.GITIGNORE Normal file
View file

@ -0,0 +1 @@
output.html

110
400.html Normal file

File diff suppressed because one or more lines are too long

109
401.html Normal file
View file

@ -0,0 +1,109 @@
<!DOCTYPE html>
<html>
<head>
<title>401 - Unauthorized</title>
<meta charset="utf-8"/>
<meta content="401 - Unauthorized" property="og:title" />
<meta content="#001B29" data-react-helmet="true" name="theme-color"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="twitter:title" content="401 - Unauthorized" />
<style>
@import url("https://api.fonts.coollabs.io/css2?family=Atkinson+Hyperlegible&display=swap");
@import url('https://api.fonts.coollabs.io/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
html, body{
padding: 0;
margin: 0;
height: 100%;
font-size: 1.1em;
background-color: #1e1e2e;
align-content: center;
text-align: center;
}
body * {
color: #cdd6f4;
font-family: 'Atkinson Hyperlegible', 'Roboto Mono', Arial, sans-serif;
}
a {
color: #f5c2e7;
}
a:hover {
color: #f38ba8;
}
.page {
display: flex;
width: 65%;
margin: 0 auto;
align-items: start;
padding-top: 3em;
}
.page .content{
flex-grow: 7;
padding: 0.25em;
width: 100%;
}
.page .sidebar {
flex-grow: 3;
min-width: 27%; /* this is highly cursed */
max-width: 40%;
}
.container {
border-color: #f5c2e7;
border-width: 2px;
border-style: solid;
margin: 1em;
background-color: #1e1e2e;
padding: 0.6em;
}
/* time to fix these cursed media queries */
@media only screen and (min-width: 0px) and (max-width: 600px){
.page {
width: 100%;
margin-top: 0;
flex-direction: column-reverse;
}
.container {
margin: 0.5em;
}
.sidebar {
min-width: 95% !important;
/*max-width: 100% !important;*/
width: 100% !important;
}
.content {
min-width: 95% !important;
width: 100% !important;
}
}
@media only screen and (min-width: 600px) and (max-width: 1000px){
.page {
margin-top: 0;
width: 85%;
}
}
#foxo {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<div class="page">
<div class="content container">
<h1>401 - Unauthorized!</h1>
<p>You do not have permission to access this.</p>
<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401">401 Unauthorized - MDN</a>
<br>
</div>
</div>
</div>
</body>
</html>
<!-- trans rights :3 -->

112
404.html Normal file

File diff suppressed because one or more lines are too long

110
408.html Normal file

File diff suppressed because one or more lines are too long

109
500.html Normal file

File diff suppressed because one or more lines are too long

110
503.html Normal file

File diff suppressed because one or more lines are too long

11
gen_img.py Normal file
View file

@ -0,0 +1,11 @@
import base64
with open('500.png', 'rb') as f:
image_data = f.read()
encoded_data = base64.b64encode(image_data).decode('utf-8')
print(f'<img src="data:image/png;base64,{encoded_data}" alt="image description">')
with open("output.html","w") as f:
f.write(f'<img id="foxo" alt="fox" title="fox" src="data:image/png;base64,{encoded_data}">')