Add style news view
[ryf-theme.git] / css / style.css
index 1fc35d66f4974d2646f93c04f8f344c3da15c076..981214d7619c6c3695c8ff11a3950618ac439e40 100644 (file)
@@ -49,7 +49,7 @@ section { position: relative; }
     z-index: 9999;
 }
 
-.region-content { min-height: 300px; }
+.main-container { min-height: 50vh; }
 
 h2.block-title {
   background: #000;
@@ -227,6 +227,36 @@ nav .search-block-form {
   }
 }
 
+/* News */
+
+.view-news article {
+  padding: 0.5em;
+  margin: 0 10%;
+}
+
+.view-news p {
+  line-height: 1.5em;
+  font-size: 1.1em;
+}
+
+.view-news .node-readmore {
+  padding: 0.5em 1em;
+  border: 1px solid #DDD;
+  border-radius: 0.5em;
+  float: right;
+}
+
+.view-news .node-readmore:hover {
+  background: #EEE;
+  color: #000;
+}
+
+.view-news footer {
+  color: #999;
+  padding: 0.5em;
+  text-align: right;
+}
+
 
 /* RYF List */
 
@@ -791,7 +821,6 @@ nav .search-block-form {
 
 /* Footer */
 
-
 .footer {
   background: #333;
   color: #FFF;