]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Use bootstrap variables to style links
[rails.git] / app / assets / stylesheets / common.scss
index d6331781286322da32ce55b1833783fa63f54f19..5c88da6b7545e304985f71d389f584ec6919fed3 100644 (file)
@@ -62,17 +62,6 @@ small, aside {
 .icon.note.grey   { /* no-r2 */ background-position: -240px -20px; }
 .icon.query       { /* no-r2 */ background-position: -260px 0; }
 
-/* Rules for links */
-
-a {
-  color: #24d;
-  text-decoration: none;
-  outline: 0;
-  &:hover {
-    text-decoration: underline;
-  }
-}
-
 /* Utility for de-emphasizing content */
 
 .text-muted a {
@@ -686,6 +675,11 @@ form {
   }
 }
 
+/* Stop bootstrap 5 from floating legends when they don't need to be */
+legend {
+  float: none;
+}
+
 /* Rules for the search and direction forms */
 
 header .search_forms,