X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/15940feba641791c19e63fabd07508907f0c842d..e01df312b8fee6f67bf84b4c8293b57789b6fe2c:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 37194433e..049dadbff 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -382,7 +382,6 @@ table { .donate { display: block; - position: relative; width: 153px; padding: 5px; border: 1px solid #AED1A0; @@ -391,29 +390,18 @@ table { line-height: 1.4; text-align: center; border-radius: 2px; - -moz-border-radius: 2px; color: #222; margin: 10px 10px 0px 10px; -} - -.donate:hover { - background: #9ed485; - text-decoration: none; -} - -.donate p { - text-indent: 20px; - margin: 0; -} -.donate .donate-icon { - width: 15px; - height: 15px; - border: 0px; - background: image-url("sprite.png") 0 -30px no-repeat; - position: absolute; - top: 8px; - left: 17px; + &:hover { + background: #9ed485; + text-decoration: none; + } + span { + margin: 0; + padding-left: 18px; + background: image-url("sprite.png") 0 -29px no-repeat; + } } /* Rules for Creative Commons logo button */ @@ -951,6 +939,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; } background-color: #ffe0cc; margin: 0px; padding: 4px 6px; + max-width: 100%; } h4, p { margin-bottom: 5px; @@ -1602,6 +1591,12 @@ a.button.submit { font-size: 14px; } + code { + font-size: 13px; + background: #e8e8e8; + padding: 2px 3px; + } + img { padding: 20px; background-color: #f4f4ff; @@ -1658,7 +1653,7 @@ a.button.submit { display: inline-block; padding: 20px; background-color: #f4f4ff; - overflow-x: scroll; + overflow-x: auto; &.loading { background-image: image-url("loading.gif"); @@ -1797,3 +1792,26 @@ a.button.submit { width: 100%; height: 100%; } + +/* Rules for rotating sidebar ads */ +.ad-container { + display: block; + height: 120px; + overflow: hidden; + position: relative; + border-bottom: 1px solid #cccccc; +} + +.ads { + width: 370px; + position: absolute; + left: 0%; +} + +.ad { + float: left; + height: 100px; + padding: 10px; + border: 0px; + background: #fff; +}