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;
+ overflow: hidden;
+}
+
+.ryf-list img:hover {
+ border-radius: 0;
}
.ryf-list h2 {
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 {
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; }
+