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 */
1033 padding: $lineheight;
1036 .site-edit #content,
1037 .site-index #content,
1038 .site-export #content {
1041 top: 30px; bottom: 0;
1042 left: 184px; right: 0;
1043 border-left: 1px solid #ccc;
1046 /* Overrides for pages that use new layout conventions */
1075 .header-illustration {
1076 background-position: 0 0;
1077 background-repeat: no-repeat;
1085 background-image: image-url("sign-up-illustration.png");
1089 background-image: image-url("confirm-illustration.png");
1093 background-image: image-url("terms-illustration.png");
1101 background-image: image-url("sign-up-illustration-arm.png");
1105 @media only screen and (max-width:900px) {
1106 .header-illustration.new-user-arm { display: none;}
1111 border-left: 1px solid #ccc;
1115 #content.maximised {
1128 #slim_container_content {
1130 background-color: #FFFFFF;
1131 margin: $lineheight/2 auto;
1133 border-radius: 25px;
1134 -moz-border-radius: 25px;
1135 border: 1px solid #e6e6e6;
1139 margin: $lineheight/2;
1144 margin-bottom: 15px;
1149 margin: 30px $lineheight/2;
1152 margin-right: $lineheight/4;
1154 vertical-align: middle;
1155 margin-bottom: $lineheight/4;
1156 margin-right: $lineheight/4;
1162 padding: $lineheight;
1163 background: $offwhite;
1166 margin-bottom: $lineheight/2;
1173 margin-top: $lineheight/2;
1178 /* Rules for small maps in content areas */
1184 border: 1px solid #ccc;
1185 margin-bottom: $lineheight;
1189 .content_map #small_map {
1192 margin-bottom: $lineheight;
1195 /* Rules for the changeset list shown by the history tab etc */
1200 padding: $lineheight/2 0;
1202 border-top: 1px solid #ccc;
1204 border-bottom: 1px solid #ccc;
1208 background: #FFFFC0;
1212 border-left: 1px solid #ccc;
1213 padding-left: $lineheight/4;
1214 margin-right: $lineheight/4;
1218 #changeset_list_map_wrapper {
1226 #changeset_list_map_wrapper.scrolled {
1230 #changeset_list_map {
1232 bottom: $lineheight;
1236 border: 1px solid #ccc;
1239 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1243 /* Rules for the data browser */
1246 border-top: 1px solid #ccc;
1247 margin-top: $lineheight/2;
1248 padding-top: $lineheight/2;
1253 background-color: #ffe0cc;
1259 margin-bottom: $lineheight/4;
1262 display: inline-block;
1263 vertical-align: top;
1273 display: inline-block;
1274 vertical-align: top;
1282 padding: $lineheight/4 0;
1284 text-overflow: ellipsis;
1295 #browse_map .geolink {
1299 #browse_map .secondary-actions {
1300 margin-bottom: $lineheight/2;
1303 /* Rules for the trace list shown by the traces tab etc */
1306 font-size: $lineheight/2;
1323 .trace_identifiable {
1336 /* Rules for the user profile page */
1341 .userinformation-inner {
1356 .admin-user-info small {
1357 margin-bottom: $lineheight/2;
1359 margin-right: $lineheight;
1364 border-bottom: 1px solid #ccc;
1365 padding-bottom: $lineheight;
1368 margin-bottom: $lineheight/2;
1373 margin-top: $lineheight;
1377 .activity-details p {
1382 #friends-container .contact-activity ul {
1387 p#no_home_location {
1388 margin: $lineheight;
1391 margin-top: $lineheight/4;
1396 /* Rules for the user map */
1398 .content_map .leaflet-popup-content {
1399 margin: $lineheight/2;
1403 /* Rules for user popups on maps */
1409 margin-top: 0 0 0 60px;
1412 img.user_thumbnail {
1414 margin: 0 $lineheight/2 0 0;
1418 /* Rules for the user list */
1421 font-size: $lineheight/2;
1425 vertical-align: middle;
1434 #user_list_actions {
1436 margin-top: $lineheight/2;
1439 /* Rules for the diary list page */
1441 .diary_entry-list img.user_thumbnail {
1448 margin-top: $lineheight/2;
1449 padding-top: $lineheight;
1450 border-top: 1px solid #ccc;
1465 ul.secondary-actions { display: inline-block;}
1468 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1472 #content .post_heading {
1473 margin-bottom: $lineheight;
1476 margin-bottom: $lineheight/2;
1481 /* Rules for the diary entry page */
1488 border: 1px solid #ccc;
1490 margin-bottom: $lineheight;
1493 border-top: 1px solid #ccc;
1494 padding-top: $lineheight;
1495 margin-top: $lineheight/2;
1501 margin-top: $lineheight/2;
1502 border-top: 1px dashed #ccc;
1503 padding-top: $lineheight/2;
1505 margin-top: $lineheight;
1506 padding-top: $lineheight;
1507 border-top: 1px solid #ccc;
1510 margin-bottom: $lineheight/2;
1519 .diary_entry-view img.user_thumbnail {
1523 /* Rules for the log in page */
1525 #login_openid_buttons {
1529 #login_openid_buttons li {
1531 padding: $lineheight/4 $lineheight/2;
1534 /* Rules for the account confirmation page */
1538 border: 1px solid #ccc;
1539 padding: $lineheight;
1540 margin-bottom: $lineheight;
1554 margin: $lineheight auto inherit auto;
1559 background: $lightblue;
1561 background: darken($lightblue, $hovercolor);
1571 /* Rules for the account settings page */
1573 #accountForm .user_map {
1577 border: 1px solid #ccc;
1580 #accountForm .user_image {
1584 #accountForm #user_image {
1588 #accountForm ul.accountImage-options {
1601 display: inline !important;
1604 .content_map.settings_map {
1609 /* Rules for the oauth settings page */
1611 .oauth_clients .buttons .oauth-edit {
1612 border-radius: 2px 0 0 2px;
1615 .oauth_clients .buttons .oauth-delete {
1616 border-radius: 0 2px 2px 0;
1619 /* Rules for messages pages */
1623 border: 1px solid #ddd;
1625 input[type="submit"] {
1629 border-top: 1px solid #ccc;
1633 background: #f8f8ff;
1646 padding: $lineheight/4;
1657 border-right: 1px solid $lightgrey;
1661 .inbox-row .inbox-mark-read {
1666 margin-bottom: $lineheight;
1667 padding: $lineheight/4 0px 4px 0px;
1668 border-bottom: 1px solid #ccc;
1675 .info-line .user_thumbnail_tiny {
1676 vertical-align: middle;
1685 .inbox-row-unread .inbox-mark-unread {
1689 .message-read .message-buttons {
1690 margin-top: $lineheight;
1691 padding-top: $lineheight;
1692 border-top: 1px solid $lightgrey;
1695 .message-read .buttons .mark-unread-button {
1699 /* Rules for "flash" notice boxes shown at the top of the content area */
1702 padding: $lineheight;
1704 background-color: #ff7070;
1707 background-color: #ffe0cc;
1710 background-color: #CBEEA7;
1714 /* Rules for highlighting fields with rails validation errors */
1716 .field_with_errors {
1718 background-color: #ff7070;
1719 display: inline-block;
1723 display: inline-block;
1729 background-color: #ff7070;
1732 /* Rules for rails validation error boxes */
1736 border: 2px solid #ff7070;
1737 padding: 0 $lineheight/2;
1738 margin-bottom: $lineheight;
1739 background-color: #f0f0f0;
1742 margin: 0 -10px 10px -10px;
1743 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1746 background-color: #c00;
1754 padding: $lineheight/4;
1758 padding-left: $lineheight;
1767 /* Rules for forms */
1771 margin-bottom: $lineheight;
1773 label.standard-label {
1775 margin-bottom: $lineheight/4;
1776 font-size: $typeheight;
1780 label.standard-label.secondary {
1781 display: inline-block;
1782 font-weight: normal;
1785 font-weight: normal;
1792 margin-top: $lineheight;
1793 padding-top: $lineheight;
1794 border-top: 1px solid $lightgrey;
1796 .horizontal-list .form-row {
1798 padding-right: 10px;
1801 margin-bottom: $lineheight/2;
1809 input[type="checkbox"],
1810 input[type="radio"] {
1816 #remember_me_openid {
1820 input[type="checkbox"],
1821 input[type="radio"] {
1826 input[type="email"],
1828 input[type="password"],
1830 border: 1px solid #ccc;
1841 /* Rules for user images */
1846 border: 1px solid #ccc;
1847 margin-bottom: $lineheight;
1849 margin-right: $lineheight;
1852 img.user_thumbnail {
1855 border: 1px solid #ccc;
1856 margin-right: $lineheight;
1859 img.user_thumbnail_tiny {
1862 border: 1px solid #ccc;
1865 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1868 white-space: nowrap;
1871 /* Rules for geo microformats */
1874 border-bottom: none;
1877 /* Rules for RSS buttons */
1884 /* General styles for action lists / subnavs / pager navs */
1886 ul.secondary-actions {
1891 display: inline-block;
1898 border-left: 1px solid #ccc;
1899 padding-left: $lineheight/4;
1900 margin-right: $lineheight/4;
1911 /* Utility for managing inner content areas */
1913 .inner22 { padding: $lineheight;}
1915 .inner12 { padding: $lineheight/2 $lineheight;}
1917 .inner11 { padding: $lineheight/2;}
1919 .inner20 { padding: $lineheight 0;}
1921 .inner02 { padding: 0 $lineheight;}
1923 /* Utility for general button styles */
1925 input[type="button"],
1926 input[type="submit"],
1927 input[type="reset"],
1931 display: inline-block;
1933 padding: $lineheight/4 $lineheight/2;
1934 min-height: 20px + $lineheight/2;
1936 margin: 0 0 $lineheight/2 0;
1941 -moz-border-radius: 2px;
1943 background: darken($blue, $hovercolor);
1944 text-decoration: none;
1947 background: $lightblue;
1949 background: darken($lightblue, $hovercolor);
1953 background: $lightgrey;
1955 background: $lightgrey;
1965 input[type="submit"],
1966 input[type="button"],
1967 input[type="reset"],
1969 box-sizing: border-box;
1975 border-right:1px solid white;
1976 text-overflow: ellipsis;
1977 white-space: nowrap;
1981 .button:first-child {
1982 border-radius:2px 0 0 2px;
1985 .button:last-child {
1986 border-radius:0 2px 2px 0;
1987 border-right-width: 0;
1991 *[value="Hide"] + input:last-child,
1992 *[value="Hide"] + .button:last-child {
1994 border-right-width: 0;
1996 /* if a 3-button set has a hidden middle button */
1997 *[value="Hide"] + input:nth-child(3),
1998 *[value="Hide"] + .button:nth-child(3) {
1999 border-radius:0 2px 2px 0;
2000 border-right-width: 0;
2002 /* if a 3-button set starts with a hidden button */
2003 *[value="Hide"] + input:nth-child(2):not(:last-child),
2004 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2005 border-radius:2px 0 0 2px;
2006 border-right-width: 1px solid white;
2010 /* Rules for doing distinct colour of alternate table rows */
2014 background: $offwhite;
2022 /* Rules for OpenID logo */
2025 vertical-align: text-bottom;
2029 /* Rules for rich text */
2034 padding-bottom: $lineheight/2;
2035 border-bottom: 1px dashed #cccccc;
2036 margin-bottom: $lineheight/2;
2048 font-size: $typeheight;
2053 background: #e8e8e8;
2059 background: #e8e8e8;
2068 padding: $lineheight;
2069 background-color: $offwhite;
2076 border-left: $lineheight solid $offwhite;
2077 padding-left: $lineheight;
2083 padding-left: $lineheight;
2084 margin-bottom: $lineheight;
2085 margin-left: $lineheight;
2093 list-style: decimal;
2097 .diary_post .richtext {
2098 margin-top: $lineheight;
2101 .comments .richtext {
2106 /* Rules for rich text editors */
2108 .richtext_container {
2109 margin-bottom: $lineheight;
2113 display: inline-block;
2114 vertical-align: top;
2117 display: inline-block;
2118 padding: $lineheight;
2119 background-color: $offwhite;
2123 background-image: image-url("loading.gif");
2124 background-repeat: no-repeat;
2125 background-position: center;
2135 display: inline-block;
2136 vertical-align: top;
2138 background-color: #f8f8ff;
2139 padding: $lineheight/2;
2147 border-bottom: 1px solid #ccc;
2148 margin-bottom: $lineheight/4;
2149 padding-bottom: $lineheight/4;
2152 li h4, li span, li p {
2153 display: inline-block;
2154 vertical-align: top;
2165 margin-left: $lineheight/2;
2166 margin-bottom: $lineheight/4;
2167 white-space: nowrap;
2172 /* Rules for the user notes list */
2176 background-color: #eeeeee;
2188 /* Rules for the notes interface */
2190 .leaflet-popup-content .note {
2191 padding-top: $lineheight/2;
2194 .leaflet-popup-content .note {
2196 margin-bottom: $lineheight/2;
2200 margin-top: $lineheight/2;
2206 left: $lineheight/4;
2213 padding-left: $lineheight;
2216 .permalink:hover span {
2222 background-color: #ffe0cc;
2224 margin-bottom: $lineheight/2;
2243 margin-top: $lineheight/4;
2249 * Rules for the iD editor
2259 display: inline-block;
2264 background-color: #eee;
2265 border-bottom: 1px solid #ccc;
2280 /* Rules for rotating sidebar ads */
2286 border-bottom: 1px solid #ccc;
2295 /* Rules for the "Welcome" page */
2306 background-image: image-url("welcome-sprite.png");
2307 background-size: 500px 250px;
2313 padding-bottom: 20px;
2315 margin-bottom: 10px;
2327 background-position: -50px 0;
2332 vertical-align: middle;
2336 background-position: -100px 0;
2340 background-position: -150px 0;
2344 background-position: -200px 0;
2348 background-position: -250px 0;
2352 background-position: -300px 0;
2361 text-decoration: none;
2366 background-color: $offwhite;
2370 background-color: #333;