SamanthaNguyen has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/339907 )
Change subject: Basic clean up of CSS to MediaWiki CSS coding conventions ...................................................................... Basic clean up of CSS to MediaWiki CSS coding conventions - 0px to 0 - shorthanded values, e.g 0 0 0 0 -> 0 or #ffffff to #fff - lowercased color values, #DCDCDC -> #dcdcdc - name color values to hex color values, e.g white to #fff - organized properties (not part of MW CSS CC, but organization is important) Change-Id: I9e09683ca0bfe7b73eedf2e37c33da6c261d70e7 --- M SystemGifts/SystemGift.css M UserActivity/UserActivity.css M UserBoard/BoardBlast.css M UserBoard/UserBoard.css M UserBoard/i18n/en.json M UserGifts/UserGifts.css M UserProfile/UserProfile.css M UserRelationship/UserRelationship.css M UserStats/TopList.css M UserWelcome/UserWelcome.css 10 files changed, 387 insertions(+), 389 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SocialProfile refs/changes/07/339907/1 diff --git a/SystemGifts/SystemGift.css b/SystemGifts/SystemGift.css index dbb8ff0..f2f1123 100644 --- a/SystemGifts/SystemGift.css +++ b/SystemGifts/SystemGift.css @@ -1,28 +1,28 @@ -.back-links { - margin: 0px 0px 10px 0px; +700.back-links { + margin: 0 0 10px 0; } .back-links a { + font-weight: 700; text-decoration: none; - font-weight: bold; } .ga-count { - margin: 0px 0px 15px 0px; + margin: 0 0 15px 0; } .ga-item { - border: 1px solid #D7DEE8; + border: 1px solid #d7dee8; padding: 7px; float: left; - margin: 0px 15px 15px 0px; + margin: 0 15px 15px 0; width: 350px; } .ga-item a { - text-decoration: none; - font-weight: bold; font-size: 14px; + font-weight: 700; + text-decoration: none; } .ga-item img { @@ -31,51 +31,51 @@ padding: 3px; display: block; float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .page-nav a { - font-weight: bold; + font-weight: 700; } .ga-new { background-color: #FFFB9B; border: 1px solid #FDC745; - font-weight: bold; - padding: 0px 5px; + font-weight: 700; + padding: 0 5px; } .ga-name { font-size: 16px; - font-weight: bold; - margin: 0px 0px 2px; + font-weight: 700; + margin: 0 0 2px; } .ga-timestamp { font-size: 9px; color: #999; - margin: 0px 0px 5px 0px; + margin: 0 0 5px 0; } .ga-description-message { - margin: 0px 0px 5px 0px; + margin: 0 0 5px 0; color: #666; - font-weight: bold; + font-weight: 700; } .ga-gift-count { font-size: 9px; - margin: 0px 0px 10px 0px; + margin: 0 0 10px 0; } .ga-description-container { width: 480px; - margin: 20px 0px; + margin: 20px 0; } .ga-recent { - border-top: 1px solid #EFEFEF; - padding: 10px 0px 0px 0px; + border-top: 1px solid #efefef; + padding: 10px 0 0 0; } .ga-recent img { @@ -83,7 +83,7 @@ padding: 3px; background-color: #fff; border: 1px solid #dcdcdc; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .ga-recent a { @@ -94,17 +94,17 @@ .ga-recent-title { font-size: 14px; - font-weight: bold; + font-weight: 700; color: #777; - margin: 0px 0px 2px 0px; + margin: 0 0 2px 0; } .ga-recent-item { - margin: 0px 0px 5px 0px; + margin: 0 0 5px 0; } .ga-description { - padding: 0px 0px 15px 0px; + padding: 0 0 15px 0; } .ga-description img { @@ -113,7 +113,7 @@ padding: 3px; display: block; float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } /* Special:SystemGiftManager */ @@ -129,9 +129,9 @@ } .view-form { - font-weight: 800; + color: #666; font-size: 12px; - color: #666666; + font-weight: 800; width: 200px; } @@ -140,16 +140,16 @@ } .view-status { - font-weight: 800; + background-color: #fffb9b; + color: #666; font-size: 12px; - background-color: #FFFB9B; - color: #666666; + font-weight: 800; padding: 5px; margin-bottom: 5px; } a.ga-remove-link { - color: red; + color: #ff0; font-size: 10px; } @@ -160,7 +160,7 @@ } table td.title-cell { - color: #666666; + color: #666; font-weight: 800; padding: 5px; } @@ -178,73 +178,73 @@ .top-awards-navigation { float: right; - margin: 15px 0px 0px 0px; + margin: 15px 0 0 0; width: 20%; } .top-awards-navigation p { - margin: 0px 0px 3px 0px; + margin: 0 0 3px 0; } .top-awards-navigation a { - font-weight: bold; + font-weight: 700; text-decoration: none; } .top-awards-navigation h1 { - color: #333333; - font-size: 16px; - font-weight: bold; - padding: 0px 0px 3px 0px; - margin: 0px 0px 10px 0px !important; border-bottom: 1px solid #dcdcdc; + color: #333; + font-size: 16px; + font-weight: 700; + padding: 0 0 3px 0; + margin: 0 0 10px 0 !important; } .top-award-title { - font-size: 16px; - font-weight: bold; - margin: 0px 0px 18px 0px; color: #797979; + font-size: 16px; + font-weight: 700; + margin: 0 0 18px 0; } .top-award { - margin: 0px 0px 18px 0px; - font-size: 13px; color: #797979; + font-size: 13px; + margin: 0 0 18px 0; } .top-award-number { - font-size: 16px; color: #dcdcdc; - font-weight: bold; - margin: 0px 10px 0px 0px; + font-size: 16px; + font-weight: 700; + margin: 0 10px 0 0; } .top-award img { vertical-align: middle; - margin: 0px 3px 0px 0px; + margin: 0 3px 0 0; } .top-award a { font-size: 16px; - font-weight: bold; + font-weight: 700; text-decoration: none; } /* Special:RemoveMasterSystemGift */ .ga-container { - margin: 15px 0px 0px 0px; + margin: 15px 0 0 0; } .ga-container img { - border: 1px solid #dcdcdc; background-color: #fff; - padding: 3px; + border: 1px solid #dcdcdc; display: block; float: left; - margin: 0px 10px 0px 0px; + padding: 3px; + margin: 0 10px 0 0; } .ga-buttons { - padding: 15px 0px 0px 0px; -} \ No newline at end of file + padding: 15px 0 0 0; +} diff --git a/UserActivity/UserActivity.css b/UserActivity/UserActivity.css index 98cbe4a..3804262 100644 --- a/UserActivity/UserActivity.css +++ b/UserActivity/UserActivity.css @@ -10,54 +10,54 @@ padding-top: 15px; width: 170px; padding-top: 15px; - margin: 2px 0px 0px 0px; + margin: 2px 0 0 0; } .user-home-links-container h2 { color: #333; font-size: 16px; border-bottom: 1px solid #dcdcdc; - padding: 0px 0px 3px 0px; - margin: 0px 0px 5px 0px !important; + padding: 0 0 3px 0; + margin: 0 0 5px 0 !important; } .user-home-links-container a { display: block; - padding: 4px 0px 4px 0px; + padding: 4px 0 4px 0; + font-weight: 700; text-decoration: none; - font-weight: bold; } .user-home-links-container img { - margin: 0px 4px 0px 0px; + margin: 0px 4px 0 0; vertical-align: middle; } .user-home-friends-activity { - padding: 0px 0px 15px 0px; + padding: 0 0 15px 0; } .user-home-friends-activity h2 { letter-spacing: -1px; color: #333; font-size: 18px; - margin: 0px 0px 8px 0px !important; + margin: 0 0 8px 0 !important; } .user-home-activity-timestamp { - color: #999999; + color: #999; font-size: 9px; - margin: 0px 0px 0px 6px; + margin: 0 0 0 6px; } .user-home-activity { border-bottom: 1px solid #dcdcdc; - padding: 7px 0px; + padding: 7px 0; } .user-home-activity img { vertical-align: middle; - margin: 0px 5px 0px 0px; + margin: 0 5px 0 0; } .user-home-activity a { @@ -81,4 +81,4 @@ border: 1px solid #dcdcdc; padding: 1px; background-color: #fff; -} \ No newline at end of file +} diff --git a/UserBoard/BoardBlast.css b/UserBoard/BoardBlast.css index 3a944c1..4bc8d6c 100644 --- a/UserBoard/BoardBlast.css +++ b/UserBoard/BoardBlast.css @@ -1,72 +1,70 @@ #blast-friends-list div.blast-friend-selected, #blast-friends-list div.blast-foe-selected { - background-color:#FFFCA9; - border: 1px solid #FDC745; - color: #002BB8; - font-weight: bold; - padding: 3px; + background-color:#fffca9; + border: 1px solid #fdc745; + color: #002bb8; + font-weight: 700; overflow: hidden; - margin: 0px 3px 3px 0px; float: left; cursor: pointer; - width: 200px; - overflow: hidden; - font-weight: bold; - padding: 4px; height: 17px; + width: 200px; + + padding: 4px; + margin: 0 3px 3px 0; + overflow: hidden; + } #blast-friends-list div.blast-friend-unselected, #blast-friends-list div.blast-foe-unselected { border: 1px solid #dcdcdc; - color: #285C98; - font-weight: bold; - padding: 3px; + color: #285c98; + font-weight: 700; overflow: hidden; - margin: 0px 3px 3px 0px; float: left; cursor: pointer; - width: 200px; - overflow: hidden; - font-weight: bold; - padding: 4px; height: 17px; + width: 200px; + padding: 4px; + margin: 0 3px 3px 0; + overflow: hidden; } .board-blast-message-form { - margin: 8px 0px 0px 0px; + margin: 8px 0 0 0; } .blast-nav { - margin: 0px 0px 12px 0px; + margin: 0 0 12px 0; font-size: 12px; } .blast-nav a { - color: #999999; + color: #999; } .blast-nav-text { - margin: 0px 0px 5px 0px; + margin: 0 0 5px 0; } .blast-message-box-button { - padding: 10px 0px 0px 0px; + padding: 10px 0 0 0; } .blast-message-text { - color: #999999; - font-weight: bold; + color: #999; font-size: 12px; - margin: 0px 0px 3px 0px; + font-weight: 700; + margin: 0 0 3px 0; } .board-blast-message-form h2 { - color: #333333; - margin: 0px 0px 10px 0px !important; + color: #333; + margin: 0 0 10px 0 !important; } .blast-nav h2 { - color: #333333; - margin: 15px 0px 10px 0px !important; + color: #333; + margin: 15px 0 10px 0 !important; } diff --git a/UserBoard/UserBoard.css b/UserBoard/UserBoard.css index cd731f7..8b3315a 100644 --- a/UserBoard/UserBoard.css +++ b/UserBoard/UserBoard.css @@ -1,10 +1,10 @@ #user-page-board { - margin: 5px 0px 10px 0px; + margin: 5px 0 10px 0; } .user-board-top-links { - font-weight: bold; - margin: 15px 0px 0px 0px; + font-weight: 700; + margin: 15px 0 0 0; } .user-board-top-links a { @@ -12,25 +12,26 @@ } .user-page-message-form { - margin: 5px 0px 15px 0px; - font-weight: bold; + font-weight: 700; + margin: 5px 0 15px 0; + } .user-board-message { - border: 1px solid #D4DFD7; - margin: 0px 0px 15px 0px; + border: 1px solid #d4dfd7; width: 550px; + margin: 0 0 15px 0; } .user-board-message-from { - background-color: #EFF3F0; - padding: 3px 0px 5px 5px; + background-color: #eef3f0; + padding: 3px 0 5px 5px; } .user-board-message-from a { font-size: 14px; + font-weight: 700; text-decoration: none; - font-weight: bold; } .user-board-message-content { @@ -38,14 +39,14 @@ } .user-board-message-time { - font-size: 11px; color: #797979; - margin: 2px 0px 0px 5px; + font-size: 11px; + margin: 2px 0 0 5px; } .user-board-message-image { float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .user-board-message-image img { @@ -54,32 +55,32 @@ .user-board-message-body { float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; vertical-align: top; width: 90%; } .user-board-message-body p { - margin: 0px 0px 0px 0px !important; + margin: 0 0 0 0 !important; } .user-board-message-links { - padding: 0px 0px 5px 5px; + padding: 0 0 5px 5px; } .user-board-message-links a { font-size: 11px; text-decoration: none; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .user-board-red a { - color: #ff0000; + color: #f00; } select#message_type { vertical-align: middle; - margin: -1px 0px 0px 5px; + margin: -1px 0 0 5px; } .user-page-message-form textarea { @@ -87,7 +88,7 @@ } .user-page-message-count { - color: #666666; + color: #666; font-size: 11px; } @@ -104,4 +105,4 @@ div.user-board-message-body { float: none; } -} \ No newline at end of file +} diff --git a/UserBoard/i18n/en.json b/UserBoard/i18n/en.json index 76ef97e..25a9a0e 100644 --- a/UserBoard/i18n/en.json +++ b/UserBoard/i18n/en.json @@ -47,7 +47,6 @@ "userboard_loggedout": "You must be [[Special:UserLogin|logged in]] to post messages to other users.", "userboard_showingmessages": "Showing {{PLURAL:$4|message $3|messages $2-$3}} of {{PLURAL:$1|$1 message|$1 messages}}.", "right-userboard-delete": "Delete others' board messages", - "action-userboard-delete": "delete others' board messages", "userboard-time-days": "{{PLURAL:$1|one day|$1 days}}", "userboard-time-hours": "{{PLURAL:$1|one hour|$1 hours}}", "userboard-time-minutes": "{{PLURAL:$1|one minute|$1 minutes}}", diff --git a/UserGifts/UserGifts.css b/UserGifts/UserGifts.css index dd8b32e..aa7bfcb 100644 --- a/UserGifts/UserGifts.css +++ b/UserGifts/UserGifts.css @@ -1,22 +1,22 @@ .back-links { - margin: 0px 0px 10px 0px; + margin: 0 0 10px 0; } .back-links a { text-decoration: none; - font-weight: bold; + font-weight: 700; } .g-count { - margin: 0px 0px 15px 0px; + margin: 0 0 15px 0; } .g-item { - border: 1px solid #D7DEE8; - padding: 7px; + border: 1px solid #d7dee8; float: left; - margin: 0px 15px 15px 0px; width: 350px; + padding: 7px; + margin: 0 15px 15px 0; } .g-item a { @@ -24,23 +24,23 @@ } .g-item img { - border: 1px solid #dcdcdc; background-color: #fff; - padding: 3px; - display: block; + border: 1px solid #dcdcdc; float: left; - margin: 0px 10px 0px 0px; + padding: 3px; + margin: 0 10px 0 0; + display: block; } .g-title { font-size: 16px; - font-weight: bold; - margin: 0px 0px 8px 0px; + font-weight: 700; + margin: 0 0 8px 0; } .g-from { - font-weight: bold; font-size: 11px; + font-weight: 700; } .g-actions { @@ -52,26 +52,26 @@ } .g-delete { - margin: 0px 0px 0px 12px; + margin: 0 0 0 12px; } .page-nav a { - font-weight: bold; + font-weight: 700; } .g-new { - background-color: #FFFB9B; - border: 1px solid #FDC745; - font-weight: bold; - padding: 0px 5px; + background-color: #fffb9b; + border: 1px solid #fdc745; font-size: 12px; - margin: 0px 0px 0px 10px; + font-weight: 700; + padding: 0 5px; + margin: 0 0 0 10px; } .g-name { font-size: 16px; - font-weight: bold; - margin: 0px 0px 2px; + font-weight: 700; + margin: 0 0 2px; } .g-timestamp { @@ -80,24 +80,24 @@ } .g-user-message { - margin: 8px 0px; color: #666; - font-weight: bold; + font-weight: 700; + margin: 8px 0; } .g-gift-count { font-size: 9px; - margin: 2px 0px 10px 0px; + margin: 2px 0 10px 0; } .g-description-container { width: 480px; - margin: 20px 0px; + margin: 20px 0; } .g-recent { - border-top: 1px solid #EFEFEF; - padding: 10px 0px 0px 0px; + border-top: 1px solid #efefef; + padding: 10px 0 0 0; } .g-recent img { @@ -105,7 +105,7 @@ padding: 3px; background-color: #fff; border: 1px solid #dcdcdc; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .g-recent a { @@ -116,17 +116,17 @@ .g-recent-title { font-size: 14px; - font-weight: bold; + font-weight: 700; color: #777; - margin: 0px 0px 2px 0px; + margin: 0 0 2px 0; } .g-recent-item { - margin: 0px 0px 5px 0px; + margin: 0 0 5px 0; } .g-description { - margin: 0px 0px 15px 0px; + margin: 0 0 15px 0; } .g-description img { @@ -135,11 +135,11 @@ padding: 3px; display: block; float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .g-container { - margin: 15px 0px 0px 0px; + margin: 15px 0 0 0; } .g-container img { @@ -148,41 +148,41 @@ padding: 3px; display: block; float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .g-buttons { - padding: 15px 0px 0px 0px; + padding: 15px 0 0 0; } .g-message { - margin: 0px 0px 15px 0px; + margin: 0 0 15px 0; } .g-give-container { - background-color: #F2F4F7; - border: 1px solid #D7DEE8; + background-color: #f2f4f7; + border: 1px solid #d7dee8; padding: 10px; width: 500px; - margin: 0px 0px 20px 0px; + margin: 0 0 20px 0; } .g-give-title { font-size: 13px; color: #888; - margin: 0px 0px 6px 0px; - font-weight: bold; + margin: 0 0 6px 0; + font-weight: 700; } .g-give-separator { - margin: 10px 0px; - font-weight: bold; + margin: 10px 0; + font-weight: 700; } .g-add-message { - margin: 15px 0px 4px 0px; + margin: 15px 0 4px 0; color: #666; - font-weight: bold; + font-weight: 700; font-size: 14px; } @@ -192,11 +192,11 @@ } .g-give-all { - border: 1px solid #DCDCDC; + border: 1px solid #dcdcdc; cursor: pointer; float: left; min-height: 110px; - margin: 0px 10px 10px 0px; + margin: 0 10px 10px 0; padding: 8px; width: 250px; overflow: hidden; @@ -204,7 +204,7 @@ .g-give-all img { float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; display: block; border: 1px solid #dcdcdc; padding: 3px; @@ -212,17 +212,17 @@ } .g-blue { - color: #285C98 !important; + color: #285c98 !important; } .g-give-all-message-title { color: #666; - font-weight: bold; - margin: 10px 0px 5px 0px; + font-weight: 700; + margin: 10px 0 5px 0; } .g-give-all-highlight { - background-color: #FAF9F9; + background-color: #faf9f9; } .g-give-all-selected { @@ -231,16 +231,16 @@ /* Special:GiftManager */ .view-form { - font-weight: 800; + color: #666; font-size: 12px; - color: #666666; + font-weight: 800; } .view-status { - font-weight: 800; + background-color: #fffb9b; + color: #666; font-size: 12px; - background-color: #FFFB9B; - color: #666666; + font-weight: 800; padding: 5px; margin-bottom: 5px; -} \ No newline at end of file +} diff --git a/UserProfile/UserProfile.css b/UserProfile/UserProfile.css index 1495e22..7a82282 100644 --- a/UserProfile/UserProfile.css +++ b/UserProfile/UserProfile.css @@ -1,6 +1,6 @@ .firstHeading { border-bottom: none; - margin: 0px !important; + margin: 0 !important; display: none; } @@ -9,7 +9,7 @@ } #main { - padding: 0px 0px 0px 0px !important; + padding: 0 !important; } #user-page-left { @@ -24,16 +24,16 @@ #user-page-left h2, #user-page-right h2 { border-bottom: 1px solid #dcdcdc; - padding: 0px 0px 3px 0px; - margin: 0px 0px 5px 0px; + padding: 0 0 3px 0; + margin: 0 0 5px 0; font-size: 17px; letter-spacing: -1px; color: #333; } .no-info-container { - margin: 10px 0px 20px 0px; - background-color: #F2F4F7; + margin: 10px 0 20px 0; + background-color: #f2f4f7; padding: 20px; text-align: center; color: #777; @@ -42,33 +42,33 @@ .item-small { color: #999; font-size: 9px; - margin: 0px 0px 0px 6px; + margin: 0 0 0 6px; } .user-section-heading { border-bottom: 1px solid #DCDCDC; width: 100%; line-height: 22px; - margin: 0px 0px 8px 0px; + margin: 0 0 8px 0; } .user-section-title { float: left; font-size: 20px; letter-spacing: -1px; - padding: 0px 10px 0px 0px; + padding: 0 10px 0 0; } .user-section-actions { position: relative; - right: 0px; + right: 0; top: -2px; } .action-right { float: right; font-size: 10px; - padding: 0px 5px 0px 0px; + padding: 0 5px 0 0; } .action-left { @@ -83,37 +83,37 @@ /* Profile Top */ #profile-top { background-color: #fff; - border-bottom: 1px solid #D4DFD7; - padding: 10px 0px; - margin: 0px 0px 20px 0px; + border-bottom: 1px solid #d4dfd7; + padding: 10px 0; + margin: 0 0 10px 0; position: relative; } #profile-title-container { - padding: 0px 0px 6px 6px; + padding: 0 0 6px 6px; } #profile-title { - float: left; font-size: 2em; + font-weight: 700; line-height: 26px; - font-weight: bold; - margin: 0px 15px 0px 0px; + float: left; + margin: 0 15px 0 0; } #points-level { - float: left; + background-color: #cc0; font-size: 11px; - background-color: #CC0000; - padding: 1px 5px; - margin: 4px 8px 0px 0px; text-align: center; + float: left; + padding: 1px 5px; + margin: 4px 8px 0 0; } #honorific-level { - float: left; - margin: 4px 0px 0px 0px; font-size: 12px; + float: left; + margin: 4px 0 0 0; } #honorific-level a { @@ -121,20 +121,20 @@ } #points-level a { - text-decoration: none; - font-weight: bold; color: #fff; + font-weight: 700; + text-decoration: none; } #profile-image { - position: relative; float: left; - margin: 0px 8px 0px 0px; + margin: 0 8px 0 0; + position: relative; } #profile-image img { - border: 1px solid #dcdcdc; background-color: #fff; + border: 1px solid #dcdcdc; padding: 3px; } @@ -145,64 +145,64 @@ .profile-actions a { text-decoration: none; - font-weight: bold; - margin: 0px 6px; + font-weight: 700; + margin: 0 6px; } /* User-Relationship */ .user-relationship-container { - padding: 0px 0px 25px 0px; + padding: 0 0 25px 0; } .user-relationship-container a { text-decoration: none; - display: block; float: left; - margin: 5px 10px 0px 0px; + margin: 5px 10px 0 0; + display: block; } .user-relationship-container img { - padding: 3px; - border: 1px solid #dcdcdc; background-color: #fff; + border: 1px solid #dcdcdc; + padding: 3px; } /* User Gift / User Awards */ .user-gift-container { - padding: 0px 0px 25px 0px; + padding: 0 0 25px 0; } .user-gift-container a { text-decoration: none; display: block; float: left; - margin: 5px 10px 0px 0px; + margin: 5px 10px 0 0; } .user-gift-container img { - padding: 3px; - border: 1px solid #dcdcdc; background-color: #fff; + border: 1px solid #dcdcdc; + padding: 3px; } /* Fanboxes */ .user-fanbox-container { - padding: 0px 0px 25px 0px; + padding: 0 0 25px 0; } /* User Activity */ .activity-item { border-bottom: 1px solid #dcdcdc; - padding: 7px 0px; + padding: 7px 0; } .activity-item-bottom { - padding: 7px 0px 0px 0px; + padding: 7px 0 0 0; } .activity-item img, .activity-item-bottom img { vertical-align: middle; - margin: 0px 5px 0px 0px; + margin: 0 5px 0 0; } .activity-item a, .activity-item-bottom a { @@ -215,37 +215,37 @@ } .item a { - font-weight: bold; + font-weight: 700; } #recent-all { - padding: 0px 0px 25px 0px; + padding: 0 0 25px 0; } /* Message Board */ #user-page-board { - margin: 5px 0px 10px 0px; + margin: 5px 0 10px 0; } .user-page-message-form { - margin: 5px 0px 15px 0px; - font-weight: bold; + margin: 5px 0 15px 0; + font-weight: 700; } .user-board-message { border: 1px solid #e2e2e2; - margin: 0px 0px 15px 0px; + margin: 0 0 15px 0; } .user-board-message-from { background-color: #F8F5F5; - padding: 3px 0px 5px 5px; + padding: 3px 0 5px 5px; } .user-board-message-from a { font-size: 14px; + font-weight: 700; text-decoration: none; - font-weight: bold; } .user-board-message-content { @@ -253,14 +253,14 @@ } .user-board-message-time { - font-size: 11px; color: #797979; - margin: 2px 0px 0px 5px; + font-size: 11px; + margin: 2px 0 0 5px; } .user-board-message-image { float: left; - padding: 0px 10px 5px 0px; + padding: 0 10px 5px 0; } .user-board-message-image img { @@ -268,21 +268,21 @@ } .user-board-message-body { - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .user-board-message-body p { - margin: 0px 0px 0px 0px !important; + margin: 0 !important; } .user-board-message-links { - padding: 0px 0px 5px 5px; + padding: 0 0 5px 5px; } .user-board-message-links a { font-size: 11px; text-decoration: none; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .user-board-red a { @@ -291,46 +291,46 @@ /* Profile Data */ .profile-info-container { - padding: 0px 0px 17px 0px; + padding: 0 0 17px 0; } .profile-info-container b { color: #555; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .profile-info-container div { - margin: 0px 0px 8px 0px; + margin: 0 0 8px 0; color: #666; } -.bold-fix b { - margin: 0px 5px 0px 0px !important; +.700-fix b { + margin: 0 5px 0 0 !important; } /* Casual Games */ .casual-game-container { - padding: 0px 0px 18px 0px; + padding: 0 0 18px 0; } .casual-game-container p { - margin: 0px 0px 0px 0px !important; - padding: 7px 0px !important; border-top: 1px solid #dcdcdc; + padding: 7px 0 !important; + margin: 0 !important; } .casual-game-container .item-top { - border: none; + border: 0; } .casual-game-container a { + font-weight: 700; text-decoration: none; - font-weight: bold; } .casual-game-container .item-type { font-size: 9px; - margin: 0px 0px 0px 6px; + margin: 0 0 0 6px; } .casual-game-container img { @@ -338,53 +338,53 @@ padding: 3px; background-color: #fff; vertical-align: middle; - margin: 0px 3px 0px 0px; + margin: 0 3px 0 0; } /* User Articles */ .user-articles-container { - padding: 0px 0px 23px 0px; + padding: 0 0 23px 0; } .article-item { - margin: 0px 0px 0px 0px; - padding: 7px 0px 2px 0px; + margin: 0; + padding: 7px 0 2px 0; border-top: 1px solid #dcdcdc; } .user-articles-container a { text-decoration: none; - font-weight: bold; + font-weight: 700; } .article-item-top { - margin: 0px 0px 0px 0px; - padding: 7px 0px 2px 0px; + margin: 0; + padding: 7px 0 2px 0; border: none; } .number-of-votes { - margin: 0px 10px 3px 0px; + margin: 0 10px 3px 0; text-align: center; float: left; width: 25px; } .vote-number { - background-color: #89C46F; - color: #FFFFFF; + background-color: #89c46f; + color: #fff; font-size: 12px !important; - margin: 0px 0px 2px 0px; - font-weight: bold; + margin: 0 0 2px 0; + font-weight: 700; height: 25px; line-height: 25px; } .vote-text { - margin: -1px 0px 0px 0px; - font-size: 9px; color: #777; + font-size: 9px; line-height: 9px; + margin: -1px 0 0 0; } /* Pictures */ @@ -395,13 +395,13 @@ .picture-container .mini-image { float: left; - margin: 5px 10px 0px 0px; + margin: 5px 10px 0 0; } .picture-container img { background-color: #fff; - padding: 3px; border: 1px solid #dcdcdc; + padding: 3px; } .picture-container a { @@ -415,18 +415,18 @@ } .upload-frame-errors { - margin: 10px 0px 5px 0px; - color: red; + margin: 10px 0 5px 0; + color: #f00; font-size: 14px; - font-weight: bold; + font-weight: 700; } .no-pictures-container { - color: #777777; - margin: 10px 0px 0px; + background-color: #eff3f0; + color: #777; padding: 20px; + margin: 10px 0 0; text-align: center; - background-color: #EFF3F0; } .upload-frame-errors { @@ -440,15 +440,15 @@ /* Sports Networks */ .network-container { - padding: 0px 0px 22px 0px; + padding: 0 0 22px 0; } .network { - margin: 0px 0px 3px 0px; + margin: 0 0 3px 0; } .network img { - margin: 0px 5px 0px 0px; + margin: 0 5px 0 0; vertical-align: middle; } @@ -462,7 +462,7 @@ } .status-update-box { - margin: 10px 0px 10px 0px; + margin: 10px 0; } #status-text input { @@ -472,18 +472,18 @@ /* Status */ .status-container { - padding: 0px 0px 20px 0px; + padding: 0 0 20px 0; } .status-message img { vertical-align: middle; - margin: 0px 5px 0px 0px; + margin: 0 5px 0 0; } .user-status-date { - margin: 0px 6px 0px 0px; color: #999; font-size: 9px; + margin: 0 6px 0 0; } .user-status-profile-vote { @@ -491,8 +491,8 @@ } .user-status-profile-vote a { - text-decoration: none; font-size: 9px; + text-decoration: none; } /* Avatar upload page (Special:UploadAvatar) */ @@ -509,9 +509,8 @@ table.avatar-success-page td.title-cell { color: #797979; font-size: 12px; - font-weight: bold; - padding: 5px; - padding-bottom: 20px; + font-weight: 700; + padding: 5px 5px 20px 5px; } table.avatar-success-page td.image-cell { @@ -525,11 +524,11 @@ /* Update Profile */ .profile-info { background-color: #fff; - padding: 25px 0px; + padding: 25px 0; } .profile-update { - padding: 0px; + padding: 0; } .profile-tab-bar { @@ -537,31 +536,32 @@ } .profile-tab { - float: left; - background-color: #68BD46; + background-color: #68bd46; + text-align: center; height: 22px; min-width: 72px; - padding: 6px 5px 0px 5px; - margin: 0px 5px 0px 0px; - text-align: center; + float: left; + padding: 6px 5px 0 5px; + margin: 0 5px 0 0; } .profile-tab-on { - background-color: #466C2C; + background-color: #466c2c; float: left; height: 22px; - color: #ffffff; + color: #fff; font-size: 12px; min-width: 72px; - font-weight: bold; - padding: 6px 5px 0px 5px; - margin: 0px 5px 0px 0px; + font-weight: 700; + padding: 6px 5px 0 5px; + margin: 0 5px 0 0; text-align: center; } -.profile-tab-on a, .profile-tab a { +.profile-tab-on a, +.profile-tab a { color: #fff; - font-weight: normal; + font-weight: 400; text-decoration: none; } @@ -570,37 +570,37 @@ } .profile-tab a:visited { - color: #FFFFFF !important; + color: #fff !important; } .profile-tab-on a:visited { - color: #FFFFFF !important; + color: #fff !important; } .profile-update-button { - background-color: #78BA5D; - border: 1px solid #6B6B6B; - color: #ffffff; + background-color: #78ba5d; + border: 1px solid #6b6b6b; + color: #fff; font-size: 13px; padding: 3px; } .profile-update-title { - font-size: 16px; color: #333; - margin: 0px 0px 5px 0px !important; - font-weight: bold; + font-size: 16px; + font-weight: 700; + margin: 0 0 5px 0 !important; } .profile-update-title img { vertical-align: middle; - margin: -3px 0px 0px 5px; + margin: -3px 0 0 5px; } .profile-update-unit-left { color: #797979; - font-weight: bold; font-size: 12px; + font-weight: 700; float: left; width: 150px; } @@ -611,21 +611,21 @@ } .profile-update-unit-small { + color: #797979; + font-size: 10px; float: left; width: 450px; - font-size: 10px; - color: #797979; } .profile-update-row { color: #797979; - font-weight: bold; + font-weight: 700; font-size: 12px; } .profile-update-links { - margin: 0px 0px 10px 0px; - font-weight: bold; + margin: 0 0 10px 0; + font-weight: 700; } .profile-update-links a { @@ -633,29 +633,29 @@ } .profile-status { - background-color: #FFFB9B; - font-weight: bold; - padding: 0px 5px 0px 5px; + background-color: #fffb9b; + font-weight: 700; + padding: 0 5px 0 5px; } .profile-on { - background-color: #FFFB9B; - border: 1px solid #FDC745; - font-weight: bold; + background-color: #fffb9b; + border: 1px solid #fdc745; + font-weight: 700; padding: 1px 5px 1px 5px; } #profile-toggle-button { - position: absolute; + background-color: #ffa500; top: 5px; - right: 0px; - background-color: orange; + right: 0; padding: 2px 10px; + position: absolute; } #profile-toggle-button a { color: #fff; - font-weight: bold; + font-weight: 700; } /* The text "Message type" on the left side of the message type selector on profile page */ @@ -726,9 +726,9 @@ .eye-container .title { font-size: 12px; - font-weight: bold; + font-weight: 700; color: white; - padding: 0px 0 0 25px; + padding: 0 0 0 25px; } .eye-container .menu { @@ -736,14 +736,14 @@ } .eye-container .menu .item { - height: 18px; - font-size: 12px; - font-weight: bold; - color: white; - margin: 4px 0 4px 0; - padding: 0 0 0 30px; /* @embed */ background: #a3c2d5 url(../images/eye-bw.png) 5px 1px no-repeat; + color: #fff; + height: 18px; + font-size: 12px; + font-weight: 700; + padding: 0 0 0 30px; + margin: 4px 0 4px 0; } .eye-container .menu .item:hover { diff --git a/UserRelationship/UserRelationship.css b/UserRelationship/UserRelationship.css index ac3c6bb..9ec40a6 100644 --- a/UserRelationship/UserRelationship.css +++ b/UserRelationship/UserRelationship.css @@ -1,21 +1,21 @@ .back-links { - margin: 0px 0px 10px 0px; + margin: 0 0 10px 0; } .back-links a { text-decoration: none; - font-weight: bold; + font-weight: 700; } .relationship-count { - margin: 0px 0px 15px 0px; + margin: 0 0 15px 0; } .relationship-item { - border: 1px solid #D7DEE8; + border: 1px solid #d7dee8; padding: 7px; float: left; - margin: 0px 15px 15px 0px; + margin: 0 15px 15px 0; width: 350px; } @@ -29,13 +29,13 @@ padding: 3px; display: block; float: left; - margin: 0px 10px 0px 0px; + margin: 0 10px 0 0; } .relationship-name { font-size: 14px; - font-weight: bold; - margin: 0px 0px 2px 0px; + font-weight: 700; + margin: 0 0 2px 0; } .relationship-actions { @@ -47,48 +47,48 @@ } .relationship-delete { - margin: 0px 0px 0px 12px; + margin: 0 0 0 12px; } .page-nav a { - font-weight: bold; + font-weight: 700; } .relationship-error-message { - margin: 0px 0px 15px 0px; + margin: 0 0 15px 0; } .relationship-action { - margin: 0px 0px 15px 0px; color: #888; + font-weight: 700; width: 500px; - margin: 15px 0px; - font-weight: bold; + margin: 15px 0; } .relationship-action img { float: left; - display: block; - margin: 0px 15px 0px 0px; background-color: #fff; - padding: 3px; border: 1px solid #dcdcdc; + padding: 3px; + margin: 0 15px 0 0; + display: block; } .relationship-buttons { - padding: 10px 0px 0px 0px; + padding: 10px 0 0 0; } .relationship-textbox-title { - font-weight: bold; font-size: 13px; - margin: 0px 0px 5px 0px; + font-weight: 700; + margin: 0 0 5px 0; } .relationship-message { - font-size: 14px; - margin: 10px 0px 0px 0px; color: #888 !important; + font-size: 14px; + margin: 10px 0 0 0; + } .black-text { @@ -96,7 +96,7 @@ } .red-text { - color: red !important; + color: #f00 !important; } /* Responsive stuff for mobile devices */ @@ -105,4 +105,4 @@ div.relationship-action p { max-width: 60%; } -} \ No newline at end of file +} diff --git a/UserStats/TopList.css b/UserStats/TopList.css index 3038378..00018be 100644 --- a/UserStats/TopList.css +++ b/UserStats/TopList.css @@ -1,7 +1,7 @@ /** Styles for Special:TopUsers etc. **/ .top-users { float: left; - margin: 15px 0px 0px 0px; + margin: 15px 0 0 0; } .top-fan { @@ -23,25 +23,25 @@ } .top-fan-num { - font-weight: bold; + color: #dcdcdc; font-size: 18px; - color: #DCDCDC; + font-weight: 700; float: left; width: 45px; - padding: 5px 0px 0px 0px; - margin: 0px 0px 0px 5px; + padding: 5px 0 0 0; + margin: 0 0 0 5px; } .top-fan-points { - float: left; - font-size: 13px; color: #797979; + font-size: 13px; + float: left; height: 30px; padding-top: 5px; } .top-fan-row { - margin: 0px 0px 10px 0px; + margin: 0 0 10px 0; clear: both; } @@ -49,33 +49,33 @@ font-size: 16px; font-weight: 800; color: #797979; - margin: 0px 0px 10px 0px; + margin: 0 0 10px 0; } .top-fan-nav h1 { + border-bottom: 1px solid #dcdcdc; + color: #333; font-size: 16px; - color: #333333; - padding: 0px 0px 3px 0px; - border-bottom: 1px solid #DCDCDC; - margin: 0px 0px 10px 0px !important; + padding: 0 0 3px 0; + margin: 0 0 10px 0 !important; } .top-fan-level { font-size: 16px; font-weight: 800; color: #797979; - margin: 0px 0px 10px 0px; + margin: 0 0 10px 0; } .top-fan-nav { float: right; - margin: 10px 0px 0px 0px; + margin: 10px 0 0 0; width: 200px; padding: 5px; } .top-fan-nav a { - font-weight: bold; + font-weight: 700; text-decoration: none; } @@ -90,4 +90,4 @@ span.top-fan { max-width: 14em; } -} \ No newline at end of file +} diff --git a/UserWelcome/UserWelcome.css b/UserWelcome/UserWelcome.css index ec2310f..ea8b6fe 100644 --- a/UserWelcome/UserWelcome.css +++ b/UserWelcome/UserWelcome.css @@ -1,14 +1,14 @@ /* Main Page welcome user */ .mp-welcome-logged-in { - margin: 0px 0px 0px 15px; + margin: 0 0 0 15px; } .mp-welcome-logged-in h2 { font-size: 20px; line-height: 24px; border-bottom: none; - padding: 8px 0px 10px 0px !important; - margin: 0px 0px 0px 0px !important; + padding: 8px 0 10px 0 !important; + margin: 0 0 0 0 !important; } .mp-welcome-info { @@ -17,9 +17,9 @@ } .mp-welcome-image { - float: left; - margin: 0px 10px 0px 0px; text-align: center; + float: left; + margin: 0 10px 0 0; } .mp-welcome-image a { @@ -28,8 +28,8 @@ } .mp-welcome-image img { - background-color: #FFFFFF; - border: 1px solid #DCDCDC; + background-color: #fff; + border: 1px solid #dcdcdc; padding: 3px; } @@ -39,27 +39,27 @@ } .points-and-level { - margin: 0px 0px 3px; + margin: 0 0 3px; } .needed-points { - color: #666666; + color: #666; font-size: 10px; line-height: 12px; - padding: 5px 0px 0px; + padding: 5px 0 0; } .total-points { - background-color: #CC0000; - color: #FFFFFF; + background-color: #cc0; + color: #fff; float: left; font-size: 12px; - font-weight: bold; - margin: 0px 5px 0px 0px; + font-weight: 700; + margin: 0 5px 0 0; padding: 1px 5px; text-align: center; } .honorific-level { float: left; -} \ No newline at end of file +} -- To view, visit https://gerrit.wikimedia.org/r/339907 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9e09683ca0bfe7b73eedf2e37c33da6c261d70e7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SocialProfile Gerrit-Branch: master Gerrit-Owner: SamanthaNguyen <samanthanguyen1...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits