Title: [228820] trunk/Websites/webkit.org
- Revision
- 228820
- Author
- j...@apple.com
- Date
- 2018-02-20 08:37:21 -0800 (Tue, 20 Feb 2018)
Log Message
Add widescreen layout class for the Downloads page
https://bugs.webkit.org/show_bug.cgi?id=182948
Reviewed by Alexey Proskuryakov.
* wp-content/themes/webkit/downloads.php: Added .widescreen for full-width layout.
Modified Paths
Diff
Modified: trunk/Websites/webkit.org/ChangeLog (228819 => 228820)
--- trunk/Websites/webkit.org/ChangeLog 2018-02-20 15:52:01 UTC (rev 228819)
+++ trunk/Websites/webkit.org/ChangeLog 2018-02-20 16:37:21 UTC (rev 228820)
@@ -1,3 +1,12 @@
+2018-02-20 Jon Davis <j...@apple.com>
+
+ Add widescreen layout class for the Downloads page
+ https://bugs.webkit.org/show_bug.cgi?id=182948
+
+ Reviewed by Alexey Proskuryakov.
+
+ * wp-content/themes/webkit/downloads.php: Added .widescreen for full-width layout.
+
2018-02-13 Jon Davis <j...@apple.com>
Added a redirect for /nightly to /downloads/.
Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/downloads.php (228819 => 228820)
--- trunk/Websites/webkit.org/wp-content/themes/webkit/downloads.php 2018-02-20 15:52:01 UTC (rev 228819)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/downloads.php 2018-02-20 16:37:21 UTC (rev 228820)
@@ -4,15 +4,15 @@
**/
add_filter('the_content', function ($content) {
-
+
$build = get_nightly_build();
$source = get_nightly_source();
-
+
if ( empty($build) || empty($source) )
return $content;
-
+
$content = sprintf($content, $build[2], $source[2]);
-
+
return $content;
});
@@ -35,12 +35,13 @@
.bodycopy > div {
box-sizing: border-box;
padding: 0 1.5rem 3rem;
- width: 50%;
+ width: 49%;
text-align: center;
- float: left;
+ display: inline-block;
}
-#preview {
+#preview,
+.bodycopy > .widescreen {
float: none;
width: 100%;
}
@@ -80,11 +81,11 @@
<article class="page downloads">
<h1><a href="" echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
-
+
<div class="bodycopy">
<?php the_content(''); ?>
</div>
-
+
</article>
<?php endwhile; endif; ?>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes