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 */
1072 .header-illustration {
1073 background-position: 0 0;
1074 background-repeat: no-repeat;
1082 background-image: image-url("sign-up-illustration.png");
1086 background-image: image-url("confirm-illustration.png");
1094 background-image: image-url("sign-up-illustration-arm.png");
1098 @media only screen and (max-width:770px) {
1099 .header-illustration.new-user-arm { display: none;}
1104 border-left: 1px solid #ccc;
1108 #content.maximised {
1121 #slim_container_content {
1123 background-color: #FFFFFF;
1124 margin: $lineheight/2 auto;
1126 border-radius: 25px;
1127 -moz-border-radius: 25px;
1128 border: 1px solid #e6e6e6;
1132 margin: $lineheight/2;
1137 margin-bottom: 15px;
1142 margin: 30px $lineheight/2;
1145 margin-right: $lineheight/4;
1147 vertical-align: middle;
1148 margin-bottom: $lineheight/4;
1149 margin-right: $lineheight/4;
1155 padding: $lineheight;
1156 background: $offwhite;
1159 margin-bottom: $lineheight/2;
1166 margin-top: $lineheight/2;
1171 /* Rules for small maps in content areas */
1177 border: 1px solid #ccc;
1178 margin-bottom: $lineheight;
1182 .content_map #small_map {
1185 margin-bottom: $lineheight;
1188 /* Rules for the changeset list shown by the history tab etc */
1193 padding: $lineheight/2 0;
1195 border-top: 1px solid #ccc;
1197 border-bottom: 1px solid #ccc;
1201 background: #FFFFC0;
1205 border-left: 1px solid #ccc;
1206 padding-left: $lineheight/4;
1207 margin-right: $lineheight/4;
1211 #changeset_list_map_wrapper {
1219 #changeset_list_map_wrapper.scrolled {
1223 #changeset_list_map {
1225 bottom: $lineheight;
1229 border: 1px solid #ccc;
1232 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1236 /* Rules for the data browser */
1239 border-top: 1px solid #ccc;
1240 margin-top: $lineheight/2;
1241 padding-top: $lineheight/2;
1246 background-color: #ffe0cc;
1252 margin-bottom: $lineheight/4;
1255 display: inline-block;
1256 vertical-align: top;
1266 display: inline-block;
1267 vertical-align: top;
1275 padding: $lineheight/4 0;
1277 text-overflow: ellipsis;
1288 #browse_map .geolink {
1292 #browse_map .secondary-actions {
1293 margin-bottom: $lineheight/2;
1296 /* Rules for the trace list shown by the traces tab etc */
1299 font-size: $lineheight/2;
1316 .trace_identifiable {
1329 /* Rules for the user profile page */
1334 .userinformation-inner {
1349 .admin-user-info small {
1350 margin-bottom: $lineheight/2;
1352 margin-right: $lineheight;
1357 border-bottom: 1px solid #ccc;
1358 padding-bottom: $lineheight;
1361 margin-bottom: $lineheight/2;
1366 margin-top: $lineheight;
1370 .activity-details p {
1375 #friends-container .contact-activity ul {
1380 p#no_home_location {
1381 margin: $lineheight;
1384 margin-top: $lineheight/4;
1389 /* Rules for the user map */
1391 .content_map .leaflet-popup-content {
1392 margin: $lineheight/2;
1396 /* Rules for user popups on maps */
1402 margin-top: 0 0 0 60px;
1405 img.user_thumbnail {
1407 margin: 0 $lineheight/2 0 0;
1411 /* Rules for the user list */
1414 font-size: $lineheight/2;
1418 vertical-align: middle;
1427 #user_list_actions {
1429 margin-top: $lineheight/2;
1432 /* Rules for the diary list page */
1434 .diary_entry-list img.user_thumbnail {
1441 margin-top: $lineheight/2;
1442 padding-top: $lineheight;
1443 border-top: 1px solid #ccc;
1458 ul.secondary-actions { display: inline-block;}
1461 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1465 #content .post_heading {
1466 margin-bottom: $lineheight;
1469 margin-bottom: $lineheight/2;
1474 /* Rules for the diary entry page */
1481 border: 1px solid #ccc;
1483 margin-bottom: $lineheight;
1486 border-top: 1px solid #ccc;
1487 padding-top: $lineheight;
1488 margin-top: $lineheight/2;
1494 margin-top: $lineheight/2;
1495 border-top: 1px dashed #ccc;
1496 padding-top: $lineheight/2;
1498 margin-top: $lineheight;
1499 padding-top: $lineheight;
1500 border-top: 1px solid #ccc;
1503 margin-bottom: $lineheight/2;
1512 .diary_entry-view img.user_thumbnail {
1516 /* Rules for the log in page */
1518 #login_openid_buttons {
1522 #login_openid_buttons li {
1524 padding: $lineheight/4 $lineheight/2;
1527 /* Rules for the account confirmation page */
1531 border: 1px solid #ccc;
1532 padding: $lineheight;
1533 margin-bottom: $lineheight;
1547 margin: $lineheight auto inherit auto;
1552 input[type=submit] {
1556 background: $lightblue;
1558 background: darken($lightblue, $hovercolor);
1563 margin-bottom: $lineheight;
1565 #contributorGuidance {
1566 background-color: $offwhite;
1568 -moz-border-radius: 4px;
1575 /* Rules for the account settings page */
1577 #accountForm .user_map {
1581 border: 1px solid #ccc;
1584 #accountForm .user_image {
1588 #accountForm #user_image {
1592 #accountForm ul.accountImage-options {
1605 display: inline !important;
1608 .content_map.settings_map {
1613 /* Rules for the oauth settings page */
1615 .oauth_clients .buttons .oauth-edit {
1616 border-radius: 2px 0 0 2px;
1619 .oauth_clients .buttons .oauth-delete {
1620 border-radius: 0 2px 2px 0;
1623 /* Rules for messages pages */
1627 border: 1px solid #ddd;
1629 input[type="submit"] {
1633 border-top: 1px solid #ccc;
1637 background: #f8f8ff;
1650 padding: $lineheight/4;
1661 border-right: 1px solid $lightgrey;
1665 .inbox-row .inbox-mark-read {
1670 margin-bottom: $lineheight;
1671 padding: $lineheight/4 0px 4px 0px;
1672 border-bottom: 1px solid #ccc;
1679 .info-line .user_thumbnail_tiny {
1680 vertical-align: middle;
1689 .inbox-row-unread .inbox-mark-unread {
1693 .message-read .message-buttons {
1694 margin-top: $lineheight;
1695 padding-top: $lineheight;
1696 border-top: 1px solid $lightgrey;
1699 .message-read .buttons .mark-unread-button {
1703 /* Rules for "flash" notice boxes shown at the top of the content area */
1706 padding: $lineheight;
1708 background-color: #ff7070;
1711 background-color: #ffe0cc;
1714 background-color: #CBEEA7;
1718 /* Rules for highlighting fields with rails validation errors */
1720 .field_with_errors {
1722 background-color: #ff7070;
1723 display: inline-block;
1727 display: inline-block;
1733 background-color: #ff7070;
1736 /* Rules for rails validation error boxes */
1740 border: 2px solid #ff7070;
1741 padding: 0 $lineheight/2;
1742 margin-bottom: $lineheight;
1743 background-color: #f0f0f0;
1746 margin: 0 -10px 10px -10px;
1747 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1750 background-color: #c00;
1758 padding: $lineheight/4;
1762 padding-left: $lineheight;
1771 /* Rules for forms */
1775 margin-bottom: $lineheight;
1777 label.standard-label {
1779 margin-bottom: $lineheight/4;
1780 font-size: $typeheight;
1784 label.standard-label.secondary {
1785 display: inline-block;
1786 font-weight: normal;
1789 font-weight: normal;
1796 margin-top: $lineheight;
1797 padding-top: $lineheight;
1798 border-top: 1px solid $lightgrey;
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 .inner02 { padding: 0 $lineheight;}
1921 /* Utility for general button styles */
1923 input[type="button"],
1924 input[type="submit"],
1925 input[type="reset"],
1929 display: inline-block;
1931 padding: $lineheight/4 $lineheight/2;
1932 min-height: 20px + $lineheight/2;
1934 margin: 0 0 $lineheight/2 0;
1939 -moz-border-radius: 2px;
1941 background: darken($blue, $hovercolor);
1942 text-decoration: none;
1945 background: $lightblue;
1947 background: darken($lightblue, $hovercolor);
1951 background: $lightgrey;
1953 background: $lightgrey;
1963 input[type="submit"],
1964 input[type="button"],
1965 input[type="reset"],
1967 box-sizing: border-box;
1973 border-right:1px solid white;
1974 text-overflow: ellipsis;
1975 white-space: nowrap;
1979 .button:first-child {
1980 border-radius:2px 0 0 2px;
1983 .button:last-child {
1984 border-radius:0 2px 2px 0;
1985 border-right-width: 0;
1989 *[value="Hide"] + input:last-child,
1990 *[value="Hide"] + .button:last-child {
1992 border-right-width: 0;
1994 /* if a 3-button set has a hidden middle button */
1995 *[value="Hide"] + input:nth-child(3),
1996 *[value="Hide"] + .button:nth-child(3) {
1997 border-radius:0 2px 2px 0;
1998 border-right-width: 0;
2000 /* if a 3-button set starts with a hidden button */
2001 *[value="Hide"] + input:nth-child(2):not(:last-child),
2002 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2003 border-radius:2px 0 0 2px;
2004 border-right-width: 1px solid white;
2008 /* Rules for doing distinct colour of alternate table rows */
2012 background: $offwhite;
2020 /* Rules for OpenID logo */
2023 vertical-align: text-bottom;
2027 /* Rules for rich text */
2032 padding-bottom: $lineheight/2;
2033 border-bottom: 1px dashed #cccccc;
2034 margin-bottom: $lineheight/2;
2046 font-size: $typeheight;
2051 background: #e8e8e8;
2057 background: #e8e8e8;
2066 padding: $lineheight;
2067 background-color: $offwhite;
2074 border-left: $lineheight solid $offwhite;
2075 padding-left: $lineheight;
2081 padding-left: $lineheight;
2082 margin-bottom: $lineheight;
2083 margin-left: $lineheight;
2091 list-style: decimal;
2095 .diary_post .richtext {
2096 margin-top: $lineheight;
2099 .comments .richtext {
2104 /* Rules for rich text editors */
2106 .richtext_container {
2107 margin-bottom: $lineheight;
2111 display: inline-block;
2112 vertical-align: top;
2115 display: inline-block;
2116 padding: $lineheight;
2117 background-color: $offwhite;
2121 background-image: image-url("loading.gif");
2122 background-repeat: no-repeat;
2123 background-position: center;
2133 display: inline-block;
2134 vertical-align: top;
2136 background-color: #f8f8ff;
2137 padding: $lineheight/2;
2145 border-bottom: 1px solid #ccc;
2146 margin-bottom: $lineheight/4;
2147 padding-bottom: $lineheight/4;
2150 li h4, li span, li p {
2151 display: inline-block;
2152 vertical-align: top;
2163 margin-left: $lineheight/2;
2164 margin-bottom: $lineheight/4;
2165 white-space: nowrap;
2170 /* Rules for the user notes list */
2174 background-color: #eeeeee;
2186 /* Rules for the notes interface */
2188 .leaflet-popup-content .note {
2189 padding-top: $lineheight/2;
2192 .leaflet-popup-content .note {
2194 margin-bottom: $lineheight/2;
2198 margin-top: $lineheight/2;
2204 left: $lineheight/4;
2211 padding-left: $lineheight;
2214 .permalink:hover span {
2220 background-color: #ffe0cc;
2222 margin-bottom: $lineheight/2;
2241 margin-top: $lineheight/4;
2247 * Rules for the iD editor
2257 display: inline-block;
2262 background-color: #eee;
2263 border-bottom: 1px solid #ccc;
2278 /* Rules for rotating sidebar ads */
2284 border-bottom: 1px solid #ccc;
2293 /* Rules for the "Welcome" page */
2308 background-image: image-url("welcome-sprite.png");
2309 background-size: 500px 250px;
2315 padding-bottom: 20px;
2317 margin-bottom: 10px;
2329 background-position: -50px 0;
2334 vertical-align: middle;
2338 background-position: -100px 0;
2342 background-position: -150px 0;
2346 background-position: -200px 0;
2350 background-position: -250px 0;
2354 background-position: -300px 0;
2363 text-decoration: none;
2367 background-color: $offwhite;