From 3c0ec26180ff6367154fc0744781aa617ece7623 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Fri, 11 Oct 2024 15:46:52 +0200 Subject: [PATCH] some optimizations --- src/calculator/index.html | 21 ++----- src/index.html | 112 ++++++++++++++++---------------------- src/map/index.html | 1 + src/map/map.js | 2 +- src/style.css | 19 +++++++ 5 files changed, 74 insertions(+), 81 deletions(-) create mode 100644 src/style.css diff --git a/src/calculator/index.html b/src/calculator/index.html index 6eaa8f3..5763218 100644 --- a/src/calculator/index.html +++ b/src/calculator/index.html @@ -1,19 +1,10 @@ - - -dn724 - - - - - - -

Port:

+ + + + dn724 + +

Port:

\ No newline at end of file diff --git a/src/index.html b/src/index.html index 56ff672..130fb5d 100644 --- a/src/index.html +++ b/src/index.html @@ -1,70 +1,52 @@ - - - dn724 + + + + + dn724 + - - -

AS4242420129

- -

Open for peering in:

- - -

Peering requirements

- - -

How to

- - -

Contact

- - -

Other

- + +

AS4242420129

+

Open for peering in:

+ + +

Peering requirements

+ + +

How to

+ + +

Contact

+ + +

Other

+ + \ No newline at end of file diff --git a/src/map/index.html b/src/map/index.html index 27bc498..9a82e09 100644 --- a/src/map/index.html +++ b/src/map/index.html @@ -1,6 +1,7 @@ + diff --git a/src/map/map.js b/src/map/map.js index 07d4e33..51ebff9 100644 --- a/src/map/map.js +++ b/src/map/map.js @@ -14,7 +14,7 @@ var map = L.map('map', { maxZoom: 10 }).setView([50,18], 5); -L.tileLayer('https://{s}.tile.thunderforest.com/spinal-map/{z}/{x}/{y}.png?apikey={apikey}', { +L.tileLayer('https://tforwarder.b-cdn.net/spinal-map/{z}/{x}/{y}.png?apikey={apikey}', { attribution: '© Thunderforest, © OpenStreetMap contributors', apikey: 'db5ae1f5778a448ca662554581f283c5', }).addTo(map); diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..58b53df --- /dev/null +++ b/src/style.css @@ -0,0 +1,19 @@ +html { + font-size: large; +} +body { + margin: 0 auto; + padding-right: 20px; /* make it look aligned */ + max-width: calc(100vw - 40px); + word-wrap: break-word; + width: fit-content; +} +ul { + margin-bottom: 1.4em; +} +p { + line-height: 0.6em; +} +.sel { + user-select: all; +} \ No newline at end of file