]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Make sure text in Markdown help is aligned correctly
[rails.git] / app / assets / stylesheets / common.css.scss
index 45656f953afd38606404b042ce850f0a0de74d54..b6aaf7371b4ce80768cb503b255127340eb9053c 100644 (file)
@@ -100,16 +100,19 @@ h2 {
  * undergoing maintenance.
  */
 
-#alert {
-  width: 170px;
-  margin: 5px;
-  padding: 5px;
-  border: 1px solid #ccc;
-  background: #d00;
-  line-height: 1.2em;
-  font-size: 14px;
-  border-radius: 5px;
-  -moz-border-radius: 5px;
+.sidebar-alert {
+  padding: 0px 5px 0.1px 5px;
+  border-top: 1px solid #ccc;
+  margin-top: 4px;
+  margin-bottom: -4px;
+  background: #e00;
+  font-size: 13px;
+  font-weight: bold;
+  line-height: 17px;
+
+  p {
+    margin: 5px;
+  }
 }
 
 /*
@@ -118,16 +121,18 @@ h2 {
  * donation drives.
  */
 
-.notice {
-  width: 170px;
-  margin: 5px;
-  padding: 5px;
-  border: 1px solid #ccc;
+.sidebar-notice {
+  padding: 0px 5px 0.1px 5px;
+  border-top: 1px solid #ccc;
+  margin-top: 4px;
+  margin-bottom: -4px;
   background: #ea0;
-  line-height: 20px;
-  font-size: 14px;
-  border-radius: 5px;
-  -moz-border-radius: 5px;
+  font-size: 13px;
+  line-height: 17px;
+
+  p {
+    margin: 5px;
+  }
 }
 
 /* Rules for the menu displayed in the left sidebar */
@@ -1082,7 +1087,6 @@ abbr.geo {
     display: inline-block;
     vertical-align: top;
     background-color: #ddd;
-    margin-left: 15px;
     padding: 5px 10px 10px 10px;
     font-size: 12px;
 
@@ -1092,7 +1096,6 @@ abbr.geo {
 
     th {
       vertical-align: top;
-      padding: 0px 15px 0px 0px !important;
     }
 
     td {
@@ -1103,12 +1106,10 @@ abbr.geo {
 
     input.richtext_doedit {
       margin-top: 5px !important;
-      margin-right: 10px !important;
     }
 
     input.richtext_dopreview {
       margin-top: 5px !important;
-      margin-left: 10px !important;
     }
   }
 }