Docs update for mobile
This commit is contained in:
parent
3ce6b4d20e
commit
14f80f0fb8
4 changed files with 2864 additions and 2865 deletions
|
@ -1,15 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link
|
||||
rel="icon"
|
||||
href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml"
|
||||
/>
|
||||
<title>ZennDev1337 Image Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml" />
|
||||
<title>ZennDev1337 Image Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
|
@ -18,6 +17,7 @@
|
|||
color: azure;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
|
@ -25,9 +25,11 @@
|
|||
font-size: xx-large;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
|
||||
.footer {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
|
@ -37,7 +39,8 @@
|
|||
|
||||
color: #e7e7e7;
|
||||
}
|
||||
.footer > a {
|
||||
|
||||
.footer>a {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
font-size: large;
|
||||
|
@ -46,10 +49,12 @@
|
|||
color: #e7e7e7;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
bottom: 0;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color: #281c1c;
|
||||
color: azure;
|
||||
|
@ -58,16 +63,19 @@
|
|||
height: 300px;
|
||||
resize: none;
|
||||
}
|
||||
.title > p {
|
||||
|
||||
.title>p {
|
||||
padding-left: 20px;
|
||||
margin: 0;
|
||||
padding-right: 20px;
|
||||
color: #e7e7e7;
|
||||
font-size: xx-large;
|
||||
}
|
||||
|
||||
.title {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.separator {
|
||||
border-top: solid #281c1c;
|
||||
border-bottom: none;
|
||||
|
@ -76,21 +84,26 @@
|
|||
margin-top: 40px;
|
||||
width: clamp(700px, 70vw, 1200px);
|
||||
}
|
||||
|
||||
.image-container {
|
||||
margin-top: 40px;
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.txtHead {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.topnav {
|
||||
background-color: #000000;
|
||||
overflow: hidden;
|
||||
height: 47px;
|
||||
}
|
||||
|
||||
.topnav a {
|
||||
color: #f2f2f2;
|
||||
text-align: center;
|
||||
|
@ -98,36 +111,44 @@
|
|||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.topnav a:hover {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.topnav a.active {
|
||||
background-color: #281c1c;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.topnav .icon {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav a:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topnav a.icon {
|
||||
float: right;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav.responsive {
|
||||
position: relative;
|
||||
height: 188px;
|
||||
}
|
||||
|
||||
.topnav.responsive a.icon {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.topnav.responsive a {
|
||||
float: none;
|
||||
display: block;
|
||||
|
@ -137,40 +158,16 @@
|
|||
</style>
|
||||
<div class="wrapper">
|
||||
<div class="topnav" id="myTopnav">
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/index.html"
|
||||
>Rust for Arduboy</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/image-converter.html"
|
||||
class="active"
|
||||
>Image Converter</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/tile-converter.html"
|
||||
>Tile Converter</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/sprite-converter.html"
|
||||
>Sprite Converter</a
|
||||
>
|
||||
<a
|
||||
href="javascript:void(0);"
|
||||
class="icon"
|
||||
onclick="myFunction()"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
fill="currentColor"
|
||||
class="bi bi-list"
|
||||
viewBox="0 0 16 16"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"
|
||||
/>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/index.html">Rust for Arduboy</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/image-converter.html" class="active">Image
|
||||
Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/tile-converter.html">Tile Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/sprite-converter.html">Sprite Converter</a>
|
||||
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list"
|
||||
viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z" />
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -185,9 +182,7 @@
|
|||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank"
|
||||
>By ZennDev1337</a
|
||||
>
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank">By ZennDev1337</a>
|
||||
</footer>
|
||||
<script language="JavaScript">
|
||||
function myFunction() {
|
||||
|
@ -397,5 +392,6 @@
|
|||
reader.readAsDataURL(imageData);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,15 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link
|
||||
rel="icon"
|
||||
href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml"
|
||||
/>
|
||||
<title>ZennDev1337 Sprite Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<head>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml" />
|
||||
<title>ZennDev1337 Sprite Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
|
@ -17,15 +17,18 @@
|
|||
background-color: black;
|
||||
color: azure;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
font-size: xx-large;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
|
||||
.footer {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
|
@ -35,7 +38,8 @@
|
|||
|
||||
color: #e7e7e7;
|
||||
}
|
||||
.footer > a {
|
||||
|
||||
.footer>a {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
font-size: large;
|
||||
|
@ -44,10 +48,12 @@
|
|||
color: #e7e7e7;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
bottom: 0;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color: #281c1c;
|
||||
color: azure;
|
||||
|
@ -56,16 +62,19 @@
|
|||
height: 300px;
|
||||
resize: none;
|
||||
}
|
||||
.title > p {
|
||||
|
||||
.title>p {
|
||||
padding-left: 20px;
|
||||
margin: 0;
|
||||
padding-right: 20px;
|
||||
color: #e7e7e7;
|
||||
font-size: xx-large;
|
||||
}
|
||||
|
||||
.title {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.separator {
|
||||
border-top: solid #281c1c;
|
||||
border-bottom: none;
|
||||
|
@ -74,21 +83,26 @@
|
|||
margin-top: 40px;
|
||||
width: clamp(700px, 70vw, 1200px);
|
||||
}
|
||||
|
||||
.image-container {
|
||||
margin-top: 40px;
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.txtHead {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.topnav {
|
||||
background-color: #000000;
|
||||
overflow: hidden;
|
||||
height: 47px;
|
||||
}
|
||||
|
||||
.topnav a {
|
||||
color: #f2f2f2;
|
||||
text-align: center;
|
||||
|
@ -96,43 +110,52 @@
|
|||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.topnav a:hover {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.topnav a.active {
|
||||
background-color: #281c1c;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.topnav .icon {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav a:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topnav a.icon {
|
||||
float: right;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav.responsive {
|
||||
position: relative;
|
||||
height: 188px;
|
||||
}
|
||||
|
||||
.topnav.responsive a.icon {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.topnav.responsive a {
|
||||
float: none;
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
iframe{
|
||||
|
||||
iframe {
|
||||
width: 100vw;
|
||||
border: none;
|
||||
height: calc(100vh - 110px);
|
||||
|
@ -144,32 +167,19 @@
|
|||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/image-converter.html">Image Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/tile-converter.html">Tile Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/sprite-converter.html">Sprite Converter</a>
|
||||
<a
|
||||
href="javascript:void(0);"
|
||||
class="icon"
|
||||
onclick="myFunction()"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
fill="currentColor"
|
||||
class="bi bi-list"
|
||||
viewBox="0 0 16 16"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"
|
||||
/>
|
||||
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list"
|
||||
viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z" />
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<iframe src="https://ZennDev1337.github.io/Rust-for-Arduboy/doc/arduboy_rust/index.html" title="Rust for Arduboy Docs"></iframe>
|
||||
<iframe src="https://ZennDev1337.github.io/Rust-for-Arduboy/doc/arduboy_rust/index.html"
|
||||
title="Rust for Arduboy Docs"></iframe>
|
||||
<footer class="footer sticky">
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank"
|
||||
>By ZennDev1337</a
|
||||
>
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank">By ZennDev1337</a>
|
||||
</footer>
|
||||
<script language="JavaScript">
|
||||
function myFunction() {
|
||||
|
@ -181,5 +191,6 @@
|
|||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,15 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link
|
||||
rel="icon"
|
||||
href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml"
|
||||
/>
|
||||
<title>ZennDev1337 Sprite Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml" />
|
||||
<title>ZennDev1337 Sprite Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
|
@ -17,15 +16,18 @@
|
|||
background-color: black;
|
||||
color: azure;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
font-size: xx-large;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
|
||||
.footer {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
|
@ -35,7 +37,8 @@
|
|||
|
||||
color: #e7e7e7;
|
||||
}
|
||||
.footer > a {
|
||||
|
||||
.footer>a {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
font-size: large;
|
||||
|
@ -44,10 +47,12 @@
|
|||
text-decoration: none;
|
||||
color: #e7e7e7;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
bottom: 0;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color: #281c1c;
|
||||
color: azure;
|
||||
|
@ -56,16 +61,19 @@
|
|||
height: 300px;
|
||||
resize: none;
|
||||
}
|
||||
.title > p {
|
||||
|
||||
.title>p {
|
||||
padding-left: 20px;
|
||||
margin: 0;
|
||||
padding-right: 20px;
|
||||
color: #e7e7e7;
|
||||
font-size: xx-large;
|
||||
}
|
||||
|
||||
.title {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.separator {
|
||||
border-top: solid #281c1c;
|
||||
border-bottom: none;
|
||||
|
@ -74,21 +82,26 @@
|
|||
margin-top: 40px;
|
||||
width: clamp(700px, 70vw, 1200px);
|
||||
}
|
||||
|
||||
.image-container {
|
||||
margin-top: 40px;
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.txtHead {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.topnav {
|
||||
background-color: #000000;
|
||||
overflow: hidden;
|
||||
height: 47px;
|
||||
}
|
||||
|
||||
.topnav a {
|
||||
color: #f2f2f2;
|
||||
text-align: center;
|
||||
|
@ -96,36 +109,44 @@
|
|||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.topnav a:hover {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.topnav a.active {
|
||||
background-color: #281c1c;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.topnav .icon {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav a:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topnav a.icon {
|
||||
float: right;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav.responsive {
|
||||
position: relative;
|
||||
height: 188px;
|
||||
}
|
||||
|
||||
.topnav.responsive a.icon {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.topnav.responsive a {
|
||||
float: none;
|
||||
display: block;
|
||||
|
@ -135,40 +156,16 @@
|
|||
</style>
|
||||
<div class="wrapper">
|
||||
<div class="topnav" id="myTopnav">
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/index.html"
|
||||
>Rust for Arduboy</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/image-converter.html"
|
||||
>Image Converter</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/tile-converter.html"
|
||||
>Tile Converter</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/sprite-converter.html"
|
||||
class="active"
|
||||
>Sprite Converter</a
|
||||
>
|
||||
<a
|
||||
href="javascript:void(0);"
|
||||
class="icon"
|
||||
onclick="myFunction()"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
fill="currentColor"
|
||||
class="bi bi-list"
|
||||
viewBox="0 0 16 16"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"
|
||||
/>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/index.html">Rust for Arduboy</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/image-converter.html">Image Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/tile-converter.html">Tile Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/sprite-converter.html" class="active">Sprite
|
||||
Converter</a>
|
||||
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list"
|
||||
viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z" />
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -183,9 +180,7 @@
|
|||
</div>
|
||||
|
||||
<footer class="footer sticky">
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank"
|
||||
>By ZennDev1337</a
|
||||
>
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank">By ZennDev1337</a>
|
||||
</footer>
|
||||
<script language="JavaScript">
|
||||
function myFunction() {
|
||||
|
@ -631,7 +626,7 @@
|
|||
p[0] -= (a * (p[0] - b)) / alpharadbias;
|
||||
p[1] -= (a * (p[1] - g)) / alpharadbias;
|
||||
p[2] -= (a * (p[2] - r)) / alpharadbias;
|
||||
} catch (e) {} // prevents 1.3 miscompilation
|
||||
} catch (e) { } // prevents 1.3 miscompilation
|
||||
}
|
||||
|
||||
if (k > lo) {
|
||||
|
@ -641,7 +636,7 @@
|
|||
p[0] -= (a * (p[0] - b)) / alpharadbias;
|
||||
p[1] -= (a * (p[1] - g)) / alpharadbias;
|
||||
p[2] -= (a * (p[2] - r)) / alpharadbias;
|
||||
} catch (e) {}
|
||||
} catch (e) { }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -1400,7 +1395,7 @@
|
|||
var dmin = 256 * 256 * 256;
|
||||
var len = colorTab.length;
|
||||
|
||||
for (var i = 0; i < len; ) {
|
||||
for (var i = 0; i < len;) {
|
||||
var dr = r - (colorTab[i++] & 0xff);
|
||||
var dg = g - (colorTab[i++] & 0xff);
|
||||
var db = b - (colorTab[i] & 0xff);
|
||||
|
@ -1952,5 +1947,6 @@
|
|||
reader.readAsDataURL(imageData);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,15 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link
|
||||
rel="icon"
|
||||
href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml"
|
||||
/>
|
||||
<title>ZennDev1337 Tile Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg"
|
||||
type="image/svg+xml" />
|
||||
<title>ZennDev1337 Tile Converter</title>
|
||||
</head>
|
||||
|
||||
<body onload="setup(this);">
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
|
@ -17,15 +16,18 @@
|
|||
background-color: black;
|
||||
color: azure;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
font-size: xx-large;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
|
||||
.footer {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
|
@ -35,7 +37,8 @@
|
|||
|
||||
color: #e7e7e7;
|
||||
}
|
||||
.footer > a {
|
||||
|
||||
.footer>a {
|
||||
font-family: Courier New;
|
||||
text-align: center;
|
||||
font-size: large;
|
||||
|
@ -44,10 +47,12 @@
|
|||
color: #e7e7e7;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
bottom: 0;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color: #281c1c;
|
||||
color: azure;
|
||||
|
@ -56,16 +61,19 @@
|
|||
height: 300px;
|
||||
resize: none;
|
||||
}
|
||||
.title > p {
|
||||
|
||||
.title>p {
|
||||
padding-left: 20px;
|
||||
margin: 0;
|
||||
padding-right: 20px;
|
||||
color: #e7e7e7;
|
||||
font-size: xx-large;
|
||||
}
|
||||
|
||||
.title {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.separator {
|
||||
border-top: solid #281c1c;
|
||||
border-bottom: none;
|
||||
|
@ -74,21 +82,26 @@
|
|||
margin-top: 40px;
|
||||
width: clamp(700px, 70vw, 1200px);
|
||||
}
|
||||
|
||||
.image-container {
|
||||
margin-top: 40px;
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.txtHead {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.topnav {
|
||||
background-color: #000000;
|
||||
overflow: hidden;
|
||||
height: 47px;
|
||||
}
|
||||
|
||||
.topnav a {
|
||||
color: #f2f2f2;
|
||||
text-align: center;
|
||||
|
@ -96,36 +109,44 @@
|
|||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.topnav a:hover {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.topnav a.active {
|
||||
background-color: #281c1c;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.topnav .icon {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav a:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topnav a.icon {
|
||||
float: right;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
@media screen and (max-width: 810px) {
|
||||
.topnav.responsive {
|
||||
position: relative;
|
||||
height: 188px;
|
||||
}
|
||||
|
||||
.topnav.responsive a.icon {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.topnav.responsive a {
|
||||
float: none;
|
||||
display: block;
|
||||
|
@ -135,40 +156,16 @@
|
|||
</style>
|
||||
<div class="wrapper">
|
||||
<div class="topnav" id="myTopnav">
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/index.html"
|
||||
>Rust for Arduboy</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/image-converter.html"
|
||||
>Image Converter</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/tile-converter.html"
|
||||
class="active"
|
||||
>Tile Converter</a
|
||||
>
|
||||
<a
|
||||
href="https://zenndev1337.github.io/Rust-for-Arduboy/sprite-converter.html"
|
||||
>Sprite Converter</a
|
||||
>
|
||||
<a
|
||||
href="javascript:void(0);"
|
||||
class="icon"
|
||||
onclick="myFunction()"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
fill="currentColor"
|
||||
class="bi bi-list"
|
||||
viewBox="0 0 16 16"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"
|
||||
/>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/index.html">Rust for Arduboy</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/image-converter.html">Image Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/tile-converter.html" class="active">Tile
|
||||
Converter</a>
|
||||
<a href="https://zenndev1337.github.io/Rust-for-Arduboy/sprite-converter.html">Sprite Converter</a>
|
||||
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list"
|
||||
viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd"
|
||||
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z" />
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -183,9 +180,7 @@
|
|||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank"
|
||||
>By ZennDev1337</a
|
||||
>
|
||||
<a href="https://github.com/ZennDev1337/" target="_blank">By ZennDev1337</a>
|
||||
</footer>
|
||||
<script language="JavaScript">
|
||||
function myFunction() {
|
||||
|
@ -483,5 +478,6 @@
|
|||
reader.readAsDataURL(imageData);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue