added theming for news items
authorAndrew Engelbrecht <andrew@fsf.org>
Tue, 30 Jul 2019 17:00:35 +0000 (13:00 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Tue, 30 Jul 2019 17:00:35 +0000 (13:00 -0400)
css/style.css

index d9baf85..8bafadf 100644 (file)
@@ -494,6 +494,49 @@ a { transition: 0.3s; }
 }
 
 
+/* News and Product Announcements */
+
+
+.page-node-type-product-announcement .page-header,
+.page-node-type-product-announcement .region-content,
+.page-node-type-general-news-item .page-header,
+.page-node-type-general-news-item .region-content {
+  max-width: 800px;
+  margin: 0 auto;
+}
+
+.path-news .page-header,
+.path-news .region-content {
+  max-width: 800px;
+  margin: 0 auto;
+}
+
+.path-news h2 {
+  font-size: 25px;
+}
+
+.page-node-type-product-announcement .author,
+.page-node-type-general-news-item .author {
+  margin: 10px 0 20px 0;
+  font-style: oblique;
+}
+
+.page-node-type-product-announcement .field--name-body,
+.page-node-type-general-news-item .field--name-body {
+  margin-bottom: 20px;
+}
+
+.page-node-type-product-announcement .field--name-field-external-news-link,
+.page-node-type-general-news-item .field--name-field-external-news-link {
+  margin-bottom: 20px;
+}
+
+.page-node-type-product-announcement .field--name-field-vendor-page,
+.page-node-type-product-announcement .field--name-field-announced-products {
+  margin-bottom: 20px;
+}
+
+
 /* Footer */