Update DirectionDetector style for 1.0 and move to base stylesheet.

This commit is contained in:
Samantha Doherty 2011-08-25 17:14:13 -04:00
parent f0443aff1a
commit 2dd13b071c
2 changed files with 7 additions and 9 deletions

View File

@ -42,15 +42,6 @@ class DirectionDetectorPlugin extends Plugin {
return true; return true;
} }
/**
* SN plugin API, here we will add css needed for modifiyed rendered
*
* @param Action $xml
*/
public function onEndShowStatusNetStyles($xml){
$xml->element('style', array('type' => 'text/css'), 'span.rtl {display:block;direction:rtl;text-align:right;float:right;} .notice .author {float:left}');
}
/** /**
* is passed string a rtl content or not * is passed string a rtl content or not
* *

View File

@ -1521,6 +1521,13 @@ font-size:150%;
#content .notice-source-system div.entry-title { #content .notice-source-system div.entry-title {
font-style: italic; font-style: italic;
min-height: 0; min-height: 0;
}
span.rtl {
display: block;
direction: rtl;
text-align: right;
float: right;
} }
/* override OStatus plugin style */ /* override OStatus plugin style */