Skip to content

Miz2 by FireOpal

Details

AuthorFireOpal

License(CC-BY-NV-SA)

Categoryhorsereality.com

Created

Updated

Code size37 kB

Code checksum746e23bc

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Their use only!

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           Miz2
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */

@-moz-document domain("example.com") {
    /* Insert code here... */
}
:root {
    
    --Font: Poiret One;
    --HRC: url(https://i.imgur.com/XLheNBa.png);
    --DP: url(https://i.imgur.com/58ndEfn.png);
    --FT: url(https://i.imgur.com/ECdQmZA.png);
    --WT: url(https://i.imgur.com/1bpOFtF.png);
    --REROLL: url(https://i.imgur.com/4rTxTGV.png);
    --STORE: url(https://i.imgur.com/TzYpAkQ.png);
    --AIRPORT: url(https://i.imgur.com/4rTxTGV.png);
    --RIDINGSCHOOL: url(https://i.imgur.com/TzYpAkQ.png);
    --CLUB: url(https://i.imgur.com/TzYpAkQ.png);
    --Market: url(https://i.imgur.com/QQbuegH.png);
    --MAP: url(https://i.imgur.com/ZXmlrcF.png);
    --RArrow: url(https://i.imgur.com/hm8gPDU.png);
    --LArrow: url(https://i.imgur.com/AwhMSvZ.png);
    --XPBar: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c4acd3), to(#fca8d3));
    --BreedAdv: url(https://i.imgur.com/55WRrKD.png);
    --HRBack: url(https://i.imgur.com/O3CFlLq.png);
    --BodyBK: url(https://i.imgur.com/pEjCEQi.png);
    --Pedi: url(https://i.imgur.com/O3CFlLq.png);
    --Office: url(https://i.imgur.com/TzYpAkQ.png);
    --Color1: #5f536f8f;
    --Text: #bcb0ce;
    --Link: #c4acd3;
    --Header: #ecdfff;
    --Center: #5f536f82;
    --Container: #704f6073;
    --Color2: #dacfeb;
    --Main: #5f536f;
    --ColorHover: #ecdfff;
    --Blocking: #c4acd375;
    --Active: #9c72a1;
    --Train: #9b7b9e;
    --Button: #c59cb3;
    --GenePage: #e6e1ef;
    --BreedingPage: #704f6073;
    --OddRow: #5f536f85;
    --EvenRow: #433853;
    --BreedName: #ffd4f8;
    --DamFoalIcon: #b57796;
    --OddOfferFitting: #4e3b69;
    --EnergyIcon: #fca8d3;
    --OffersMarket: #eee1ff;
    --FittingHover: #bcb0ce4f;
    --FoalCal: #c4acd3;
    --FoalPasture: #bcb0ce;
    --FreezerSelect: #5f536f8f;
    --OddrowComp: #5f536fab;
    --SettingBill: #5f536f8f;
    --BillPage: #c4acd3;
    --YourClubPage: #ffd4f8;
    --EnteredHorses: #ffecfc73;
}

/* cyrillic */
@font-face {
  font-family: 'Poiret One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poiretone/v16/UqyVK80NJXN4zfRgbdfbo5pcV_cx.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Poiret One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poiretone/v16/UqyVK80NJXN4zfRgbdfbo5BcV_cx.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poiret One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poiretone/v16/UqyVK80NJXN4zfRgbdfbo55cVw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*{
    cursor: url(https://i.imgur.com/fGJpVh9.png), auto ; 
}

/*Market Images*/

[src="https://www.horsereality.com/images/market_explore.jpeg"] {
    content: var(--Market);
}
[src="https://www.horsereality.com/images/market_office.jpeg"] {
    content: var(--Office);
}

/*Foundation*/

[src="https://www.horsereality.com/images/npc-id6-caroll.jpg"] {
    content: var(--Market);
}

/*Pasture*/

[style="background-image:url(https://www.horsereality.com/images/npc_kai_walker.jpg)"] {
    background-image: var(--Market) !important;
}

/*Rollover PNG*/

[src="https://v2.horsereality.com/img/caroll-rollover.jpg"] {
    content: var(--REROLL);
}

/*Equistore png*/

[src="https://www.horsereality.com/images/npc-equistore.jpg"] {
    content: var(--STORE);
}

/*Airport Image*/

[style="background-image:url(https://www.horsereality.com/images/npc-airport.jpg)"] {
    background-image: var(--AIRPORT) !important;
}

/*Riding School Image*/

[style="background-image:url(https://www.horsereality.com/images/npc-ridingschool.jpg)"] {
    background-image: var(--RIDINGSCHOOL) !important;
}

/*Clubs Image*/

[style="background-image:url(https://www.horsereality.com/images/npc-clubs.jpg)"] {
    background-image: var(--CLUB) !important;
}

/*Currency Icons*/

[src="https://www.horsereality.com/icon/coin.png"] {
    content: var(--HRC);
}
[src="https://www.horsereality.com/icon/deltapoints.png"] {
    content: var(--DP);
}
[src="https://www.horsereality.com/icon/ticket-foundation.png"] {
    content: var(--FT);
}
[src="https://www.horsereality.com/icon/ticket-wildlife.png"] {
    content: var(--WT);
}

/*Mini Map*/

img[src="https://www.horsereality.com/images/world/ava-europe.png"], img[src="https://www.horsereality.com/images/world/ava-africa.png"], img[src="https://www.horsereality.com/images/world/ava-asia.png"], img[src="https://www.horsereality.com/images/world/ava-australia.png"], img[src="https://www.horsereality.com/images/world/ava-north-america.png"], img[src="https://www.horsereality.com/images/world/ava-south-america.png"] {
    content: var(--MAP);
    border-radius: 0px;
}

/*Body Background*/

body.background.north-america {
    background-image: var(--BodyBK);
}
body.background.south-america {
    background-image: var(--BodyBK);
}
body.background.africa {
    background-image: var(--BodyBK);
}
body.background.australia {
    background-image: var(--BodyBK);
}
body.background.europe {
    background-image: var(--BodyBK);
}
body.background.asia {
    background-image: var(--BodyBK);
}
/*Info Boxes/Icon*/



/*---------------------------------------------------------------*/
/*Horse Image Flips (Foals)*/

.horse_photocon img.foal {
    transform:scaleX(-1)
}        
.horse-banner .container img.foal {
    transform: scaleX(-1);
}
.horse-item .horse-image.is-foal img:first-child {
    transform: scaleX(-1)
}
.himage_tiny img.foal {
    transform: scaleX(-1);
}
.horse-image.is-foal img {
    transform: scaleX(-1);
}
.horse-row-image .container.foal img {
    transform: scaleX(-1);
}
.horse_foal_photo .foal {
    transform: scaleX(-1);
}

/*Lipi Foal fix*/

.horse_photocon .horse_photo img.foal {
    margin-left: 150px;
}


.horse_banner.north-america {
    background-image: var(--HRBack);
}
.horse_banner.asia {
    background-image: var(--HRBack);
}
.horse_banner.europe {
    background-image: var(--HRBack);
}
.horse_banner.south-america {
    background-image: var(--HRBack);
}
.horse_banner.africa {
    background-image: var(--HRBack);
}
.horse_banner.australia {
    background-image: var(--HRBack);
}

/*Foal Image in Genes*/

.horse_foal_image.north-america {
    background-image: var(--HRBack);
}
.horse_foal_image.south-america {
    background-image: var(--HRBack);
}
.horse_foal_image.asia {
    background-image: var(--HRBack);
}
.horse_foal_image.europe {
    background-image: var(--HRBack);
}
.horse_foal_image.africa {
    background-image: var(--HRBack);
}
.horse_foal_image.australia {
    background-image: var(--HRBack);
}
/*Horse Page*/

.horse_left {
    border-radius: 10px 10px 10px 10px;
    background-color: var(--Color1);
    width: 220px;
}
.looking_at {
    border-radius: 10px 10px 10px 10px;
    background-color: var(--Color1);
}

/*arrows*/

img.right {
  background: var(--RArrow) top right;
  height: 0px;
  width: 0px;
  padding: 100px 100px 0 0; /* Insert actual image size (height width 0 0) */
}
img.left {
  background: var(--LArrow) top right;
  height: 0px;
  width: 0px;
  padding: 100px 100px 0 0; /* Insert actual image size (height width 0 0) */
}

/*Horse page text*/

.gamestats {
    font-family: var(--Font);
    color: #fff;
}

body {
    color: var(--Text);
    font-family: var(--Font);
}

p a:active, p a:link, p a:visited {
    color: var(--Link);
    font-family: var(--Font);
}
.horse_left .right a:active, .horse_left .right a:link, .horse_left .right a:visited {
    color: var(--Link);
}
h1 {
    font-family: var(--Font);
    color: var(--Header);
}
p {
    font-family: var(--Font);
    color: var(--Color2);
}


.center {
    background-color: var(--Center);
}
.container {
    background-color: #d9ba8300;
}
.leftnav {
    border-radius: 0px 0px 0px 10px;
    background-color: var(--Center);
    font-family: var(--Font);
}

.top {
    background-color: var(--Main);
    color: var(--Header);
    font-family: var(--Font);
    border-radius: 10px 10px 0px 0px;
}
.container_12 .grid_6.half_block {
    border-radius: 10px 10px 10px 10px;
    background-color: var(--Container);
    border-left: 1px solid #d9ba8300;
    border-bottom: 5px solid #d9ba8300;
    border-right: 1px solid #d9ba8300;
}


.pedigree {
    background-color: #fff0;
    border-radius: 0px 0px 10px 10px;
    background-image: var(--Pedi);
}
.container_12 .grid_12.stable_block {
    border-radius: 10px 10px 10px 10px;
    background-color: var(--Container);
    border-left: 1px solid #d9ba8300;
    border-bottom: 5px solid #d9ba8300;
    border-right: 1px solid #d9ba8300;
}
.parents a:active p, .parents a:link p, .parents a:visited p {
    color: var(--Text);
}
.grandparents a:active p, .grandparents a:link p, .grandparents a:visited p {
    color: var(--Text);
}
.ggrandparents a:active p, .ggrandparents a:link p, .ggrandparents a:visited p {
    color: var(--Text);
}
.ggrandparents a:hover p {
    color: var(--ColorHover) !important;
}
.parents a:hover p {
    color: var(--ColorHover) !important;
}
.grandparents a:hover p {
    color: var(--ColorHover) !important;
}



.horse_blockimg {
    background-color: var(--Blocking);
    border-radius: 10px 10px 10px 10px;
}
.preselect-horse-block {
    color: var(--Header);
}

.horse_xp {
    border-radius: 10px 10px 10px 10px;
    background: var(--XPBar);
}
.horse_statusbar...

Reviews

No reviews yet.