Files
PyPost/html/base/index.html

158 lines
5.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Auto Index</title>
<style>
body.dark-mode {
background-color: #1e1e1e;
color: #e0e0e0;
}
body.dark-mode h1 { color: #f0f0f0; }
body.dark-mode #nojs { color: #f0f0f0; }
body.dark-mode li { color: #e0e0e0; }
body.dark-mode button {
background-image: linear-gradient(#3a3a3a ,#2a2a2a);
color: #e0e0e0;
border-color: #555 #444 #333;
box-shadow: rgba(0,0,0,.6) 0 1px 0 inset;
}
body.dark-mode input#searchbox {
background-color: #2a2a2a;
color: #e0e0e0;
border: 1px solid #555;
}
body.darkmode #nojs {
color: #e0e0e0;
}
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #fff;
color: #0f1111;
/*transition: background-color 0.3s, color 0.3s; || enable this if you want a transition!*/
}
h1 { color: #333; transition: color 0.3s; }
hr { width: auto; }
li {
list-style: none;
background: url("../../css/icons/item.webp") no-repeat left center;
background-size: 15px 20px;
padding-left: 25px;
transition: font-size 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
padding-bottom: 5px;
}
li:hover { font-size: larger; }
#available { padding-left: 40px; margin-bottom: 0.1em; }
ul { padding-left: 100px; margin-top: 0.2em; }
#nojs { display: inline-block; color: black; transition: transform 0.7s cubic-bezier(0.215, 0.610, 0.355, 1); }
#nonenormalul {
list-style: disc inside;
margin: 1em 0;
padding-left: 40px;
background: none;
}
#nonenormalul li {
list-style: inherit;
margin: 0;
padding: 0;
background: none;
transition: font-size 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#nonenormalul li:hover { font-size: larger; }
/* BUTTON STYLES */
button {
margin-right: 5px;
background-image: linear-gradient(#f7f8fa ,#e7e9ec);
border-color: #adb1b8 #a2a6ac #8d9096;
border-style: solid;
border-width: 1px;
border-radius: 3px;
box-shadow: rgba(255,255,255,.6) 0 1px 0 inset;
box-sizing: border-box;
color: #0f1111;
cursor: pointer;
display: inline-block;
font-family: "Amazon Ember", Arial, sans-serif;
font-size: 13px;
height: 29px;
outline: 0;
overflow: hidden;
padding: 0 11px;
text-align: center;
text-decoration: none;
text-overflow: ellipsis;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
white-space: nowrap;
transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
button:active { border-bottom-color: #a2a6ac; }
button:active:hover { border-bottom-color: #a2a6ac; }
button:hover { border-color: #a2a6ac #979aa1 #82858a; }
button:focus { border-color: #e77600; box-shadow: rgba(228, 121, 17, .5) 0 0 3px 2px; outline: 0; }
button:disabled, button[disabled]{ color: gray; border-color: gray; }
/* DARK MODE */
body.dark-mode {
background-color: #1e1e1e;
color: #e0e0e0;
}
body.dark-mode h1 { color: #f0f0f0; }
body.dark-mode #nojs { color: #fff; }
body.dark-mode li { background: url("../../css/icons/item.webp") no-repeat left left; }
body.dark-mode button {
background-image: linear-gradient(#3a3a3a ,#2a2a2a);
color: #e0e0e0;
border-color: #555 #444 #333;
box-shadow: rgba(0,0,0,.6) 0 1px 0 inset;
}
</style>
<script>
console.log("javascript is enabled! good!");
document.write('<h1 id="nojs" style="display: flex; align-items: center;"><img src="../../css/icons/folder.webp" width="45" height="45" style="vertical-align: middle; margin-right: 8px;" />Index of PyPost</h1>');
</script>
<link rel="icon" type="image/x-icon" href="../../css/favicon/favicon.ico">
</head>
<body>
<noscript>
<div style="display: inline-flex; align-items: center;">
<img src="../../css/icons/script.webp" width="45" height="45" style="vertical-align: middle; margin-right: 8px;" />
<h1 id="nojs" style="margin: 0;">Please enable Javascript!</h1>
</div>
<p>
<i><strong>If you might be wondering, what does the Script do?</strong></i><br/>
<ul id="nonenormalul">
<li>It strips the .HTML ending from each file you see in the list below</li>
<li>It isnt necessary, but visually tweaks the page.</li>
<li>It enables the "Back" Function for Headers</li>
<li>It enables Searching and Sorting of the Page-Display</li>
<li>It is essential for downloading Markdown-Source</li>
</ul>
</p>
</noscript>
<p id="available">
<img src="../../css/icons/available.webp" width="40" height="40" style="vertical-align: middle; display: inline; padding-right: 5px;" />
Available pages:
</p>
<!-- CONTENT -->
<!-- load scripts needed for indexer -->
<script src="../../js/normal.js"></script>
<script src="../../js/shared/theme.js"></script>
<script src="../../js/search.js" defer></script>
<script src="../../js/ulorder.js" defer></script>
</body>
</html>