]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Set language and text direction properly on the copyright page
[rails.git] / app / assets / stylesheets / common.scss
index a16f7d85a56d4c13b8422c05034745753ab42f5c..8cdd57a4e431fcdfb41986255465548b4d210b9d 100644 (file)
@@ -150,6 +150,10 @@ small, aside {
 
 .piwik { border: 0; }
 
+[dir=rtl] { /* no-r2 */ text-align: right; }
+
+[dir=ltr] { /* no-r2 */ text-align: left; }
+
 /* Rules for icons */
 
 .icon {
@@ -1686,7 +1690,7 @@ tr.turn:hover {
 
 /* Rules for the diary entry page */
 
-.diary_entry {
+.diary_entries {
   #map {
     position: relative;
     width: 90%;
@@ -1722,7 +1726,7 @@ tr.turn:hover {
   }
 }
 
-.diary_entry-show img.user_thumbnail {
+.diary_entries-show img.user_thumbnail {
   float: left;
 }
 
@@ -2342,11 +2346,11 @@ a.button {
     margin-left: $lineheight;
   }
 
-  ul li {
+  ul li {
     list-style: disc;
   }
 
-  ol li {
+  ol li {
     list-style: decimal;
   }
 }