X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/917ed5a7fda9be9c3d751b56db4995a8cb088d57..276c29cb3138b2bd3e36d5f24430c7d55df3b8bc:/public/stylesheets/common.css?ds=inline diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index f61698742..d46013393 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -550,14 +550,25 @@ div#contributorTerms { height: 60%; } -div#contributorTerms p { +div#contributorTerms p#first { margin-top: 0px; } +div#contributorTerms p#last { + margin-bottom: 0px; +} + div#contributorTerms ol { margin-bottom: 0px; } +div#contributorTerms img { + display: block; + margin-left: auto; + margin-right: auto; + margin-top: 10%; +} + /* Rules for the account settings page */ #accountForm td { @@ -735,3 +746,35 @@ abbr.geo { .table1 { background: #fff; } + +/* hack to get left/right alignment on a line working. apparently still works in IE too. + * shamelessly stolen from http://www.spartanicus.utvinternet.ie/left_and_right_alignment_using_css.htm + */ +div.left_right_line { + text-align:right; + margin:1em 0; + padding:0; + width:80%; +} +div.left_right_line div { + display:inline; + white-space:nowrap +} +div.left_right_line div.left { + float:left +} +#content>div.left_right_line { + display:table; + width:60% +} +#content>div.left_right_line div { + display:table-cell +} +#content>div.left_right_line div.left { + float:none; + text-align:left +} +#content>div.left_right_line div.right { + text-align:right +} +