From fb16b912fc3350de272447a9527cbec4aa625871 Mon Sep 17 00:00:00 2001 From: ZennDev1337 Date: Tue, 22 Aug 2023 13:50:53 +0200 Subject: [PATCH] added nav to converter pages --- docs/image-converter.html | 87 ++++++++++++++++++++++++++++++++++++++ docs/sprite-converter.html | 85 +++++++++++++++++++++++++++++++++++++ docs/tile-converter.html | 83 ++++++++++++++++++++++++++++++++++++ 3 files changed, 255 insertions(+) diff --git a/docs/image-converter.html b/docs/image-converter.html index e04ad1b..4914aaa 100644 --- a/docs/image-converter.html +++ b/docs/image-converter.html @@ -16,10 +16,12 @@ margin: 0; background-color: black; color: azure; + overflow: hidden; } body { font-family: Courier New; text-align: center; + align-items: center; font-size: xx-large; font-weight: 700; } @@ -82,8 +84,83 @@ .txtHead { margin-bottom: 5px; } + .topnav { + background-color: #000000; + overflow: hidden; + height: 47px; + } + .topnav a { + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + 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) { + .topnav a:not(:first-child) { + display: none; + } + .topnav a.icon { + float: right; + display: block; + } + } + @media screen and (max-width: 800px) { + .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; + } + }
+

Drop your image here

@@ -95,6 +172,16 @@
+