]> 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 56c4515d02a17b608b2f4eac86595c71443b8eb5..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 {
@@ -1324,11 +1328,11 @@ tr.turn:hover {
     #maxlat { margin-top: -1px; }
     #minlon {
       float: left;
-      margin-left: -1px;
+      /* no-r2 */ margin-left: -1px;
     }
     #maxlon {
       float: right;
-      margin-right: -1px;
+      /* no-r2 */ margin-right: -1px;
     }
     #minlat { margin-bottom: 0; }
   }
@@ -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;
 }
 
@@ -2314,6 +2318,7 @@ a.button {
     font-size: 13px;
     background: #e8e8e8;
     padding: 2px 3px;
+    white-space: pre-wrap;
 
     code {
       padding: 0;
@@ -2341,11 +2346,11 @@ a.button {
     margin-left: $lineheight;
   }
 
-  ul li {
+  ul li {
     list-style: disc;
   }
 
-  ol li {
+  ol li {
     list-style: decimal;
   }
 }