# HG changeset patch # User Wuzzy # Date 1589584570 -7200 # Node ID 799fd0a6d3bffd44b47813517965ea66cd98666e # Parent 3c1c5ff824f70f46a3bb7ded90a77e9bdc062dc0 Hats webpage: Fix URLs diff -r 3c1c5ff824f7 -r 799fd0a6d3bf misc/hats_js_anim.xhtml --- a/misc/hats_js_anim.xhtml Sat May 16 01:04:27 2020 +0200 +++ b/misc/hats_js_anim.xhtml Sat May 16 01:16:10 2020 +0200 @@ -8,7 +8,7 @@ * {padding: 0; margin: 0; } body { - background: url('https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Sky.png') fixed no-repeat bottom left; + background: url('//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Sky.png') fixed no-repeat bottom left; background-color: #0B203D; color: #FFD902; -moz-background-size: 200%; @@ -38,14 +38,14 @@ height: 32px; width: 32px; color: transparent; - background-image: url("https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hedgehog/Idle.png"); + background-image: url("//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hedgehog/Idle.png"); } .girder { width: 100%; height: 30px; clear: left; - background-image: url('https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Girder.png'); + background-image: url('//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Girder.png'); background-repeat: repeat-x; } .hide { visibility: hidden; } @@ -168,7 +168,7 @@ if (IS_LOCAL) h.href = "../share/hedgewars/Data/Graphics/Hats/"+masks[i]+".png"; else - h.href = "https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hats/"+masks[i]+".png"; + h.href = "//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hats/"+masks[i]+".png"; img = new Image(); img.onload = function() { @@ -325,7 +325,7 @@ { var prefix; if (IS_LOCAL) - prefix = "https://hg.hedgewars.org/hedgewars/raw-file/tip"; + prefix = "//hg.hedgewars.org/hedgewars/raw-file/tip"; else prefix = ".."; document.body.style.backgroundImage='url("'+prefix+'/share/hedgewars/Data/Themes/'+this.value+'/Sky.png")';