Difference between revisions of "User:Jestie/Page.css"

From Team Fortress Wiki
Jump to: navigation, search
m (This seems to be working fine-ish? Not sure if it's giving the desired result but at least it hasn't broken the image as far as I can tell. I'll make changes later on.)
m (giving this another shot, seeing if this gets what i want)
Line 9: Line 9:
 
   display: block;
 
   display: block;
 
   height: 10em;
 
   height: 10em;
   background-image:
+
   background:
 
       url('https://wiki.teamfortress.com/w/images/0/0a/User_Payn_Pebbles_Penguin_Login.png');
 
       url('https://wiki.teamfortress.com/w/images/0/0a/User_Payn_Pebbles_Penguin_Login.png');
 
   background-size: 13px 13px;
 
   background-size: 13px 13px;
Line 15: Line 15:
  
 
li#ptuserpage #thoughts .entry:nth-of-type(2n+1)::before {
 
li#ptuserpage #thoughts .entry:nth-of-type(2n+1)::before {
   background-image: url("/w/images/d/d8/Login_Soldier.png");
+
   background: url("/w/images/d/d8/Login_Soldier.png");
 
     background-size: 13px 13px;
 
     background-size: 13px 13px;
 
}
 
}
 
#thoughts .entry:nth-of-type(3n+1)::before {
 
#thoughts .entry:nth-of-type(3n+1)::before {
   background-image: url('https://wiki.teamfortress.com/w/images/3/33/Login_Scout.png');
+
   background: url('https://wiki.teamfortress.com/w/images/3/33/Login_Scout.png');
 
   background-size: 13px 13px;
 
   background-size: 13px 13px;
 
}
 
}
 
#thoughts .entry:nth-of-type(4n+1)::before {
 
#thoughts .entry:nth-of-type(4n+1)::before {
   background-image: url('https://wiki.teamfortress.com/w/images/e/e4/Login_Sniper.png');     
+
   background: url('https://wiki.teamfortress.com/w/images/e/e4/Login_Sniper.png');     
 
   background-size: 13px 13px;
 
   background-size: 13px 13px;
 
}
 
}
 
#thoughts .entry:nth-of-type(5n+1)::before {
 
#thoughts .entry:nth-of-type(5n+1)::before {
   background-image: url('https://wiki.teamfortress.com/w/images/d/d4/Login_Medic.png');
+
   background: url('https://wiki.teamfortress.com/w/images/d/d4/Login_Medic.png');
 
   background-size: 13px 13px;
 
   background-size: 13px 13px;
 
}
 
}

Revision as of 07:05, 11 May 2024

/* note to moderators, most of the spam from earlier was my trying ideas i had that i THOUGHT would work but unfortunately didn't. for example, my attemps at making the surrounding area of my other coloured backgrounds black, until i finally realised it literally was not possible. i apologise, i will be more economical with my usage in css and try not to be stupid. sorry.*/ 
.mw-wiki-logo 
	{background-image: url("https://wiki.teamfortress.com/w/images/d/d9/User_Payn_TFWiki_Logo_Replacement.png") !important; 
	background-size: 135px 135px;
}
* {font-family: comic sans ms}
li#ptuserpage #thoughts .entry + .entry::before {
   content: "";
   display: block;
   height: 10em;
   background:
      url('https://wiki.teamfortress.com/w/images/0/0a/User_Payn_Pebbles_Penguin_Login.png');
   background-size: 13px 13px;
}

li#ptuserpage #thoughts .entry:nth-of-type(2n+1)::before {
   background: url("/w/images/d/d8/Login_Soldier.png");
    background-size: 13px 13px;
}
#thoughts .entry:nth-of-type(3n+1)::before {
   background: url('https://wiki.teamfortress.com/w/images/3/33/Login_Scout.png');
   background-size: 13px 13px;
}
#thoughts .entry:nth-of-type(4n+1)::before {
   background: url('https://wiki.teamfortress.com/w/images/e/e4/Login_Sniper.png');    
   background-size: 13px 13px;
}
#thoughts .entry:nth-of-type(5n+1)::before {
   background: url('https://wiki.teamfortress.com/w/images/d/d4/Login_Medic.png');
   background-size: 13px 13px;
}