Commits

Troy Gaul committed 28c29fc

Fixes to a couple issues using changes suggested by Simon Parsons (thanks!). Links on the page were being turned black in error, and one of the witnessed banners didn't have the right appearance.

  • Participants
  • Parent commits 1811933

Comments (0)

Files changed (2)

File Wikipedia Josey Wales.safariextension/inject.css

 #JA1banner3{
 	background-color: #ffffff !important;
+	background-position: right top !important;
 	background-image: url(JoseyWalesAppeal-normal.jpg) !important;
 }
 
 #EditorBanner1A{
+	background-color: #ffffff !important;
+	background-position: right top !important;
 	background-image: url(JoseyWalesAppeal-normal.jpg) !important;
 }
 
 #EditorBanner2A{
+	background-color: #ffffff !important;
+	background-position: right top !important;
 	background-image: url(JoseyWalesAppeal-normal.jpg) !important;
 }
 
 #EditorBanner3A{
+	background-color: #ffffff !important;
+	background-position: right top !important;
 	background-image: url(JoseyWalesAppeal-normal.jpg) !important;
 }
 
 #EditorBanner4A{
+	background-color: #ffffff !important;
+	background-position: right top !important;
 	background-image: url(JoseyWalesAppeal-normal.jpg) !important;
 }
 
+#EditorBanner4A-text {
+   padding: 0.75em 1.5em !important;
+}
+
+#EditorBanner4A #notice-button {
+	position: relative !important;
+	right: auto !important;
+	top: 5px !important;
+}
+
 #EditorBanner5A{
+	background-color: #ffffff !important;
+	background-position: right top !important;
 	background-image: url(JoseyWalesAppeal-normal.jpg) !important;
 }
+
+#siteNotice a:link { color: #000000 !important; }
+#siteNotice a:visited { color: #000000 !important; }

File Wikipedia Josey Wales.safariextension/inject.js

 	getElt( "EditorBanner5A-text" );
 	
 	if( elt )
-		elt.innerHTML = "<span><style type=\"text/css\">a:link {color: #000000} a:visited {color: #000000}</style><a href=\"http://tumblr.seoulbrother.com/post/2065345794/six-years-ago-wikipedia-started-with-a-radical\">Please read:<br>A personal appeal from<br>the outlaw Josey Wales</a></span><div id=notice-button></div>";
+		elt.innerHTML = "<span><a href=\"http://tumblr.seoulbrother.com/post/2065345794/six-years-ago-wikipedia-started-with-a-radical\">Please read:<br>A personal appeal from<br>the outlaw Josey Wales</a></span><div id=notice-button></div>";
 	
 	weAreChanging = false;
 }