12 /* Styles common to large and small screens */
14 /* Minimal CSS reset */
16 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
23 fieldset,img { border: 0; }
25 legend { color: #000; }
27 sup { vertical-align: text-top; }
29 sub { vertical-align: text-bottom; }
32 border-collapse: collapse;
36 li { list-style: none; }
41 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
44 border-bottom: .1em dotted;
48 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
62 .col0 { float:left; width:04.1666%; }
63 .col1 { float:left; width:08.3333%; }
64 .col2 { float:left; width:16.6666%; }
65 .col3 { float:left; width:25.0000%; }
66 .col4 { float:left; width:33.3333%; }
67 .col5 { float:left; width:41.6666%; }
68 .col6 { float:left; width:50.0000%; }
69 .col7 { float:left; width:58.3333%; }
70 .col8 { float:left; width:66.6666%; }
71 .col9 { float:left; width:75.0000%; }
72 .col10 { float:left; width:83.3333%; }
73 .col11 { float:left; width:91.6666%; }
74 .col12 { width:100%; }
76 .margin0 { margin-left:04.1666%; }
77 .margin1 { margin-left:08.3333%; }
78 .margin2 { margin-left:16.6666%; }
79 .margin3 { margin-left:25.0000%; }
80 .margin4 { margin-left:33.3333%; }
81 .margin5 { margin-left:41.6666%; }
82 .margin6 { margin-left:50.0000%; }
83 .margin7 { margin-left:58.3333%; }
84 .margin8 { margin-left:66.6666%; }
85 .margin9 { margin-left:75.0000%; }
86 .margin10 { margin-left:83.3333%; }
87 .margin11 { margin-left:91.6666%; }
88 .margin12 { margin-left:100.0000%; }
90 .pad1 { padding: $lineheight/2; }
91 .pad2 { padding: $lineheight; }
93 .fillL { background-color: white; }
94 /* Default rules for the body of every page */
97 -moz-box-sizing: border-box;
98 -webkit-box-sizing: border-box;
99 box-sizing: border-box;
103 font-family: 'Helvetica Neue',Arial,sans-serif;
104 font-size: $typeheight;
107 background-color: #fff;
114 background-color: #f0f0f0;
118 margin-top: $lineheight/2;
119 margin-bottom: $lineheight;
134 margin-top: $lineheight/2;
135 margin-bottom: $lineheight;
139 font-size: $typeheight;
140 margin-top: $lineheight/2;
141 margin-bottom: $lineheight/2;
147 margin-bottom: $lineheight;
170 margin: 0 0 $lineheight/2 0;
174 vertical-align: middle;
175 margin-right: $lineheight/4;
178 /* Rules for icons */
181 display:inline-block;
185 background:transparent image-url("sprite.png") no-repeat 0 0;
194 .icon.search { background-position: 0 0; }
195 .icon.donate { background-position: -20px 0; }
196 .icon.zoomin { background-position: -40px 0; }
197 .icon.zoomout { background-position: -60px 0; }
198 .icon.geolocate { background-position: -80px 0; }
199 .active .icon.geolocate { background-position: -80px -20px; }
200 .icon.layers { background-position: -100px 0; }
201 .icon.key { background-position: -120px 0; }
202 .icon.share { background-position: -140px 0; }
203 .icon.clipboard { background-position: -160px 0; }
204 .icon.link { background-position: -180px 0; }
205 .icon.close { background-position: -200px 0; }
206 .icon.check { background-position: -220px 0; }
207 .icon.note { background-position: -240px 0; }
209 /* Rules for links */
213 text-decoration: none;
215 text-decoration: underline;
219 /* Rules for horizontal lines */
223 background-color: #ccc;
228 /* General styles for tables */
232 margin-bottom: $lineheight;
235 padding: $lineheight/4;
236 line-height: $lineheight;
243 vertical-align: middle;
247 /* Rules for the whole left sidebar, including the logo */
256 border-right: 1px solid #ccc;
259 /* Rules for the OpenStreetMap logo in the top left corner */
265 padding: $lineheight $lineheight/4;
278 font-size: $lineheight/2;
283 /* Rules for the site name */
289 vertical-align: text-bottom;
293 /* Rules for the introductory text displayed in the left sidebar to new users */
296 padding: $lineheight/4 $lineheight/2;
298 margin: $lineheight/4 0;
301 .sidebar-copy.intro {
302 border-top: 1px solid #ccc;
306 * Rules for alert boxes shown in the left sidebar when important
307 * information needs to be conveyed such as when the site is
308 * undergoing maintenance.
312 padding: $lineheight/4;
313 border-top: 1px solid #ccc;
320 margin: $lineheight/4;
325 * Rules for notice boxes shown in the left sidebar when important, but
326 * non-critical information needs to be conveyed such as notices about
331 padding: $lineheight/4;
332 border-top: 1px solid #ccc;
338 margin: $lineheight/4;
342 /* Rules for the menu displayed in the left sidebar */
347 padding: $lineheight/4 $lineheight/2 $lineheight/2 $lineheight/2;
350 list-style-type: none;
351 border-bottom: 1px solid #ccc;
352 border-top: 1px solid #ccc;
354 margin: $lineheight/2 0px;
363 list-style-type: none;
369 padding: $lineheight/4 0 $lineheight/4 0;
376 * Rules for "optional boxes" which appear in the left sidebar on
377 * certain pages. Current users are the seach box on the main page
378 * and the tag cloud on the traces pages.
383 padding: $lineheight/4 $lineheight/2;
384 margin: $lineheight/4 0;
388 /* Rules for the search box */
400 font-size: $typeheight;
403 padding: 2px 0px 2px $lineheight/4;
404 box-shadow: inset #DDD 0px 1px 3px;
407 input[type="text"]:focus {
409 border: 1px solid #000;
412 input[type="submit"] {
419 text-indent: -1000px;
421 background: image-url("sprite.png") -2px -2px no-repeat;
424 right: $lineheight/4;
430 margin: $lineheight/4 0 0 0;
433 /* Utility for de-emphasizing content */
442 /* Rules for donation request box */
447 padding: $lineheight/4;
448 border: 1px solid #AED1A0;
450 font-size: $typeheight;
455 margin: $lineheight/2 $lineheight/2 0px $lineheight/2;
459 text-decoration: none;
463 /* Rules for Creative Commons logo button */
466 margin: $lineheight/2 0;
470 /* Rules for tabbed navigation bar */
476 border-bottom: 1px solid #ccc;
482 .site-index #top-bar,
483 .site-export #top-bar {
497 a, a:link, a:visited {
500 padding: 3px $lineheight/2;
501 text-decoration: none;
505 -webkit-transition: color 200ms ease-in;
506 -moz-transition: color 200ms ease-in;
507 -o-transition: color 200ms ease-in;
508 transition: color 200ms ease-in;
512 .site-index #tabnav a#viewanchor,
513 .site-edit #tabnav a#editanchor,
514 .changeset-list #tabnav a#historyanchor {
515 border-bottom: 1px solid #aaa;
520 #tabnav a:link:hover, #tabnav a:visited:hover {
521 text-decoration: underline;
524 #tabnav a:link.disabled,
525 #tabnav a:visited.disabled,
526 #tabnav a:link:hover.disabled,
527 #tabnav a:visited:hover.disabled {
531 text-decoration: none;
535 /* Utility for styling notification numbers */
538 padding: 2px $lineheight/4;
546 /* Rules for greeting bar in the top right corner */
551 margin-right: $lineheight/4;
554 .greeting-bar-unread {
558 /* Rules for the message shown in place of the map when javascript is disabled */
567 /* Rules for bootstrap tooltips */
605 display: inline-block;
608 background-color: white;
615 border-color: transparent;
619 .tooltip.top .tooltip-arrow {
623 border-top-color: white;
624 border-width: 5px 5px 0;
627 .tooltip.right .tooltip-arrow {
631 border-right-color: white;
632 border-width: 5px 5px 5px 0;
635 .tooltip.left .tooltip-arrow {
639 border-left-color: white;
640 border-width: 5px 0 5px 5px;
643 .tooltip.bottom .tooltip-arrow {
647 border-bottom-color: white;
648 border-width: 0 5px 5px;
651 /* Rules for Leaflet maps */
653 .leaflet-control .control-button {
657 background-color: #333;
658 background-color: rgba(0,0,0,.6);
659 -bottom: 1px solid #333;
660 border-radius: 4px 0 0 4px;
665 background-color: black;
669 background-color: #9ed485;
673 background-color: #333;
674 background-color: rgba(0,0,0,.5);
683 .leaflet-control .zoomin,
684 .control-layers .control-button {
686 border-radius: 4px 0 0 0;
689 .site .leaflet-control .zoomout,
690 .control-key .control-button {
695 .leaflet-control .zoomout, // For non-main page maps
696 .control-locate .control-button,
697 .control-share .control-button {
698 border-radius: 0 0 0 4px;
701 /* Rules for the home page */
717 border-left: 1px solid #CCC;
721 border-bottom: 1px solid #DDD;
731 border:1px solid #ddd;
737 ul, li:last-child, p:last-child {
751 padding: 5px 5px 5px 7px;
752 background-color: #eee;
757 background-color: #ccc;
775 text-decoration: none;
776 background-color: $lightblue;
781 border-right: 1px solid #fff;
782 border-radius: 4px 0 0 4px;
786 border-left: 1px solid #fff;
787 border-radius: 0 4px 4px 0;
791 background-color: $blue;
803 font-family: monospace;
824 .leaflet-top.leaflet-right {
825 top: $lineheight/2 !important;
827 margin-right: 0px !important;
828 margin-top: 0px !important;
832 .leaflet-popup-scrolled {
833 padding-right: $lineheight;
834 border-bottom: 0px !important;
835 border-top: 0px !important;
838 .leaflet-popup-content-wrapper {
839 border-radius: 4px !important;
840 -webkit-border-radius: 4px !important;
843 /* Rules for edit menu */
846 padding: 0 $lineheight/4;
848 display: inline-block;
850 text-decoration: none !important;
858 background-color: #ffffff;
859 border: 1px solid $lightgrey;
865 padding: 2px $lineheight/4;
866 border-top: 1px solid #eee;
871 /* Rules for attribution text under the main map shown on printouts */
877 .attribution_license,
878 .attribution_project {
882 .attribution_notice {
886 /* Rules for the popout map sidebar */
892 border-right: 1px solid $lightgrey;
898 border-bottom: 1px solid #ccc;
901 margin-bottom: $lineheight/4;
911 padding: $lineheight/2 $lineheight;
913 background: $offwhite;
914 border-bottom: 1px solid #ccc;
936 padding: 0 $lineheight $lineheight/2 $lineheight;
937 margin-top: $lineheight/2;
939 border-bottom: 1px solid #ddd;
943 /* Rules for the map key which appears in the popout sidebar */
946 .mapkey-table-key img {
952 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
956 /* Rules for search results which appear in the popout sidebar */
959 margin-top: $lineheight/4;
960 margin-bottom: $lineheight/4;
963 .search_results_entry {
972 .search_results_entry .search_searching {
974 margin: $lineheight auto;
979 ul.results-list li { border-bottom: 1px solid #ccc; }
981 .search_results_error {
985 /* Rules for data browser information which appears in the popout sidebar */
989 .browse_show_list.button {
1014 /* Rules for export information which appears in the popout sidebar */
1020 .export_area_inputs {
1021 margin-bottom: $lineheight/2;
1022 input[type="text"] {
1029 margin: $lineheight/4;
1032 /* Rules for the main content area */
1038 .site-edit #content,
1039 .site-index #content,
1040 .site-export #content {
1043 top: 30px; bottom: 0;
1044 left: 184px; right: 0;
1045 border-left: 1px solid #ccc;
1048 /* Overrides for pages that use new layout conventions */
1057 .user-new .content-heading {
1061 .new-user-illustration {
1062 background-position: 0 0;
1063 background-repeat: no-repeat;
1067 .new-user-illustration.new-user-main {
1072 background-image: image-url("sign-up-illustration.png");
1075 .new-user-illustration.new-user-arm {
1080 background-image: image-url("sign-up-illustration-arm.png");
1083 @media only screen and (max-width:770px) {
1084 .new-user-illustration.new-user-arm { display: none;}
1089 border-left: 1px solid #ccc;
1093 #content.maximised {
1106 #slim_container_content {
1108 background-color: #FFFFFF;
1109 margin: $lineheight/2 auto;
1111 border-radius: 25px;
1112 -moz-border-radius: 25px;
1113 border: 1px solid #e6e6e6;
1117 margin: $lineheight/2;
1122 margin-bottom: 15px;
1127 margin: 30px $lineheight/2;
1130 margin-right: $lineheight/4;
1132 vertical-align: middle;
1133 margin-bottom: $lineheight/4;
1134 margin-right: $lineheight/4;
1140 padding: $lineheight;
1141 background: $offwhite;
1144 margin-bottom: $lineheight/2;
1151 margin-top: $lineheight/2;
1156 /* Rules for small maps in content areas */
1162 border: 1px solid #ccc;
1163 margin-bottom: $lineheight;
1167 .content_map #small_map {
1170 margin-bottom: $lineheight;
1173 /* Rules for the changeset list shown by the history tab etc */
1178 padding: $lineheight/2 0;
1180 border-top: 1px solid #ccc;
1182 border-bottom: 1px solid #ccc;
1186 background: #FFFFC0;
1190 border-left: 1px solid #ccc;
1191 padding-left: $lineheight/4;
1192 margin-right: $lineheight/4;
1196 #changeset_list_map_wrapper {
1204 #changeset_list_map_wrapper.scrolled {
1208 #changeset_list_map {
1210 bottom: $lineheight;
1214 border: 1px solid #ccc;
1217 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1221 /* Rules for the data browser */
1224 border-top: 1px solid #ccc;
1225 margin-top: $lineheight/2;
1226 padding-top: $lineheight/2;
1231 background-color: #ffe0cc;
1237 margin-bottom: $lineheight/4;
1240 display: inline-block;
1241 vertical-align: top;
1251 display: inline-block;
1252 vertical-align: top;
1260 padding: $lineheight/4 0;
1262 text-overflow: ellipsis;
1273 #browse_map .geolink {
1277 #browse_map .secondary-actions {
1278 margin-bottom: $lineheight/2;
1281 /* Rules for the trace list shown by the traces tab etc */
1284 font-size: $lineheight/2;
1301 .trace_identifiable {
1314 /* Rules for the user profile page */
1319 .userinformation-inner {
1334 .admin-user-info small {
1335 margin-bottom: $lineheight/2;
1337 margin-right: $lineheight;
1342 border-bottom: 1px solid #ccc;
1343 padding-bottom: $lineheight;
1346 margin-bottom: $lineheight/2;
1351 margin-top: $lineheight;
1355 .activity-details p {
1360 #friends-container .contact-activity ul {
1365 p#no_home_location {
1366 margin: $lineheight;
1369 margin-top: $lineheight/4;
1374 /* Rules for the user map */
1376 .content_map .leaflet-popup-content {
1377 margin: $lineheight/2;
1381 /* Rules for user popups on maps */
1387 margin-top: 0 0 0 60px;
1390 img.user_thumbnail {
1392 margin: 0 $lineheight/2 0 0;
1396 /* Rules for the user list */
1399 font-size: $lineheight/2;
1403 vertical-align: middle;
1412 #user_list_actions {
1414 margin-top: $lineheight/2;
1417 /* Rules for the diary list page */
1419 .diary_entry-list img.user_thumbnail {
1426 margin-top: $lineheight/2;
1427 padding-top: $lineheight;
1428 border-top: 1px solid #ccc;
1443 ul.secondary-actions { display: inline-block;}
1446 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1450 #content .post_heading {
1451 margin-bottom: $lineheight;
1454 margin-bottom: $lineheight/2;
1459 /* Rules for the diary entry page */
1466 border: 1px solid #ccc;
1468 margin-bottom: $lineheight;
1471 border-top: 1px solid #ccc;
1472 padding-top: $lineheight;
1473 margin-top: $lineheight/2;
1479 margin-top: $lineheight/2;
1480 border-top: 1px dashed #ccc;
1481 padding-top: $lineheight/2;
1483 margin-top: $lineheight;
1484 padding-top: $lineheight;
1485 border-top: 1px solid #ccc;
1488 margin-bottom: $lineheight/2;
1497 .diary_entry-view img.user_thumbnail {
1501 /* Rules for the log in page */
1503 #login_openid_buttons {
1507 #login_openid_buttons li {
1509 padding: $lineheight/4 $lineheight/2;
1512 /* Rules for the account confirmation page */
1516 border: 1px solid #ccc;
1517 padding: $lineheight;
1518 margin-bottom: $lineheight;
1532 margin: $lineheight auto inherit auto;
1537 input[type=submit] {
1543 background: darken($grey, $hovercolor);
1548 margin-bottom: $lineheight;
1550 #contributorGuidance {
1551 background-color: $offwhite;
1553 -moz-border-radius: 4px;
1560 /* Rules for the account settings page */
1562 #accountForm .user_map {
1566 border: 1px solid #ccc;
1569 #accountForm .user_image {
1573 #accountForm #user_image {
1577 #accountForm ul.accountImage-options {
1590 display: inline !important;
1593 .content_map.settings_map {
1598 /* Rules for the oauth settings page */
1600 .oauth_clients .buttons .oauth-edit {
1601 border-radius: 2px 0 0 2px;
1604 .oauth_clients .buttons .oauth-delete {
1605 border-radius: 0 2px 2px 0;
1608 /* Rules for messages pages */
1612 border: 1px solid #ddd;
1614 input[type="submit"] {
1618 border-top: 1px solid #ccc;
1622 background: #f8f8ff;
1635 padding: $lineheight/4;
1646 border-right: 1px solid $lightgrey;
1650 .inbox-row .inbox-mark-read {
1655 margin-bottom: $lineheight;
1656 padding: $lineheight/4 0px 4px 0px;
1657 border-bottom: 1px solid #ccc;
1664 .info-line .user_thumbnail_tiny {
1665 vertical-align: middle;
1674 .inbox-row-unread .inbox-mark-unread {
1678 .message-read .message-buttons {
1679 margin-top: $lineheight;
1680 padding-top: $lineheight;
1681 border-top: 1px solid $lightgrey;
1684 .message-read .buttons .mark-unread-button {
1688 /* Rules for "flash" notice boxes shown at the top of the content area */
1691 padding: $lineheight;
1693 background-color: #ff7070;
1696 background-color: #ffe0cc;
1699 background-color: #CBEEA7;
1703 /* Rules for highlighting fields with rails validation errors */
1705 .field_with_errors {
1707 background-color: #ff7070;
1711 /* Rules for rails validation error boxes */
1715 border: 2px solid #ff7070;
1716 padding: 0 $lineheight/2;
1717 margin-bottom: $lineheight;
1718 background-color: #f0f0f0;
1721 margin: 0 -10px 10px -10px;
1722 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1725 background-color: #c00;
1733 padding: $lineheight/4;
1737 padding-left: $lineheight;
1746 /* Rules for forms */
1750 margin-bottom: $lineheight;
1752 label.standard-label {
1754 margin-bottom: $lineheight/4;
1755 font-size: $typeheight;
1759 label.standard-label.secondary {
1760 display: inline-block;
1761 font-weight: normal;
1764 font-weight: normal;
1771 margin-top: $lineheight;
1772 padding-top: $lineheight;
1773 border-top: 1px solid $lightgrey;
1776 margin-bottom: $lineheight/2;
1784 input[type="checkbox"],
1785 input[type="radio"] {
1791 #remember_me_openid {
1795 input[type="checkbox"],
1796 input[type="radio"] {
1801 input[type="email"],
1803 input[type="password"],
1805 border: 1px solid #ccc;
1816 /* Rules for user images */
1821 border: 1px solid #ccc;
1822 margin-bottom: $lineheight;
1824 margin-right: $lineheight;
1827 img.user_thumbnail {
1830 border: 1px solid #ccc;
1831 margin-right: $lineheight;
1834 img.user_thumbnail_tiny {
1837 border: 1px solid #ccc;
1840 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1843 white-space: nowrap;
1846 /* Rules for geo microformats */
1849 border-bottom: none;
1852 /* Rules for RSS buttons */
1859 /* General styles for action lists / subnavs / pager navs */
1861 ul.secondary-actions {
1866 display: inline-block;
1873 border-left: 1px solid #ccc;
1874 padding-left: $lineheight/4;
1875 margin-right: $lineheight/4;
1886 /* Utility for managing inner content areas */
1888 .inner22 { padding: $lineheight;}
1890 .inner12 { padding: $lineheight/2 $lineheight;}
1892 .inner11 { padding: $lineheight/2;}
1894 .inner02 { padding: 0 $lineheight;}
1896 /* Utility for general button styles */
1898 input[type="button"],
1899 input[type="submit"],
1900 input[type="reset"],
1904 display: inline-block;
1906 padding: $lineheight/4 $lineheight/2;
1907 min-height: 20px + $lineheight/2;
1909 margin: 0 0 $lineheight/2 0;
1914 -moz-border-radius: 2px;
1916 background: darken($blue, $hovercolor);
1917 text-decoration: none;
1920 background: $lightblue;
1922 background: darken($lightblue, $hovercolor);
1926 background: $lightgrey;
1928 background: $lightgrey;
1938 input[type="submit"],
1939 input[type="button"],
1940 input[type="reset"],
1942 box-sizing: border-box;
1948 border-right:1px solid white;
1949 text-overflow: ellipsis;
1950 white-space: nowrap;
1954 .button:first-child {
1955 border-radius:2px 0 0 2px;
1958 .button:last-child {
1959 border-radius:0 2px 2px 0;
1960 border-right-width: 0;
1964 *[value="Hide"] + input:last-child,
1965 *[value="Hide"] + .button:last-child {
1967 border-right-width: 0;
1969 /* if a 3-button set has a hidden middle button */
1970 *[value="Hide"] + input:nth-child(3),
1971 *[value="Hide"] + .button:nth-child(3) {
1972 border-radius:0 2px 2px 0;
1973 border-right-width: 0;
1975 /* if a 3-button set starts with a hidden button */
1976 *[value="Hide"] + input:nth-child(2):not(:last-child),
1977 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1978 border-radius:2px 0 0 2px;
1979 border-right-width: 1px solid white;
1983 /* Rules for doing distinct colour of alternate table rows */
1987 background: $offwhite;
1995 /* Rules for OpenID logo */
1998 vertical-align: text-bottom;
2002 /* Rules for rich text */
2007 padding-bottom: $lineheight/2;
2008 border-bottom: 1px dashed #cccccc;
2009 margin-bottom: $lineheight/2;
2021 font-size: $typeheight;
2026 background: #e8e8e8;
2032 background: #e8e8e8;
2041 padding: $lineheight;
2042 background-color: $offwhite;
2049 border-left: $lineheight solid $offwhite;
2050 padding-left: $lineheight;
2056 padding-left: $lineheight;
2057 margin-bottom: $lineheight;
2058 margin-left: $lineheight;
2066 list-style: decimal;
2070 .diary_post .richtext {
2071 margin-top: $lineheight;
2074 .comments .richtext {
2079 /* Rules for rich text editors */
2081 .richtext_container {
2082 margin-bottom: $lineheight;
2086 display: inline-block;
2087 vertical-align: top;
2090 display: inline-block;
2091 padding: $lineheight;
2092 background-color: $offwhite;
2096 background-image: image-url("loading.gif");
2097 background-repeat: no-repeat;
2098 background-position: center;
2108 display: inline-block;
2109 vertical-align: top;
2111 background-color: #f8f8ff;
2112 padding: $lineheight/2;
2120 border-bottom: 1px solid #ccc;
2121 margin-bottom: $lineheight/4;
2122 padding-bottom: $lineheight/4;
2125 li h4, li span, li p {
2126 display: inline-block;
2127 vertical-align: top;
2138 margin-left: $lineheight/2;
2139 margin-bottom: $lineheight/4;
2140 white-space: nowrap;
2145 /* Rules for the user notes list */
2149 background-color: #eeeeee;
2161 /* Rules for the notes interface */
2163 .leaflet-popup-content .note {
2164 padding-top: $lineheight/2;
2167 .leaflet-popup-content .note {
2169 margin-bottom: $lineheight/2;
2173 margin-top: $lineheight/2;
2179 left: $lineheight/4;
2186 padding-left: $lineheight;
2189 .permalink:hover span {
2195 background-color: #ffe0cc;
2197 margin-bottom: $lineheight/2;
2216 margin-top: $lineheight/4;
2222 * Rules for the iD editor
2232 display: inline-block;
2237 background-color: #eee;
2238 border-bottom: 1px solid #ccc;
2253 /* Rules for rotating sidebar ads */
2259 border-bottom: 1px solid #ccc;
2268 /* Rules for the "Welcome" page */
2279 background-image: image-url("welcome-sprite.png");
2280 background-size: 500px 250px;
2281 display: inline-block;
2290 background-position: -50px 0;
2295 vertical-align: middle;
2299 background-position: -100px 0;
2303 background-position: -150px 0;
2307 background-position: -200px 0;
2311 background-position: -250px 0;
2315 background-position: -300px 0;
2319 background: #EB6F67;
2325 border-bottom: 1px solid #A53931;
2328 text-decoration: none;
2332 background-color: $offwhite;