From 719d61982953caf61c0df7776347e13105a2e8b2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 22 Oct 2022 12:53:57 +0200 Subject: Add asset rendering scripts. --- tools/gencss.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tools/gencss.js (limited to 'tools/gencss.js') diff --git a/tools/gencss.js b/tools/gencss.js new file mode 100644 index 0000000..4edc4be --- /dev/null +++ b/tools/gencss.js @@ -0,0 +1,5 @@ +const h = 42 +for (let i = 0; i < 15; ++i) + console.log(`.service_marker.image${i}{background-position:0 -${i*h}px}`) +for (let i = 0; i < 15; ++i) + console.log(`.service_marker.image${i}:hover{background-position:100% -${i*h}px}`) -- cgit v1.2.3