Change all addresses to be relative

This commit is contained in:
Wirlaburla 2024-02-23 17:52:31 -06:00
parent 3b97e1dae4
commit a9f3a6f3a5
5 changed files with 19 additions and 33 deletions

View File

@ -1,19 +1,5 @@
@import url('//assets.worlio.com/style/css/theme.css');
@font-face {
font-family:Pixio;
src:url(//assets.worlio.com/fonts/Pixio/Pixio.woff2),
url(//assets.worlio.com/fonts/Pixio/Pixio.woff),
url(//assets.worlio.com/fonts/Pixio/Pixio.ttf) format("truetype");
}
@font-face {
font-family:nk57;
src:url(../fonts/nk57/nk57-monospace-cd-rg.ttf) format("truetype"),
url(../fonts/nk57/nk57-monospace-cd-bd.ttf) format("truetype"),
url(../fonts/nk57/nk57-monospace-cd-it.ttf) format("truetype"),
url(../fonts/nk57/nk57-monospace-cd-lt.ttf) format("truetype");
}
@import url('theme.css');
@import url('fonts.css');
:root {
--primary: #0079b5;

View File

@ -79,7 +79,7 @@
display: inline-block;
width: 16px; height: 16px;
margin-left: 4px;
background-image: url('//assets.worlio.com/style/icons/close');
background-image: url('icons/close');
background-size: 100%;
cursor: pointer;
}

View File

@ -108,7 +108,7 @@
--direct: #ffffff;
--background-image: url('//assets.worlio.com/style/background');
--background-image: url('background');
--default-button-background: #d4d4d4;
--default-button-border: 2px outset #dfdfdf;
@ -119,14 +119,14 @@
--disabled-button-background: #808080;
--disabled-button-border: 2px solid #808080;
--navbar-left: url('//assets.worlio.com/style/navbar-left');
--navbar-right: url('//assets.worlio.com/style/navbar-right');
--navbar-top: url('//assets.worlio.com/style/navbar-top');
--navbar-bottom: url('//assets.worlio.com/style/navbar-bottom');
--nav-db: url('//assets.worlio.com/style/navbar-db');
--navbar-left: url('navbar-left');
--navbar-right: url('navbar-right');
--navbar-top: url('navbar-top');
--navbar-bottom: url('navbar-bottom');
--nav-db: url('navbar-db');
--navbar-bg: url('//assets.worlio.com/style/navbar-bg');
--navbar-gradient: url('//assets.worlio.com/style/navbar-gradient');
--navbar-bg: url('navbar-bg');
--navbar-gradient: url('navbar-gradient');
--primary-font: Pixio;
--secondary-font: TypeWriter;

View File

@ -16,30 +16,30 @@
URL assets should be in base64 here, preventing issues with incorrect path-finding from the URL itself. This file should be cached.
*/
.user-card.wblue { /* Worlio Blue */
--usercard-image: url('/assets/style/background');
--usercard-image: url('background');
--usercard-color: #1E90FF;
}
.user-card.wbumps { /* Worm Bumps */
--usercard-image: url('/assets/style/card/wbumps');
--usercard-image: url('card/wbumps');
--usercard-color: #ddd;
--card-outline: #FFF;
}
.user-card.wgraving { /* Worm Engravings */
--usercard-image: url('/assets/style/card/wgraving');
--usercard-image: url('card/wgraving');
--usercard-color: #eee;
--card-outline: #FFF;
}
.user-card.warpspeed { /* Warp Speed */
--usercard-image: url('/assets/style/card/warpspeed');
--usercard-image: url('card/warpspeed');
--usercard-color: #000;
--card-outline: #FFF;
}
.user-card.nyanstars { /* Nyan Stars */
--usercard-image: url('/assets/style/card/nyanstars');
--usercard-image: url('card/nyanstars');
--usercard-color: #013368;
--card-outline: #FFF;
}

View File

@ -1568,7 +1568,7 @@ heading .button {
.close {
position: absolute;
background-image: url('//assets.worlio.com/style/icons/deny');
background-image: url('icons/deny');
background-size: 100%;
width: 48px;
height: 48px;
@ -1676,13 +1676,13 @@ div.emotebox .emote-container:hover {
}
.rating .star-container .stars {
background: url('//assets.worlio.com/style/icons/ratings/star');
background: url('icons/ratings/star');
height: 100%;
background-size: auto 100%;
max-width: 100%;
}
.rating .star-container {
background-image: url('//assets.worlio.com/style/icons/ratings/unstar');
background-image: url('icons/ratings/unstar');
background-size: 20% 100%;
height: 100%;
cursor: pointer;