From 43c2dccc8d24ef029e4cb59a322307710b025de0 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 23 Oct 2021 22:47:28 -0400 Subject: [PATCH] Fix absolute URLs in CSS files (These images weren't working when opened in `file:` URLs) --- style/client.css | 4 ++-- style/client2.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/style/client.css b/style/client.css index 3abd63772..0d135a95d 100644 --- a/style/client.css +++ b/style/client.css @@ -13,7 +13,7 @@ body { font-size: 11pt; font-family: Verdana, Helvetica, Arial, sans-serif; - /* see http://pokemonshowdown.com/credits */ + /* see https://pokemonshowdown.com/credits */ background: #344b6c url(../fx/client-bg-charizards.jpg) no-repeat left center fixed; -webkit-background-size: cover; -moz-background-size: cover; @@ -3230,7 +3230,7 @@ a.ilink.yours { .avatarlist button { width: 80px; height: 80px; - background: transparent url(//play.pokemonshowdown.com/sprites/trainers-sheet.png) no-repeat scroll 0px 0px; + background: transparent url(https://play.pokemonshowdown.com/sprites/trainers-sheet.png) no-repeat scroll 0px 0px; } .bglist button span { display: block; diff --git a/style/client2.css b/style/client2.css index cebfb6385..65b03b1fe 100644 --- a/style/client2.css +++ b/style/client2.css @@ -13,7 +13,7 @@ body { font-size: 11pt; font-family: Verdana, Helvetica, Arial, sans-serif; - /* see http://pokemonshowdown.com/credits */ + /* see https://pokemonshowdown.com/credits */ background: #344b6c url(../fx/client-bg-charizards.jpg) no-repeat left center fixed; -webkit-background-size: cover; -moz-background-size: cover; @@ -1981,7 +1981,7 @@ a.ilink.yours { .avatarlist button { width: 80px; height: 80px; - background: transparent url(//play.pokemonshowdown.com/sprites/trainers-sheet.png) no-repeat scroll 0px 0px; + background: transparent url(https://play.pokemonshowdown.com/sprites/trainers-sheet.png) no-repeat scroll 0px 0px; } .bglist button span { display: block;