updated search bar displacement css code
authorAndrew Engelbrecht <andrew@fsf.org>
Wed, 24 Jul 2019 16:04:19 +0000 (12:04 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Wed, 24 Jul 2019 16:04:19 +0000 (12:04 -0400)
now that we're using breadcrumbs, the search bar needs to be moved
relative to that, not the page-header.

css/style.css

index 3480ac010a1579b634f43184d6999c27e1913546..cd05ad6d73ecdab8c6c1e08897b5920170fc5067 100644 (file)
@@ -82,7 +82,9 @@ a { transition: 0.3s; }
   .navbar-default { min-height: 230px; margin-bottom: 30px; }
   #block-ryf-main-menu .navbar-nav { max-width: 130px; }
   .search-block-form { margin-top: -50px; }
   .navbar-default { min-height: 230px; margin-bottom: 30px; }
   #block-ryf-main-menu .navbar-nav { max-width: 130px; }
   .search-block-form { margin-top: -50px; }
-  .page-header { margin-top: 50px; }
+  /* note that the following will not work if the breadcrumb is missing on a
+   * page, such as the main page */
+  .breadcrumb { margin-top: 50px; }
 }
 
 @media screen and (min-width: 768px) {
 }
 
 @media screen and (min-width: 768px) {