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 .fillL { background-color: white; }
91 /* Default rules for the body of every page */
94 -moz-box-sizing: border-box;
95 -webkit-box-sizing: border-box;
96 box-sizing: border-box;
100 font-family: 'Helvetica Neue',Arial,sans-serif;
101 font-size: $typeheight;
104 background-color: #fff;
111 background-color: #f0f0f0;
115 margin-top: $lineheight/2;
116 margin-bottom: $lineheight;
131 margin-top: $lineheight/2;
132 margin-bottom: $lineheight;
136 font-size: $typeheight;
137 margin-top: $lineheight/2;
138 margin-bottom: $lineheight/2;
144 margin-bottom: $lineheight;
167 margin: 0 0 $lineheight/2 0;
171 vertical-align: middle;
172 margin-right: $lineheight/4;
175 /* Rules for icons */
178 display:inline-block;
182 background:transparent image-url("sprite.png") no-repeat 0 0;
191 .icon.search { background-position: 0 0; }
192 .icon.donate { background-position: -20px 0; }
193 .icon.zoomin { background-position: -40px 0; }
194 .icon.zoomout { background-position: -60px 0; }
195 .icon.geolocate { background-position: -80px 0; }
196 .active .icon.geolocate { background-position: -80px -20px; }
197 .icon.layers { background-position: -100px 0; }
198 .icon.key { background-position: -120px 0; }
199 .icon.share { background-position: -140px 0; }
200 .icon.clipboard { background-position: -160px 0; }
201 .icon.link { background-position: -180px 0; }
202 .icon.close { background-position: -200px 0; }
203 .icon.check { background-position: -220px 0; }
204 .icon.note { background-position: -240px 0; }
206 /* Rules for links */
210 text-decoration: none;
212 text-decoration: underline;
216 /* Rules for horizontal lines */
220 background-color: #ccc;
225 /* General styles for tables */
229 margin-bottom: $lineheight;
232 padding: $lineheight/4;
233 line-height: $lineheight;
240 vertical-align: middle;
244 /* Rules for the whole left sidebar, including the logo */
253 border-right: 1px solid #ccc;
256 /* Rules for the OpenStreetMap logo in the top left corner */
262 padding: $lineheight $lineheight/4;
275 font-size: $lineheight/2;
280 /* Rules for the site name */
286 vertical-align: text-bottom;
290 /* Rules for the introductory text displayed in the left sidebar to new users */
293 padding: $lineheight/4 $lineheight/2;
295 margin: $lineheight/4 0;
298 .sidebar-copy.intro {
299 border-top: 1px solid #ccc;
303 * Rules for alert boxes shown in the left sidebar when important
304 * information needs to be conveyed such as when the site is
305 * undergoing maintenance.
309 padding: $lineheight/4;
310 border-top: 1px solid #ccc;
317 margin: $lineheight/4;
322 * Rules for notice boxes shown in the left sidebar when important, but
323 * non-critical information needs to be conveyed such as notices about
328 padding: $lineheight/4;
329 border-top: 1px solid #ccc;
335 margin: $lineheight/4;
339 /* Rules for the menu displayed in the left sidebar */
344 padding: $lineheight/4 $lineheight/2 $lineheight/2 $lineheight/2;
347 list-style-type: none;
348 border-bottom: 1px solid #ccc;
349 border-top: 1px solid #ccc;
351 margin: $lineheight/2 0px;
360 list-style-type: none;
366 padding: $lineheight/4 0 $lineheight/4 0;
373 * Rules for "optional boxes" which appear in the left sidebar on
374 * certain pages. Current users are the seach box on the main page
375 * and the tag cloud on the traces pages.
380 padding: $lineheight/4 $lineheight/2;
381 margin: $lineheight/4 0;
385 /* Rules for the search box */
397 font-size: $typeheight;
400 padding: 2px 0px 2px $lineheight/4;
401 box-shadow: inset #DDD 0px 1px 3px;
404 input[type="text"]:focus {
406 border: 1px solid #000;
409 input[type="submit"] {
416 text-indent: -1000px;
418 background: image-url("sprite.png") -2px -2px no-repeat;
421 right: $lineheight/4;
427 margin: $lineheight/4 0 0 0;
430 /* Utility for de-emphasizing content */
439 /* Rules for donation request box */
444 padding: $lineheight/4;
445 border: 1px solid #AED1A0;
447 font-size: $typeheight;
452 margin: $lineheight/2 $lineheight/2 0px $lineheight/2;
456 text-decoration: none;
460 /* Rules for Creative Commons logo button */
463 margin: $lineheight/2 0;
467 /* Rules for tabbed navigation bar */
473 border-bottom: 1px solid #ccc;
479 .site-index #top-bar,
480 .site-export #top-bar {
494 a, a:link, a:visited {
497 padding: 3px $lineheight/2;
498 text-decoration: none;
502 -webkit-transition: color 200ms ease-in;
503 -moz-transition: color 200ms ease-in;
504 -o-transition: color 200ms ease-in;
505 transition: color 200ms ease-in;
509 .site-index #tabnav a#viewanchor,
510 .site-edit #tabnav a#editanchor,
511 .changeset-list #tabnav a#historyanchor {
512 border-bottom: 1px solid #aaa;
517 #tabnav a:link:hover, #tabnav a:visited:hover {
518 text-decoration: underline;
521 #tabnav a:link.disabled,
522 #tabnav a:visited.disabled,
523 #tabnav a:link:hover.disabled,
524 #tabnav a:visited:hover.disabled {
528 text-decoration: none;
532 /* Utility for styling notification numbers */
535 padding: 2px $lineheight/4;
543 /* Rules for greeting bar in the top right corner */
548 margin-right: $lineheight/4;
551 .greeting-bar-unread {
555 /* Rules for the message shown in place of the map when javascript is disabled */
564 /* Rules for bootstrap tooltips */
602 display: inline-block;
605 background-color: white;
612 border-color: transparent;
616 .tooltip.top .tooltip-arrow {
620 border-top-color: white;
621 border-width: 5px 5px 0;
624 .tooltip.right .tooltip-arrow {
628 border-right-color: white;
629 border-width: 5px 5px 5px 0;
632 .tooltip.left .tooltip-arrow {
636 border-left-color: white;
637 border-width: 5px 0 5px 5px;
640 .tooltip.bottom .tooltip-arrow {
644 border-bottom-color: white;
645 border-width: 0 5px 5px;
648 /* Rules for Leaflet maps */
650 .leaflet-control .control-button {
654 background-color: #333;
655 background-color: rgba(0,0,0,.6);
656 -bottom: 1px solid #333;
657 border-radius: 4px 0 0 4px;
662 background-color: black;
666 background-color: #9ed485;
670 background-color: #333;
671 background-color: rgba(0,0,0,.5);
680 .leaflet-control .zoomin,
681 .control-layers .control-button {
683 border-radius: 4px 0 0 0;
686 .site .leaflet-control .zoomout,
687 .control-key .control-button {
692 .leaflet-control .zoomout, // For non-main page maps
693 .control-locate .control-button,
694 .control-share .control-button {
695 border-radius: 0 0 0 4px;
698 /* Rules for the home page */
714 border-left: 1px solid #CCC;
718 border-bottom: 1px solid #DDD;
728 border:1px solid #ddd;
734 ul, li:last-child, p:last-child {
748 padding: 5px 5px 5px 7px;
749 background-color: #eee;
754 background-color: #ccc;
772 text-decoration: none;
773 background-color: $lightblue;
778 border-right: 1px solid #fff;
779 border-radius: 4px 0 0 4px;
783 border-left: 1px solid #fff;
784 border-radius: 0 4px 4px 0;
788 background-color: $blue;
800 font-family: monospace;
821 .leaflet-top.leaflet-right {
822 top: $lineheight/2 !important;
824 margin-right: 0px !important;
825 margin-top: 0px !important;
829 .leaflet-popup-scrolled {
830 padding-right: $lineheight;
831 border-bottom: 0px !important;
832 border-top: 0px !important;
835 .leaflet-popup-content-wrapper {
836 border-radius: 4px !important;
837 -webkit-border-radius: 4px !important;
840 /* Rules for edit menu */
843 padding: 0 $lineheight/4;
845 display: inline-block;
847 text-decoration: none !important;
855 background-color: #ffffff;
856 border: 1px solid $lightgrey;
862 padding: 2px $lineheight/4;
863 border-top: 1px solid #eee;
868 /* Rules for attribution text under the main map shown on printouts */
874 .attribution_license,
875 .attribution_project {
879 .attribution_notice {
883 /* Rules for the popout map sidebar */
889 border-right: 1px solid $lightgrey;
895 border-bottom: 1px solid #ccc;
898 margin-bottom: $lineheight/4;
908 padding: $lineheight/2 $lineheight;
910 background: $offwhite;
911 border-bottom: 1px solid #ccc;
933 padding: 0 $lineheight $lineheight/2 $lineheight;
934 margin-top: $lineheight/2;
936 border-bottom: 1px solid #ddd;
940 /* Rules for the map key which appears in the popout sidebar */
943 .mapkey-table-key img {
949 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
953 /* Rules for search results which appear in the popout sidebar */
956 margin-top: $lineheight/4;
957 margin-bottom: $lineheight/4;
960 .search_results_entry {
969 .search_results_entry .search_searching {
971 margin: $lineheight auto;
976 ul.results-list li { border-bottom: 1px solid #ccc; }
978 .search_results_error {
982 /* Rules for data browser information which appears in the popout sidebar */
986 .browse_show_list.button {
1011 /* Rules for export information which appears in the popout sidebar */
1017 .export_area_inputs {
1018 margin-bottom: $lineheight/2;
1019 input[type="text"] {
1026 margin: $lineheight/4;
1029 /* Rules for the main content area */
1035 .site-edit #content,
1036 .site-index #content,
1037 .site-export #content {
1040 top: 30px; bottom: 0;
1041 left: 184px; right: 0;
1042 border-left: 1px solid #ccc;
1045 /* Overrides for pages that use new layout conventions */
1074 .header-illustration {
1075 background-position: 0 0;
1076 background-repeat: no-repeat;
1084 background-image: image-url("sign-up-illustration.png");
1088 background-image: image-url("confirm-illustration.png");
1092 background-image: image-url("terms-illustration.png");
1100 background-image: image-url("sign-up-illustration-arm.png");
1104 @media only screen and (max-width:770px) {
1105 .header-illustration.new-user-arm { display: none;}
1110 border-left: 1px solid #ccc;
1114 #content.maximised {
1127 #slim_container_content {
1129 background-color: #FFFFFF;
1130 margin: $lineheight/2 auto;
1132 border-radius: 25px;
1133 -moz-border-radius: 25px;
1134 border: 1px solid #e6e6e6;
1138 margin: $lineheight/2;
1143 margin-bottom: 15px;
1148 margin: 30px $lineheight/2;
1151 margin-right: $lineheight/4;
1153 vertical-align: middle;
1154 margin-bottom: $lineheight/4;
1155 margin-right: $lineheight/4;
1161 padding: $lineheight;
1162 background: $offwhite;
1165 margin-bottom: $lineheight/2;
1172 margin-top: $lineheight/2;
1177 /* Rules for small maps in content areas */
1183 border: 1px solid #ccc;
1184 margin-bottom: $lineheight;
1188 .content_map #small_map {
1191 margin-bottom: $lineheight;
1194 /* Rules for the changeset list shown by the history tab etc */
1199 padding: $lineheight/2 0;
1201 border-top: 1px solid #ccc;
1203 border-bottom: 1px solid #ccc;
1207 background: #FFFFC0;
1211 border-left: 1px solid #ccc;
1212 padding-left: $lineheight/4;
1213 margin-right: $lineheight/4;
1217 #changeset_list_map_wrapper {
1225 #changeset_list_map_wrapper.scrolled {
1229 #changeset_list_map {
1231 bottom: $lineheight;
1235 border: 1px solid #ccc;
1238 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1242 /* Rules for the data browser */
1245 border-top: 1px solid #ccc;
1246 margin-top: $lineheight/2;
1247 padding-top: $lineheight/2;
1252 background-color: #ffe0cc;
1258 margin-bottom: $lineheight/4;
1261 display: inline-block;
1262 vertical-align: top;
1272 display: inline-block;
1273 vertical-align: top;
1281 padding: $lineheight/4 0;
1283 text-overflow: ellipsis;
1294 #browse_map .geolink {
1298 #browse_map .secondary-actions {
1299 margin-bottom: $lineheight/2;
1302 /* Rules for the trace list shown by the traces tab etc */
1305 font-size: $lineheight/2;
1322 .trace_identifiable {
1335 /* Rules for the user profile page */
1340 .userinformation-inner {
1355 .admin-user-info small {
1356 margin-bottom: $lineheight/2;
1358 margin-right: $lineheight;
1363 border-bottom: 1px solid #ccc;
1364 padding-bottom: $lineheight;
1367 margin-bottom: $lineheight/2;
1372 margin-top: $lineheight;
1376 .activity-details p {
1381 #friends-container .contact-activity ul {
1386 p#no_home_location {
1387 margin: $lineheight;
1390 margin-top: $lineheight/4;
1395 /* Rules for the user map */
1397 .content_map .leaflet-popup-content {
1398 margin: $lineheight/2;
1402 /* Rules for user popups on maps */
1408 margin-top: 0 0 0 60px;
1411 img.user_thumbnail {
1413 margin: 0 $lineheight/2 0 0;
1417 /* Rules for the user list */
1420 font-size: $lineheight/2;
1424 vertical-align: middle;
1433 #user_list_actions {
1435 margin-top: $lineheight/2;
1438 /* Rules for the diary list page */
1440 .diary_entry-list img.user_thumbnail {
1447 margin-top: $lineheight/2;
1448 padding-top: $lineheight;
1449 border-top: 1px solid #ccc;
1464 ul.secondary-actions { display: inline-block;}
1467 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1471 #content .post_heading {
1472 margin-bottom: $lineheight;
1475 margin-bottom: $lineheight/2;
1480 /* Rules for the diary entry page */
1487 border: 1px solid #ccc;
1489 margin-bottom: $lineheight;
1492 border-top: 1px solid #ccc;
1493 padding-top: $lineheight;
1494 margin-top: $lineheight/2;
1500 margin-top: $lineheight/2;
1501 border-top: 1px dashed #ccc;
1502 padding-top: $lineheight/2;
1504 margin-top: $lineheight;
1505 padding-top: $lineheight;
1506 border-top: 1px solid #ccc;
1509 margin-bottom: $lineheight/2;
1518 .diary_entry-view img.user_thumbnail {
1522 /* Rules for the log in page */
1524 #login_openid_buttons {
1528 #login_openid_buttons li {
1530 padding: $lineheight/4 $lineheight/2;
1533 /* Rules for the account confirmation page */
1537 border: 1px solid #ccc;
1538 padding: $lineheight;
1539 margin-bottom: $lineheight;
1553 margin: $lineheight auto inherit auto;
1558 background: $lightblue;
1560 background: darken($lightblue, $hovercolor);
1565 /* Rules for the account settings page */
1567 #accountForm .user_map {
1571 border: 1px solid #ccc;
1574 #accountForm .user_image {
1578 #accountForm #user_image {
1582 #accountForm ul.accountImage-options {
1595 display: inline !important;
1598 .content_map.settings_map {
1603 /* Rules for the oauth settings page */
1605 .oauth_clients .buttons .oauth-edit {
1606 border-radius: 2px 0 0 2px;
1609 .oauth_clients .buttons .oauth-delete {
1610 border-radius: 0 2px 2px 0;
1613 /* Rules for messages pages */
1617 border: 1px solid #ddd;
1619 input[type="submit"] {
1623 border-top: 1px solid #ccc;
1627 background: #f8f8ff;
1640 padding: $lineheight/4;
1651 border-right: 1px solid $lightgrey;
1655 .inbox-row .inbox-mark-read {
1660 margin-bottom: $lineheight;
1661 padding: $lineheight/4 0px 4px 0px;
1662 border-bottom: 1px solid #ccc;
1669 .info-line .user_thumbnail_tiny {
1670 vertical-align: middle;
1679 .inbox-row-unread .inbox-mark-unread {
1683 .message-read .message-buttons {
1684 margin-top: $lineheight;
1685 padding-top: $lineheight;
1686 border-top: 1px solid $lightgrey;
1689 .message-read .buttons .mark-unread-button {
1693 /* Rules for "flash" notice boxes shown at the top of the content area */
1696 padding: $lineheight;
1698 background-color: #ff7070;
1701 background-color: #ffe0cc;
1704 background-color: #CBEEA7;
1708 /* Rules for highlighting fields with rails validation errors */
1710 .field_with_errors {
1712 background-color: #ff7070;
1713 display: inline-block;
1717 display: inline-block;
1723 background-color: #ff7070;
1726 /* Rules for rails validation error boxes */
1730 border: 2px solid #ff7070;
1731 padding: 0 $lineheight/2;
1732 margin-bottom: $lineheight;
1733 background-color: #f0f0f0;
1736 margin: 0 -10px 10px -10px;
1737 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1740 background-color: #c00;
1748 padding: $lineheight/4;
1752 padding-left: $lineheight;
1761 /* Rules for forms */
1765 margin-bottom: $lineheight;
1767 label.standard-label {
1769 margin-bottom: $lineheight/4;
1770 font-size: $typeheight;
1774 label.standard-label.secondary {
1775 display: inline-block;
1776 font-weight: normal;
1779 font-weight: normal;
1786 margin-top: $lineheight;
1787 padding-top: $lineheight;
1788 border-top: 1px solid $lightgrey;
1790 .horizontal-list .form-row {
1792 padding-right: 10px;
1795 margin-bottom: $lineheight/2;
1803 input[type="checkbox"],
1804 input[type="radio"] {
1810 #remember_me_openid {
1814 input[type="checkbox"],
1815 input[type="radio"] {
1820 input[type="email"],
1822 input[type="password"],
1824 border: 1px solid #ccc;
1835 /* Rules for user images */
1840 border: 1px solid #ccc;
1841 margin-bottom: $lineheight;
1843 margin-right: $lineheight;
1846 img.user_thumbnail {
1849 border: 1px solid #ccc;
1850 margin-right: $lineheight;
1853 img.user_thumbnail_tiny {
1856 border: 1px solid #ccc;
1859 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1862 white-space: nowrap;
1865 /* Rules for geo microformats */
1868 border-bottom: none;
1871 /* Rules for RSS buttons */
1878 /* General styles for action lists / subnavs / pager navs */
1880 ul.secondary-actions {
1885 display: inline-block;
1892 border-left: 1px solid #ccc;
1893 padding-left: $lineheight/4;
1894 margin-right: $lineheight/4;
1905 /* Utility for managing inner content areas */
1907 .inner22 { padding: $lineheight;}
1909 .inner12 { padding: $lineheight/2 $lineheight;}
1911 .inner11 { padding: $lineheight/2;}
1913 .inner20 { padding: $lineheight 0;}
1915 .inner02 { padding: 0 $lineheight;}
1917 /* Utility for general button styles */
1919 input[type="button"],
1920 input[type="submit"],
1921 input[type="reset"],
1925 display: inline-block;
1927 padding: $lineheight/4 $lineheight/2;
1928 min-height: 20px + $lineheight/2;
1930 margin: 0 0 $lineheight/2 0;
1935 -moz-border-radius: 2px;
1937 background: darken($blue, $hovercolor);
1938 text-decoration: none;
1941 background: $lightblue;
1943 background: darken($lightblue, $hovercolor);
1947 background: $lightgrey;
1949 background: $lightgrey;
1959 input[type="submit"],
1960 input[type="button"],
1961 input[type="reset"],
1963 box-sizing: border-box;
1969 border-right:1px solid white;
1970 text-overflow: ellipsis;
1971 white-space: nowrap;
1975 .button:first-child {
1976 border-radius:2px 0 0 2px;
1979 .button:last-child {
1980 border-radius:0 2px 2px 0;
1981 border-right-width: 0;
1985 *[value="Hide"] + input:last-child,
1986 *[value="Hide"] + .button:last-child {
1988 border-right-width: 0;
1990 /* if a 3-button set has a hidden middle button */
1991 *[value="Hide"] + input:nth-child(3),
1992 *[value="Hide"] + .button:nth-child(3) {
1993 border-radius:0 2px 2px 0;
1994 border-right-width: 0;
1996 /* if a 3-button set starts with a hidden button */
1997 *[value="Hide"] + input:nth-child(2):not(:last-child),
1998 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1999 border-radius:2px 0 0 2px;
2000 border-right-width: 1px solid white;
2004 /* Rules for doing distinct colour of alternate table rows */
2008 background: $offwhite;
2016 /* Rules for OpenID logo */
2019 vertical-align: text-bottom;
2023 /* Rules for rich text */
2028 padding-bottom: $lineheight/2;
2029 border-bottom: 1px dashed #cccccc;
2030 margin-bottom: $lineheight/2;
2042 font-size: $typeheight;
2047 background: #e8e8e8;
2053 background: #e8e8e8;
2062 padding: $lineheight;
2063 background-color: $offwhite;
2070 border-left: $lineheight solid $offwhite;
2071 padding-left: $lineheight;
2077 padding-left: $lineheight;
2078 margin-bottom: $lineheight;
2079 margin-left: $lineheight;
2087 list-style: decimal;
2091 .diary_post .richtext {
2092 margin-top: $lineheight;
2095 .comments .richtext {
2100 /* Rules for rich text editors */
2102 .richtext_container {
2103 margin-bottom: $lineheight;
2107 display: inline-block;
2108 vertical-align: top;
2111 display: inline-block;
2112 padding: $lineheight;
2113 background-color: $offwhite;
2117 background-image: image-url("loading.gif");
2118 background-repeat: no-repeat;
2119 background-position: center;
2129 display: inline-block;
2130 vertical-align: top;
2132 background-color: #f8f8ff;
2133 padding: $lineheight/2;
2141 border-bottom: 1px solid #ccc;
2142 margin-bottom: $lineheight/4;
2143 padding-bottom: $lineheight/4;
2146 li h4, li span, li p {
2147 display: inline-block;
2148 vertical-align: top;
2159 margin-left: $lineheight/2;
2160 margin-bottom: $lineheight/4;
2161 white-space: nowrap;
2166 /* Rules for the user notes list */
2170 background-color: #eeeeee;
2182 /* Rules for the notes interface */
2184 .leaflet-popup-content .note {
2185 padding-top: $lineheight/2;
2188 .leaflet-popup-content .note {
2190 margin-bottom: $lineheight/2;
2194 margin-top: $lineheight/2;
2200 left: $lineheight/4;
2207 padding-left: $lineheight;
2210 .permalink:hover span {
2216 background-color: #ffe0cc;
2218 margin-bottom: $lineheight/2;
2237 margin-top: $lineheight/4;
2243 * Rules for the iD editor
2253 display: inline-block;
2258 background-color: #eee;
2259 border-bottom: 1px solid #ccc;
2274 /* Rules for rotating sidebar ads */
2280 border-bottom: 1px solid #ccc;
2289 /* Rules for the "Welcome" page */
2304 background-image: image-url("welcome-sprite.png");
2305 background-size: 500px 250px;
2311 padding-bottom: 20px;
2313 margin-bottom: 10px;
2325 background-position: -50px 0;
2330 vertical-align: middle;
2334 background-position: -100px 0;
2338 background-position: -150px 0;
2342 background-position: -200px 0;
2346 background-position: -250px 0;
2350 background-position: -300px 0;
2359 text-decoration: none;
2363 background-color: $offwhite;