Follow-up 9e45850: Temporarily duplicate styles back to shared.css
authorPrateek Saxena <prtksxna@gmail.com>
Sun, 26 Jun 2016 12:11:58 +0000 (17:41 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Sun, 26 Jun 2016 12:12:43 +0000 (17:42 +0530)
Per Bartosz and Timo's comments on
Ifd90292fc54875403d871429ce6e5020036d4797

Change-Id: I90940d3f67780af6f1efb8507a0bc038e0496220

resources/src/mediawiki.legacy/shared.css

index 73e474e..4ff403a 100644 (file)
@@ -91,6 +91,37 @@ abbr[title],
        }
 }
 
+/* Colored watchlist and recent changes numbers */
+.mw-plusminus-pos {
+       color: #006400; /* dark green */
+}
+
+.mw-plusminus-neg {
+       color: #8b0000; /* dark red */
+}
+
+.mw-plusminus-null {
+       color: #aaa; /* gray */
+}
+
+/*
+ * Bidi-isolate these numbers.
+ * See https://phabricator.wikimedia.org/T93484
+ */
+.mw-plusminus-pos,
+.mw-plusminus-neg,
+.mw-plusminus-null {
+       unicode-bidi: -moz-isolate;
+       unicode-bidi: isolate;
+}
+
+/* Comment portions of RC entries */
+span.comment {
+       font-style: italic;
+       unicode-bidi: -moz-isolate;
+       unicode-bidi: isolate;
+}
+
 /**
  * Add a bit of margin space between the preview and the toolbar.
  * This replaces the ugly <p><br /></p> we used to insert into the page source