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

From Team Fortress Wiki
Jump to: navigation, search
m (it overrode a single piece of text, unfortunate but oh well.)
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.)
Line 4: Line 4:
 
background-size: 135px 135px;
 
background-size: 135px 135px;
 
}
 
}
li#pt-userpage {
+
* {font-family: comic sans ms}
    background-image: url('https://wiki.teamfortress.com/w/images/0/0a/User_Payn_Pebbles_Penguin_Login.png') !important;
+
li#ptuserpage #thoughts .entry + .entry::before {
 +
  content: "";
 +
  display: block;
 +
  height: 10em;
 +
  background-image:
 +
      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-image: url("/w/images/d/d8/Login_Soldier.png");
 
     background-size: 13px 13px;
 
     background-size: 13px 13px;
 
}
 
}
* {font-family: comic sans ms}
+
#thoughts .entry:nth-of-type(3n+1)::before {
 +
  background-image: 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-image: 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-image: url('https://wiki.teamfortress.com/w/images/d/d4/Login_Medic.png');
 +
  background-size: 13px 13px;
 +
}

Revision as of 07:04, 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-image:
      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-image: url("/w/images/d/d8/Login_Soldier.png");
    background-size: 13px 13px;
}
#thoughts .entry:nth-of-type(3n+1)::before {
   background-image: 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-image: 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-image: url('https://wiki.teamfortress.com/w/images/d/d4/Login_Medic.png');
   background-size: 13px 13px;
}