MediaWiki talk:Common.css
From BIONICLEsector01
Colored Usernames
Here's a thing I found out recently: You can reduce the following code:
table.diff a[title="User:Swert"], ul.special li a[title="User:Swert"] { color: #0797b0; }
Replace it with this:
.mw-userlink[title="User:Swert"] { color: #0797b0; }
The second one is less code, and it will not only color the username at Special:RecentChanges and “Difference between revisions of Whatever” pages, but also on “Revision history of Whatever” pages, Special:NewPages or on File pages. And of course, it doesn't only work for Swert. I'd replace it myself, but I cannot edit it. --Fippede 14:24, 18 June 2014 (CEST)
- Thanks for the tip! Done. -- Morris the Mata Nui Cow (talk) 18:12, 18 June 2014 (CEST)
Message Templates
Would someone please add the following code? It applies to templates I am translating at the moment.
/* Message Templates */ }.MessageTemplate{ width: 90%; border: 1px solid #0797b0; margin: 20px auto; background: #fff; border-spacing: 30px 10px; }.MessageTemplate td:first-child{ width: 52px;