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:770px) {
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);
1566 /* Rules for the account settings page */
1568 #accountForm .user_map {
1572 border: 1px solid #ccc;
1575 #accountForm .user_image {
1579 #accountForm #user_image {
1583 #accountForm ul.accountImage-options {
1596 display: inline !important;
1599 .content_map.settings_map {
1604 /* Rules for the oauth settings page */
1606 .oauth_clients .buttons .oauth-edit {
1607 border-radius: 2px 0 0 2px;
1610 .oauth_clients .buttons .oauth-delete {
1611 border-radius: 0 2px 2px 0;
1614 /* Rules for messages pages */
1618 border: 1px solid #ddd;
1620 input[type="submit"] {
1624 border-top: 1px solid #ccc;
1628 background: #f8f8ff;
1641 padding: $lineheight/4;
1652 border-right: 1px solid $lightgrey;
1656 .inbox-row .inbox-mark-read {
1661 margin-bottom: $lineheight;
1662 padding: $lineheight/4 0px 4px 0px;
1663 border-bottom: 1px solid #ccc;
1670 .info-line .user_thumbnail_tiny {
1671 vertical-align: middle;
1680 .inbox-row-unread .inbox-mark-unread {
1684 .message-read .message-buttons {
1685 margin-top: $lineheight;
1686 padding-top: $lineheight;
1687 border-top: 1px solid $lightgrey;
1690 .message-read .buttons .mark-unread-button {
1694 /* Rules for "flash" notice boxes shown at the top of the content area */
1697 padding: $lineheight;
1699 background-color: #ff7070;
1702 background-color: #ffe0cc;
1705 background-color: #CBEEA7;
1709 /* Rules for highlighting fields with rails validation errors */
1711 .field_with_errors {
1713 background-color: #ff7070;
1714 display: inline-block;
1718 display: inline-block;
1724 background-color: #ff7070;
1727 /* Rules for rails validation error boxes */
1731 border: 2px solid #ff7070;
1732 padding: 0 $lineheight/2;
1733 margin-bottom: $lineheight;
1734 background-color: #f0f0f0;
1737 margin: 0 -10px 10px -10px;
1738 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1741 background-color: #c00;
1749 padding: $lineheight/4;
1753 padding-left: $lineheight;
1762 /* Rules for forms */
1766 margin-bottom: $lineheight;
1768 label.standard-label {
1770 margin-bottom: $lineheight/4;
1771 font-size: $typeheight;
1775 label.standard-label.secondary {
1776 display: inline-block;
1777 font-weight: normal;
1780 font-weight: normal;
1787 margin-top: $lineheight;
1788 padding-top: $lineheight;
1789 border-top: 1px solid $lightgrey;
1791 .horizontal-list .form-row {
1793 padding-right: 10px;
1796 margin-bottom: $lineheight/2;
1804 input[type="checkbox"],
1805 input[type="radio"] {
1811 #remember_me_openid {
1815 input[type="checkbox"],
1816 input[type="radio"] {
1821 input[type="email"],
1823 input[type="password"],
1825 border: 1px solid #ccc;
1836 /* Rules for user images */
1841 border: 1px solid #ccc;
1842 margin-bottom: $lineheight;
1844 margin-right: $lineheight;
1847 img.user_thumbnail {
1850 border: 1px solid #ccc;
1851 margin-right: $lineheight;
1854 img.user_thumbnail_tiny {
1857 border: 1px solid #ccc;
1860 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1863 white-space: nowrap;
1866 /* Rules for geo microformats */
1869 border-bottom: none;
1872 /* Rules for RSS buttons */
1879 /* General styles for action lists / subnavs / pager navs */
1881 ul.secondary-actions {
1886 display: inline-block;
1893 border-left: 1px solid #ccc;
1894 padding-left: $lineheight/4;
1895 margin-right: $lineheight/4;
1906 /* Utility for managing inner content areas */
1908 .inner22 { padding: $lineheight;}
1910 .inner12 { padding: $lineheight/2 $lineheight;}
1912 .inner11 { padding: $lineheight/2;}
1914 .inner20 { padding: $lineheight 0;}
1916 .inner02 { padding: 0 $lineheight;}
1918 /* Utility for general button styles */
1920 input[type="button"],
1921 input[type="submit"],
1922 input[type="reset"],
1926 display: inline-block;
1928 padding: $lineheight/4 $lineheight/2;
1929 min-height: 20px + $lineheight/2;
1931 margin: 0 0 $lineheight/2 0;
1936 -moz-border-radius: 2px;
1938 background: darken($blue, $hovercolor);
1939 text-decoration: none;
1942 background: $lightblue;
1944 background: darken($lightblue, $hovercolor);
1948 background: $lightgrey;
1950 background: $lightgrey;
1960 input[type="submit"],
1961 input[type="button"],
1962 input[type="reset"],
1964 box-sizing: border-box;
1970 border-right:1px solid white;
1971 text-overflow: ellipsis;
1972 white-space: nowrap;
1976 .button:first-child {
1977 border-radius:2px 0 0 2px;
1980 .button:last-child {
1981 border-radius:0 2px 2px 0;
1982 border-right-width: 0;
1986 *[value="Hide"] + input:last-child,
1987 *[value="Hide"] + .button:last-child {
1989 border-right-width: 0;
1991 /* if a 3-button set has a hidden middle button */
1992 *[value="Hide"] + input:nth-child(3),
1993 *[value="Hide"] + .button:nth-child(3) {
1994 border-radius:0 2px 2px 0;
1995 border-right-width: 0;
1997 /* if a 3-button set starts with a hidden button */
1998 *[value="Hide"] + input:nth-child(2):not(:last-child),
1999 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2000 border-radius:2px 0 0 2px;
2001 border-right-width: 1px solid white;
2005 /* Rules for doing distinct colour of alternate table rows */
2009 background: $offwhite;
2017 /* Rules for OpenID logo */
2020 vertical-align: text-bottom;
2024 /* Rules for rich text */
2029 padding-bottom: $lineheight/2;
2030 border-bottom: 1px dashed #cccccc;
2031 margin-bottom: $lineheight/2;
2043 font-size: $typeheight;
2048 background: #e8e8e8;
2054 background: #e8e8e8;
2063 padding: $lineheight;
2064 background-color: $offwhite;
2071 border-left: $lineheight solid $offwhite;
2072 padding-left: $lineheight;
2078 padding-left: $lineheight;
2079 margin-bottom: $lineheight;
2080 margin-left: $lineheight;
2088 list-style: decimal;
2092 .diary_post .richtext {
2093 margin-top: $lineheight;
2096 .comments .richtext {
2101 /* Rules for rich text editors */
2103 .richtext_container {
2104 margin-bottom: $lineheight;
2108 display: inline-block;
2109 vertical-align: top;
2112 display: inline-block;
2113 padding: $lineheight;
2114 background-color: $offwhite;
2118 background-image: image-url("loading.gif");
2119 background-repeat: no-repeat;
2120 background-position: center;
2130 display: inline-block;
2131 vertical-align: top;
2133 background-color: #f8f8ff;
2134 padding: $lineheight/2;
2142 border-bottom: 1px solid #ccc;
2143 margin-bottom: $lineheight/4;
2144 padding-bottom: $lineheight/4;
2147 li h4, li span, li p {
2148 display: inline-block;
2149 vertical-align: top;
2160 margin-left: $lineheight/2;
2161 margin-bottom: $lineheight/4;
2162 white-space: nowrap;
2167 /* Rules for the user notes list */
2171 background-color: #eeeeee;
2183 /* Rules for the notes interface */
2185 .leaflet-popup-content .note {
2186 padding-top: $lineheight/2;
2189 .leaflet-popup-content .note {
2191 margin-bottom: $lineheight/2;
2195 margin-top: $lineheight/2;
2201 left: $lineheight/4;
2208 padding-left: $lineheight;
2211 .permalink:hover span {
2217 background-color: #ffe0cc;
2219 margin-bottom: $lineheight/2;
2238 margin-top: $lineheight/4;
2244 * Rules for the iD editor
2254 display: inline-block;
2259 background-color: #eee;
2260 border-bottom: 1px solid #ccc;
2275 /* Rules for rotating sidebar ads */
2281 border-bottom: 1px solid #ccc;
2290 /* Rules for the "Welcome" page */
2305 background-image: image-url("welcome-sprite.png");
2306 background-size: 500px 250px;
2312 padding-bottom: 20px;
2314 margin-bottom: 10px;
2326 background-position: -50px 0;
2331 vertical-align: middle;
2335 background-position: -100px 0;
2339 background-position: -150px 0;
2343 background-position: -200px 0;
2347 background-position: -250px 0;
2351 background-position: -300px 0;
2360 text-decoration: none;
2364 background-color: $offwhite;