From 46912d554bea96c72207888478670414bcdf89fc Mon Sep 17 00:00:00 2001 From: Willy Hsiao <33928963+superjeng1@users.noreply.github.com> Date: Fri, 22 Nov 2019 11:11:44 +0800 Subject: [PATCH] Update index.html --- index.html | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index d96f252..dd33951 100644 --- a/index.html +++ b/index.html @@ -15,12 +15,17 @@ } pre { font-family: "Monaco", "Menlo", "Consolas", "Courier New", monospace; + white-space: pre-wrap; /* Since CSS 2.1 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; } body { margin-left: auto; margin-right: auto; max-width: 80%; - margin-bottom: 20px; + margin-bottom: 4px; } .ip { border: 1px solid #cbcbcb; @@ -28,9 +33,38 @@ font-size: 36px; padding: 6px; } + svg.github-corner { + fill: #151513; + color: #fff; + } .footer { - border-top: 1px solid #eee; - background: rgb(250, 250, 250) !important; + margin-top: 18px; + border-top: 1px solid #eee; + background: rgb(250, 250, 250) !important; + } + @media (prefers-color-scheme: dark) { + html, .pure-g [class *= "pure-u"], a { + background-color: #161719; + color:#d8d9da; + text-decoration: none; + } + .ip { + border: 1px solid #313233; + background: #212223; + } + .footer { + color: #8e8e8e !important; + } + a { + background: #313233; + } + a:hover, active { + background: #3d3e3f; + } + svg.github-corner { + fill: #f8f9fa; + color: #161719; + } } @@ -139,7 +173,7 @@ $ http {{ .Host }}/port/8080

Yes, the source code and documentation is available on GitHub.

- + {{ if or .Country .City .ASN .ASNOrg }}