From de25c869c11c5f67e3bc9bfcc22b028e91a6d900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Mon, 20 Jul 2020 22:12:12 +0200 Subject: [PATCH 1/4] style: highlight code snippets --- templates/index.html | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index 3fbf213..e533d0d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -52,6 +52,8 @@ @@ -66,7 +68,10 @@

Hit Counter

Get the Image for the Page It's On

If you want to get the hit count image for a page you can edit and you want to count, add this line:

-

<img src="/count/tag.svg" alt="Hits">

+
+
<img src="/count/tag.svg" alt="Hits">
+
+

Generate SVG Code For A Different Website

@@ -87,9 +92,15 @@

Generate SVG Code For A Different Website

Selected Hit Counter

Image Tag

-

+
+
+
+

Markdown

-

+
+
+
+
From 9db71b9b41fde6a779fa19b997557dce216cda1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Tue, 21 Jul 2020 20:49:41 +0200 Subject: [PATCH 2/4] fix: content overflow on mobile screens --- templates/index.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/index.html b/templates/index.html index e533d0d..9870f3a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -53,6 +53,8 @@ .o-a {overflow-x: auto;} .mw-800p {max-width: 800px; margin: auto;} .bg-gray-700 {background-color: #4A5568;} + .hide-scrollbar {-ms-overflow-style: none; scrollbar-width: none;} + .hide-scrollbar::-webkit-scrollbar {display: none;} pre {margin-top: auto; margin-bottom: auto;} @@ -68,8 +70,8 @@

Hit Counter

Get the Image for the Page It's On

If you want to get the hit count image for a page you can edit and you want to count, add this line:

-
-
<img src="/count/tag.svg" alt="Hits">
+
+
<img src="/count/tag.svg" alt="Hits">
@@ -92,13 +94,13 @@

Generate SVG Code For A Different Website

Selected Hit Counter

Image Tag

-
-
+
+

Markdown

-
-
+
+
From cf7530c698f7b14da263e0ed14fc7a68a4d951f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Thu, 23 Jul 2020 08:33:49 +0200 Subject: [PATCH 3/4] chore: minor html and css changes --- templates/index.html | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/templates/index.html b/templates/index.html index 9870f3a..4840360 100644 --- a/templates/index.html +++ b/templates/index.html @@ -53,8 +53,6 @@ .o-a {overflow-x: auto;} .mw-800p {max-width: 800px; margin: auto;} .bg-gray-700 {background-color: #4A5568;} - .hide-scrollbar {-ms-overflow-style: none; scrollbar-width: none;} - .hide-scrollbar::-webkit-scrollbar {display: none;} pre {margin-top: auto; margin-bottom: auto;} @@ -70,10 +68,11 @@

Hit Counter

Get the Image for the Page It's On

If you want to get the hit count image for a page you can edit and you want to count, add this line:

-
-
<img src="/count/tag.svg" alt="Hits">
+
+
+                            <img src="/count/tag.svg" alt="Hits">
+                        
-

Generate SVG Code For A Different Website

@@ -94,15 +93,17 @@

Generate SVG Code For A Different Website

Selected Hit Counter

Image Tag

-
-
+
+
+                            
+                        
-

Markdown

-
-
+
+
+                            
+                        
-
From d0f983ebdf95f6ab8b3e146448833eeeb26436a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Fri, 24 Jul 2020 18:08:13 +0200 Subject: [PATCH 4/4] chore: make code sections fit their contents --- templates/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index 4840360..eb5a739 100644 --- a/templates/index.html +++ b/templates/index.html @@ -69,7 +69,7 @@

Hit Counter

Get the Image for the Page It's On

If you want to get the hit count image for a page you can edit and you want to count, add this line:

-
+                        
                             <img src="/count/tag.svg" alt="Hits">
                         
@@ -94,13 +94,13 @@

Generate SVG Code For A Different Website

Image Tag

-
+                        
                             
                         

Markdown

-
+