Haunted Woods 2004

Haunted Woods Theme for NPC (2004 theme only)

/* ==UserStyle==
@name         Haunted Woods 2004
@description  Haunted Woods Theme for NPC (2004 theme only)
@namespace    https://greasyfork.org/en/users/748951-sonervousgirl
@version      1.0
@author       Mousekat & Null
==/UserStyle== */


/*
--CSS Variables--

When making a new theme, modify the variables here, not the CSS below it!
*/

:root {    
    --clock-bg: #FFB400;
    --clock-txt: #000;
    --usertxt-color: #fff;
    --userlink-color:#FFB400;
    --top-header-bg: url("https://images.neopets.com/t/hw/hdr.gif");
    --side-bg-img: url("https://i.imgur.com/IqxsTYT.png");
    --sidebar-bottom-bg: url("https://images.neopets.com/t/hw/nav/ms.gif");
    --rotating-img-on: url("https://images.neopets.com/t/hw/4.gif");
    --rotating-img-off: url("https://images.neopets.com/t/hw/5.gif");
    --rotating-img-off: url("https://images.neopets.com/t/hw/6.gif");
    --rotating-img-off: url("https://images.neopets.com/t/hw/1.gif");
    --rotating-img-off: url("https://images.neopets.com/t/hw/2.gif");
    --rotating-img-off: url("https://images.neopets.com/t/hw/3.gif");
    --battle-accept-img: url("https://images.neopets.com/t/hw/events/battle_accept.gif");
    --battle-challenge-img: url("https://images.neopets.com/t/hw/events/battle_challenge.gif");
    --battle-reject-img: url("https://images.neopets.com/t/hw/events/battle_reject.gif");
    --friend-accept-img: url("https://images.neopets.com/t/hw/events/friend_accept.gif");
    --friend-req-img: url("https://images.neopets.com/t/hw/events/friend_request.gif");
    --game-accept-img: url("https://images.neopets.com/t/hw/events/game_accept.gif");
    --game-challenge-img: url("https://images.neopets.com/t/hw/events/game_challenge.gif");
    --game-result-img: url("https://images.neopets.com/t/hw/events/game_result.gif");
    --item-img: url("https://images.neopets.com/t/hw/events/item.gif");
    --neomail-img: url("https://images.neopets.com/t/hw/events/neomail.gif");
    --trade-accept-img: url("https://images.neopets.com/t/hw/events/trade_accept.gif");
    --trade-offer-img: url("https://images.neopets.com/t/hw/events/trade_offer.gif");
    --trade-reject-img: url("https://images.neopets.com/t/hw/events/trade_reject.gif");
    --trade-withdraw-img: url("https://images.neopets.com/t/hw/events/trade_withdraw.gif");
    --warning-img: url("https://images.neopets.com/t/hw/events/warning.gif");
}



.tl{
    color: var(--usertxt-color);  
}

body > table:nth-child(3) > tbody > tr > td:nth-child(2) > img, body > table:nth-child(3) > tbody > tr > td:nth-child(1) > img {
    display:none;    
}

body {
    background: var(--body-bg-img);
    background-repeat: repeat;
    background-size: 425px 425px;    
}

map {
    z-index:-1!important;
}

#nst {
    background: var(--clock-bg)!important;
    color: var(--clock-txt)!important;    
}

.tt > font > a {
    color: var(--userlink-color)!important;    
}

.tt > font {
    color: var(--usertxt-color);    
}

table[width="728"] {
    background: var(--top-header-bg)!important;    
}

body > table:nth-child(3) > tbody > tr {
    height:43px;    
}

    
    tr [style*="background-color:#ffce02;"] {
  background: var(--side-bg-img)!important;
}

tr [style*="background-color: rgb(255, 206, 2);"] {
  background: var(--side-bg-img)!important;
}
    
tr [style*="background-color:#ffce02;"] > td {
    color:rgba(0,0,0,0);    
}

tr [style*="background-color: rgb(255, 206, 2);"] > td {

    color:rgba(0,0,0,0);    
}

body > table:nth-child(5) > tbody > tr > td:nth-child(1) > table > tbody > tr > td > div > table {
    border-right:0!important;    
}

table[style*="ms.gif"] {
    background: var(--sidebar-bottom-bg)!important;
}

/*Rotating theme images*/

img#mb {
    width:0!important; height:0!important;
    padding-left:130px; /*width of img*/
    padding-top:242px; /*height of img*/    
}

img[src*="/images/misc/themes/acp/1.gif"], img[src*="/images/misc/themes/mqa/1.gif"], img[src*="/images/misc/themes/val/1.gif"], img[src*="/images/misc/themes/default/1.gif"], img[src*="/t/1.gif"] {
    background: var(--rotating-img-on) no-repeat center center;    
}

/*Event images*/

a[href*="processevent"] > img {
    width:0!important; height:0!important;
    padding-left: 50px;
    padding-top: 50px;
}



a[href*="processevent"] > img[src*="battle_accept"] {
    background: var(--battle-accept-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="battle_challenge"] {
    background: var(--battle-challenge-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="battle_reject"] {
    background: var(--battle-reject-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="friend_accept"] {
    background: var(--friend-accept-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="friend_request"] {
    background: var(--friend-req-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="game_accept"] {
    background: var(--game-accept-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="game_challenge"] {
    background: var(--game-challenge-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="game_result"] {
    background: var(--game-result-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="item"] {
    background: var(--item-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="neomail"] {
    background: var(--neomail-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="trade_accept"] {
    background: var(--trade-accept-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="trade_offer"] {
    background: var(--trade-offer-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="trade_reject"] {
    background: var(--trade-reject-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="trade_withdraw"] {
    background: var(--trade-withdraw-img) no-repeat center center;
}

a[href*="processevent"] > img[src*="warning"] {
    background: var(--warning-img) no-repeat center center;
}