adjust style ryf-list
authorValessio Soares de Brito <contato@valessiobrito.com.br>
Thu, 6 Jun 2019 02:57:58 +0000 (22:57 -0400)
committerValessio Soares de Brito <contato@valessiobrito.com.br>
Thu, 6 Jun 2019 02:57:58 +0000 (22:57 -0400)
css/style.css

index e0c007f9927059dda628a228c22b627a8d916e14..19b4f7b7916680b2d0fa73bfbbf5a4a3ad294add 100644 (file)
@@ -61,36 +61,44 @@ a { transition: 0.3s; }
   width: 100%;
 }
 
   width: 100%;
 }
 
-.footer {
-  background: #333;
-  color: #FFF;
-}
-
-.footer a { color: #edd400; }
+/* RYF List */
 
 
-.footer a:hover { color: #FFF; }
-
-.footer h4 { font-weight: bold; }
+.ryf-list {
+  float: left;
+  margin: 0;
+  padding: 0.5em;
+  position:relative;
+  list-style: none;
+}
 
 
-.footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
+.ryf-list article {
+  border: 1px solid #ececec;
+  border-radius: 5px;
+  padding: 1em;
+  box-shadow: 2px 2px 5px #ddd;
+  transition: 0.3s;
+}
 
 
-.ryf-list img {
-  max-width:100%;
+.ryf-list article:hover {
+  box-shadow: 0px 0px 5px #aaa;
 }
 
 }
 
-.ryf-list {
-  padding: 10px;
-  border: 1px solid #f5efef;
-  float: left;
-  margin: 5px 0;
-  border-radius: 5px;
-  box-shadow: 2px 3px 0px #e4d8d8;
-  position:relative;
-  overflow:hidden;
+.ryf-list .field--type-image {
+  width: 100%;
+  background: #fff;
+  border-radius: 10px;
+  display: flex;
+  justify-content: center;
 }
 
 }
 
-.ryf-list .field {
+.ryf-list img {
+  max-width: 150px;
   min-height: 150px;
   min-height: 150px;
+  overflow: hidden;
+}
+
+.ryf-list img:hover {
+  border-radius: 0;
 }
 
 .ryf-list h2 {
 }
 
 .ryf-list h2 {
@@ -98,11 +106,9 @@ a { transition: 0.3s; }
   font-size: 1.5em;
   font-weight: 500;
   line-height: 1.2em;
   font-size: 1.5em;
   font-weight: 500;
   line-height: 1.2em;
-  margin: 0px;
-  padding: 0px;
-  border-bottom: 1px solid #ccc4c4;
-  margin-bottom: 5px;
-  padding-bottom: 5px;
+  margin: 0;
+  padding: 0;
+  padding-bottom: 1em;
 }
 
 .ryf-list a {
 }
 
 .ryf-list a {
@@ -125,3 +131,24 @@ a { transition: 0.3s; }
   padding-top: 5px;
   color: #afadad;
 }
   padding-top: 5px;
   color: #afadad;
 }
+
+.ryf-list .node-readmore {
+  text-align: right;
+}
+
+
+/* Footer */
+
+.footer {
+  background: #333;
+  color: #FFF;
+}
+
+.footer a { color: #edd400; }
+
+.footer a:hover { color: #FFF; }
+
+.footer h4 { font-weight: bold; }
+
+.footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
+