Browse Source

Changed color of text in the ribbon

gine 7 years ago
parent
commit
61f7e79860
3 changed files with 8 additions and 6 deletions
  1. BIN
      assets/screenshot-1.jpg
  2. 7 5
      css/ilovexm24.css
  3. 1 1
      ilovexm24.php

BIN
assets/screenshot-1.jpg


+ 7 - 5
css/ilovexm24.css

@@ -3,7 +3,6 @@
 	font-weight: bolder; 
 	font-size: 1.4em; 
 	width: 200px;
-	background: #FFF;
 	text-align: center;
 	line-height: 50px;
 	letter-spacing: 1px;
@@ -20,11 +19,14 @@
 	z-index:9999;
 }
 
-.admin-bar .ilovexm24_content {
-    top: 57px;
+.ilovexm24_link, 
+.ilovexm24_link:hover {
+	color: #000;
 }
 
-.ilovexm24_link:hover, 
-.ilovexm24_link {
+.ilovexm24_link .love, 
+.ilovexm24_link:hover .love {
 	color: #FF0000;
 }
+
+

+ 1 - 1
ilovexm24.php

@@ -43,7 +43,7 @@ class Xm24_Ribbon {
 
 	public function getHtmlRibbon() {
 		$xm24_url = 'http://www.ecn.org/xm24';
-		$xm24_text = 'I♥XM24';
+		$xm24_text = 'I <span class="love">&#9829;</span> XM24';
 		$xm24_title = 'Solidarietà ad Xm24 a rischio di sgombero!';
 
 		$ribbon = '<div class="ilovexm24_content">'.