* 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 */
text-align: left;
}
-/*
- * Rules for notice boxes shown in the left sidebar when important, but
- * non-critical information needs to be conveyed such as notices about
- * donation drives.
- */
-
-.notice {
- text-align: left;
-}
-
/* Rules for the menu displayed in the left sidebar */
.left_menu {
text-align: right;
}
-/*
- * Rules for notice boxes shown in the left sidebar when important, but
- * non-critical information needs to be conveyed such as notices about
- * donation drives.
- */
-
-.notice {
- text-align: right;
-}
-
/* Rules for the menu displayed in the left sidebar */
.left_menu {
<% end %>
<% if false %>
- <div id="donate" class="notice">
- <%= raw t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %>
+ <div class="sidebar-notice">
+ <p><%= raw t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %></p>
</div>
<% end %>