adjusted the way to set the width of search bar
[ryf-theme.git] / css / style.css
index b18812c805a870d1349d8a689b45ed5556b3e89b..f6f4b1907f011ca0b40c50f360e154334c15b9d6 100644 (file)
@@ -52,16 +52,18 @@ section { position: relative; }
 .main-container { min-height: 50vh; }
 
 h2.block-title {
-  background: #000;
+  background: #337AB7;
   color: #FFF;
   padding: 0.5em;
 }
 
+
+
 h2.block-title a:visited,
 h2.block-title a:focus,
 h2.block-title a:active,
 h2.block-title a {
-  color: #DDCC00;
+  color: #FFF;
 }
 
 h2.block-title a:hover {
@@ -204,6 +206,11 @@ nav .search-block-form {
  *
  */
  
+.region-navigation-collapsible .search-block-form {
+  float: right;
+  width: 210px;
+}
+
 @media screen and (min-width: 768px) {
 
   .navbar-default {
@@ -219,9 +226,7 @@ nav .search-block-form {
     background: none;
   }
   .region-navigation-collapsible .search-block-form {
-    float: right;
     padding-top: 30px;
-    width: 210px;
   }
 }
 
@@ -365,9 +370,8 @@ nav .search-block-form {
   width: auto;
   border-radius: 0.5em;
   padding: 0.3em 0.5em;
-  position: absolute;
-  bottom: 15px;
-  right: 15px;
+  margin-top: 5px;
+  float: right;
 }
 
 .ryf-list h2 a {