Minor CSS cleanup for Vector and Monobook skins
authorMatmaRex <matma.rex@gmail.com>
Sat, 23 Mar 2013 11:37:30 +0000 (12:37 +0100)
committerMatmaRex <matma.rex@gmail.com>
Sat, 23 Mar 2013 11:37:30 +0000 (12:37 +0100)
Fixing inconsistencies discovered when working
on Ia82312b5 (now abandoned).

Change-Id: Ie2eacf60ddc7f8dd6a00bce1551913b410cd10f1

skins/monobook/main.css
skins/vector/screen.css

index 4cbc093..b3a531d 100644 (file)
@@ -381,19 +381,22 @@ input.searchButton {
 #p-personal li.active a:hover {
        background-color: transparent;
 }
-/* the icon in front of the user name, single quotes
-in bg url to hide it from iemac */
+/* The icon in front of the username / login link */
 li#pt-userpage,
 li#pt-anonuserpage,
 li#pt-login {
        /* @embed */
        background: url(user.gif) top left no-repeat;
        padding-left: 20px;
-       text-transform: none;
 }
 #p-personal ul {
        text-transform: lowercase;
 }
+/* Don't lowercase username or IP addresses (IPv6) */
+li#pt-userpage,
+li#pt-anonuserpage {
+       text-transform: none;
+}
 #p-personal li.active {
        font-weight: bold;
 }
index 2e09ee1..28b8c09 100644 (file)
@@ -784,7 +784,6 @@ div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
        /* @embed */
        background: url(images/user-icon.png) left top no-repeat;
        padding-left: 15px !important;
-       text-transform: none;
 }
 
 .redirectText {