Title: [202016] trunk/Websites/webkit.org
Revision
202016
Author
[email protected]
Date
2016-06-13 16:52:09 -0700 (Mon, 13 Jun 2016)

Log Message

Minor style updates for figcaptions and post forewords.

* wp-content/themes/webkit/style.css:
(article .foreword):
(figure.aligncenter figcaption):
(figure.aligncenter figcaption::before):

Modified Paths

Diff

Modified: trunk/Websites/webkit.org/ChangeLog (202015 => 202016)


--- trunk/Websites/webkit.org/ChangeLog	2016-06-13 23:17:00 UTC (rev 202015)
+++ trunk/Websites/webkit.org/ChangeLog	2016-06-13 23:52:09 UTC (rev 202016)
@@ -1,5 +1,14 @@
 2016-06-13  Jon Davis  <[email protected]>
 
+        Minor style updates for figcaptions and post forewords.
+
+        * wp-content/themes/webkit/style.css:
+        (article .foreword):
+        (figure.aligncenter figcaption):
+        (figure.aligncenter figcaption::before):
+
+2016-06-13  Jon Davis  <[email protected]>
+
         Adds support for foreword custom meta and display styles on blog posts.
         https://bugs.webkit.org/show_bug.cgi?id=158707.
 

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/style.css (202015 => 202016)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/style.css	2016-06-13 23:17:00 UTC (rev 202015)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/style.css	2016-06-13 23:52:09 UTC (rev 202016)
@@ -1012,7 +1012,8 @@
 }
 
 article .foreword {
-    padding: 3rem;
+    padding: 1.6rem 2.2rem 1.6rem;
+    line-height: 2.6rem;
     background-color: #f0f0f0;
     border: 1px solid #e6e6e6;
     color: #8E8E93;
@@ -1211,6 +1212,18 @@
     position: absolute;
 }
 
+figure.aligncenter figcaption {
+    text-align: center;
+    padding-left: 0;
+}
+
+figure.aligncenter figcaption::before {
+    margin: 0 auto;
+    width: 20%;
+    left: 50%;
+    transform: translate(-50%);
+}
+
 article .clipbottom + p + figcaption {
     margin-top: 1rem;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to