back to the original yellow link color
[ryf-theme.git] / css / style.css
index 182aaf62a0a2ac05dcbdb124ec20e9a87f6c1581..2b66a2086a9dd1b8889db347f27a49eaa57d6825 100644 (file)
@@ -7,21 +7,21 @@
 
 @font-face {
     font-family: "Lato";
-         url("../fonts/Lato-Regular.ttf") format('truetype');
+    src: url("../fonts/Lato-Regular.ttf") format('truetype');
     font-weight: 400;
     font-style: normal;
 }
 
 @font-face {
     font-family: "Lato";
-         url('../fonts/Lato-RegularItalic.ttf') format('truetype');
+    src: url('../fonts/Lato-RegularItalic.ttf') format('truetype');
     font-weight: 400;
     font-style: italic;
 }
 
 @font-face {
     font-family: "Lato";
-         url('../fonts/Lato-Bold.ttf') format('truetype');
+    src: url('../fonts/Lato-Bold.ttf') format('truetype');
     font-weight: 700;
     font-style: normal;
 }
@@ -52,11 +52,24 @@ 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: #FFF;
+}
+
+h2.block-title a:hover {
+  color: #FFF;
+}
+
 .feed-icons a {
   background: url('../images/rss.svg') top left no-repeat;
   background-size: contain;
@@ -143,9 +156,9 @@ h2.block-title {
 .navbar-default .navbar-nav > li > a:focus,
 .navbar-default .navbar-nav > li.active > a:hover,
 .navbar-default .navbar-nav > li > a:hover {
-  color: #DDCC00;
+  color: #edd400;
   background: #000;
-  border-bottom: 2px solid #DDCC00;
+  border-bottom: 2px solid #edd400;
   padding-bottom: 5px;
   margin-bottom: 10px;
 }
@@ -193,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 {
@@ -208,9 +226,7 @@ nav .search-block-form {
     background: none;
   }
   .region-navigation-collapsible .search-block-form {
-    float: right;
-    padding-top: 30px;
-    width: 210px;
+    padding-top: 50px;
   }
 }
 
@@ -276,10 +292,8 @@ nav .search-block-form {
 }
 
 .ryf-list article {
-  border: 1px solid #ececec;
+  border: 1px solid #bbb;
   border-radius: 5px;
-  border-top: none;
-  border-left: none;
   padding: 1em;
   box-shadow: 2px 2px 5px #ddd;
   transition: 0.3s;
@@ -290,37 +304,56 @@ nav .search-block-form {
 }
 
 .ryf-list .field--type-image {
-  width: 150px;
-  height: 150px;
+  border: 1px solid #ddd;
+  border-left: 0px;
+  border-right: 0px;
   background: #fff;
-  border-radius: 10px;
-  display: flex;
-  align-items: center;
-}
-
-.ryf-list .field--name-field-image {
-  margin: 0 auto 10px auto;
-}
-
-.ryf-list img {
-  max-width: 150px;
-  max-height: 150px;
-  object-fit: contain;
+  height: 150px;
+  width: 100%;
   overflow: hidden;
+  border-radius: 5px;
+  position: relative;
+  text-align: center;
 }
 
-.ryf-list img:hover {
-  border-radius: 0;
+.ryf-list img {
+  width: auto;
+  height: 100%;
+  margin: auto 0;
+  display: inline-block;
 }
 
 .ryf-list h2 {
   text-align: left;
   font-size: 1.5em;
-  font-weight: 500;
   line-height: 1.2em;
   margin: 0;
   padding: 0;
-  padding-bottom: 1em;
+}
+
+.ryf-list .field--name-body {
+  display: block;
+  border-radius: 5px;
+  width: 100%;
+  height: 0px;
+  margin-top: 0px;
+  z-index: 99;
+  position: relative;
+  background: #00000088;
+  color: white;
+  padding: 0em;
+  transition: 0.2s;
+  cursor: default;
+  overflow: hidden;
+}
+
+.ryf-list:hover .field--name-body {
+  height: 100px;
+  margin-top: -100px;
+  z-index: 99;
+  position: relative;
+  padding: 0.3em;
+  transition: 0.3s;
 }
 
 .ryf-list a {
@@ -337,9 +370,25 @@ nav .search-block-form {
   width: auto;
   border-radius: 0.5em;
   padding: 0.3em 0.5em;
+  margin-top: 5px;
+  float: right;
+}
+
+.ryf-list h2 a {
+  display: inline-block;
+  height: 55px;
+  overflow: hidden;
+  position: relative;
+}
+
+.ryf-list h2 a:after {
+  content: '(...)';
+  float: right;
+  display: block;
   position: absolute;
-  bottom: 15px;
-  right: 15px;
+  bottom:5px;
+  right: 2px;
+  font-size: 0.8em;
 }
 
 .ryf-list .list-inline li:hover {
@@ -374,7 +423,7 @@ nav .search-block-form {
 @media screen and (min-width: 55em) {
 
   .ryf-list article {
-      min-height: 360px
+      min-height: 270px
   }
 
 }
@@ -828,7 +877,7 @@ nav .search-block-form {
   width: 100%;
 }
 
-.footer a { color: #DDCC00; }
+.footer a { color: #edd400; }
 
 .footer a:hover { color: #FFF; }