Macro reference: Drop some protocol+domain prefixes

This should ensure that accessing the page via https will cause the style to also be referenced via https,
thus preventing security warnings from browsers.

Note that this will not take effect on the live copy until it is regenerated.
This commit is contained in:
Celtic Minstrel 2017-01-03 19:04:12 -05:00 committed by GitHub
parent eeaba62fd4
commit e1c3808a81

View file

@ -9,8 +9,8 @@
<link rel="shortcut icon" type="image/png" href="/mw/skins/glamdrol/ico.png" />
<style type="text/css">
/*<![CDATA[*/
@import url('http://www.wesnoth.org/mw/skins/glamdrol/main.css');
@import url('http://www.wesnoth.org/mw/skins/glamdrol/home.css');
@import url('/mw/skins/glamdrol/main.css');
@import url('/mw/skins/glamdrol/home.css');
.toplink {float:right; font-size: small;}
.file_header {font-style:normal; font-weight:bold;}
@ -28,7 +28,7 @@
<div id="header">
<div id="logo">
<a href="home"><img alt="Wesnoth logo" src="http://www.wesnoth.org/mw/skins/glamdrol/wesnoth-logo.jpg" /></a>
<a href="home"><img alt="Wesnoth logo" src="/mw/skins/glamdrol/wesnoth-logo.jpg" /></a>
</div>
</div>