<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[4924] sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations: Translate: Update styling of front page and main navigation.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/4924">4924</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/4924","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>ocean90</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2017-02-18 14:27:48 +0000 (Sat, 18 Feb 2017)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Translate: Update styling of front page and main navigation.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationsincclasspluginphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesheaderphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplateshelperfunctionsphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesindexlocalesphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/index-locales.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesstylecss">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationsincclasspluginphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php 2017-02-18 11:39:32 UTC (rev 4923)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php 2017-02-18 14:27:48 UTC (rev 4924)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,7 +86,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Adds the linkt to profile settings to the user actions toolbar menu.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Adds the link to profile settings to the user actions toolbar menu.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param \WP_Admin_Bar $wp_admin_bar
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php 2017-02-18 11:39:32 UTC (rev 4923)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php 2017-02-18 14:27:48 UTC (rev 4924)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,53 +5,52 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <script type="text/javascript">document.body.className = document.body.className.replace('no-js','js');</script>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<div id="headline">
- <div class="wrapper">
- <h2><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
- <?php
- wp_nav_menu( array(
- 'theme_location' => 'wporg_header_subsite_nav',
- 'fallback_cb' => '__return_false'
- ) );
- ?>
- </div>
- <div class="wrapper">
- <ul class="translate-meta-nav">
- <?php
- if ( is_user_logged_in() ) {
- $user = wp_get_current_user();
- printf(
- '<li>logged in as %s</li>',
- '<a href="' . esc_url( gp_url_profile( $user->user_login ) ) . '">@' . esc_html( $user->user_nicename ) . '</a>'
- );
- ?>
- <li><a href="<?php echo esc_url( gp_url( '/settings' ) ); ?>">Settings</a></li>
- <li><a href="<?php echo esc_url( wp_logout_url( home_url( '/' ) ) ); ?>">Log out</a></li>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<header id="masthead" class="site-header <?php echo wporg_gp_is_index() ? 'home' : ''; ?>" role="banner">
+ <div class="site-branding">
+ <?php if ( wporg_gp_is_index() ) : ?>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+ <p class="site-description">
+ Contribute to WordPress core, themes, and plugins by translating them into your language.<br>
+ Select your locale below to get started.
+ </p>
+ <?php else : ?>
+ <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
+
+ <nav id="site-navigation" class="navigation-main clear" role="navigation">
+ <button type="button" class="menu-toggle dashicons dashicons-arrow-down-alt2"></button>
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ wp_nav_menu( [
+ 'theme_location' => 'wporg_header_subsite_nav',
+ 'fallback_cb' => false,
+ ] );
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <li><a href="<?php echo esc_url( wp_login_url( gp_url_current() ) ); ?>"><strong>Log in</strong></a></li>
- <?php
- }
- ?>
- </ul>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ </nav>
+ <?php endif; ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+</header>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="gp-content">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<div id="gp-js-message"></div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div id="gp-js-message"></div>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php if (gp_notice('error')): ?>
- <div class="error">
- <?php echo gp_notice( 'error' ); //TODO: run kses on notices ?>
- </div>
- <?php endif; ?>
- <?php if (gp_notice()): ?>
- <div class="notice">
- <?php echo gp_notice(); ?>
- </div>
- <?php endif; ?>
- <?php echo gp_breadcrumb(); ?>
- <?php do_action( 'gp_after_notices' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ if ( gp_notice( 'error' ) ) :
+ ?>
+ <div class="error">
+ <?php echo gp_notice( 'error' ); //TODO: run kses on notices ?>
+ </div>
+ <?php
+ endif;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( gp_notice() ) :
+ ?>
+ <div class="notice">
+ <?php echo gp_notice(); ?>
+ </div>
+ <?php
+ endif;
+
+ echo gp_breadcrumb();
+
+ do_action( 'gp_after_notices' );
+
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplateshelperfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php 2017-02-18 11:39:32 UTC (rev 4923)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php 2017-02-18 14:27:48 UTC (rev 4924)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,3 +24,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $locations[] = $core_templates;
</span><span class="cx" style="display: block; padding: 0 10px"> return $locations;
</span><span class="cx" style="display: block; padding: 0 10px"> }, 50, 4 );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+function wporg_gp_is_index() {
+ return GP::$current_route instanceof \WordPressdotorg\GlotPress\Routes\Routes\Index;
+}
+
+/**
+ * Prints JavaScript helper for menu toggle.
+ */
+add_action( 'gp_footer', function() {
+ ?>
+ <script>
+ ( function( $ ) {
+ $( function() {
+ var $menu = $( '#site-navigation' );
+
+ if ( $menu.length ) {
+ $menu.find( 'button' ).on( 'click', function() {
+ $menu.toggleClass( 'toggled' );
+ } );
+ }
+ } );
+ } )( jQuery );
+ </script>
+ <?php
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesindexlocalesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/index-locales.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/index-locales.php 2017-02-18 11:39:32 UTC (rev 4923)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/index-locales.php 2017-02-18 14:27:48 UTC (rev 4924)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,9 +4,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> gp_tmpl_header();
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p class="intro"><?php _e('Contribute to WordPress core, themes, and plugins by translating them into your language. Select your locale below to get started.'); ?></p>
- <p class="intro">If your locale isn’t below, follow the steps in the <a href="https://make.wordpress.org/polyglots/handbook/translating/requesting-a-new-locale/">Translator Handbook</a> to contribute a new locale.</p>
-
</del><span class="cx" style="display: block; padding: 0 10px"> <div class="filter-header">
</span><span class="cx" style="display: block; padding: 0 10px"> <ul class="filter-header-links">
</span><span class="cx" style="display: block; padding: 0 10px"> <li><span class="current"><?php _e( 'Find your locale' ); ?></span></li>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +16,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p class="intro">If your locale isn’t below, follow the steps in the <a href="https://make.wordpress.org/polyglots/handbook/translating/requesting-a-new-locale/">Translator Handbook</a> to contribute a new locale.</p>
+
</ins><span class="cx" style="display: block; padding: 0 10px"> <div id="locales" class="locales">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php foreach ( $locales as $locale ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $percent_complete = 0;
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css 2017-02-18 11:39:32 UTC (rev 4923)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css 2017-02-18 14:27:48 UTC (rev 4924)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,84 +1,213 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/* Secondary header design */
-#headline .menu {
- list-style: none;
- float: right;
- font-size: 14px;
- font-weight: bold;
- padding-top: 22px;
- margin-right: 15px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-header {
+ font-family: "Open Sans", sans-serif;
+ line-height: 1.5;
+ color: #32373c;
+ background: #0073aa;
+ padding: 18px 0;
+ position: relative;
+ z-index: 100;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#headline .menu li {
- display: inline;
- padding-left: 20px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-header .site-branding {
+ margin: 0 auto;
+ max-width: 960px;
+ padding: 0 10px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/* Responsive design for secondary header */
-@media (max-width: 480px) {
- #headline h2 {
- margin-left: 6px;
- font-size: 20px;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-header.home {
+ padding: 28px 20px;
+ text-align: center;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #headline h2 a:before {
- font-size: 20px;
- width: 24px;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-title {
+ display: inline-block;
+ font-size: 28px;
+ font-weight: 300;
+ line-height: 1;
+ margin: 0 36px 0 0;
+ max-width: none;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-@media (max-width: 770px) {
- #headline {
- height: auto;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-title a {
+ color: #fff;
+ font-weight: 300;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #headline h2 {
- float: none;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+p.site-title a {
+ border-bottom: 0;
+ text-decoration: none;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #headline .menu {
- float: left;
- margin: 0;
- padding: 8px 0;
- background: #f5f5f5;
- border-top: 1px solid #d7d7d7;
- width: 100%;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-title a:hover,
+.site-title a:focus,
+.site-title a:active {
+ text-decoration: none;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.wrapper {
- position: relative;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-header .site-title a:hover {
+ color: rgba( 255, 255, 255, 0.8 );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-ul.translate-meta-nav {
- list-style: none;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-header.home .site-title {
+ display: inherit;
+ font-size: 68px;
+ margin: 36px 0 18px;
+}
+
+.site-header.home .site-title a:before {
+ display: none;
+}
+
+.site-description {
+ color: rgba(255, 255, 255, 0.8);
+ font-size: 1.25rem;
+ font-weight: 300;
+ margin: -0.4rem auto 2rem;
+ text-align: center;
+}
+
+.navigation-main {
+ background: transparent;
+ max-width: 940px;
+ height: 32px;
+ margin: -32px auto 0 auto;
+ text-align: right;
+ padding: 0;
+}
+
+.navigation-main .menu {
+ line-height: 32px;
+}
+
+.navigation-main ul li {
+ display: inline-block;
+ float: none;
+ margin-right: 21px;
+}
+
+.rtl .navigation-main ul li {
+ margin-left: 21px;
+ margin-right: 0;
+}
+
+.navigation-main ul li:last-of-type {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+}
+
+.navigation-main ul li a {
</ins><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- font-size: 12px;
- text-align: right;
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#headline ul.translate-meta-nav a {
- color: #0073aa;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.navigation-main ul li:hover > a,
+.navigation-main ul li.current-menu-item a,
+.navigation-main ul li.current-menu-item:hover a {
+ color: #fff;
+ background: transparent;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#headline ul a:hover,
-#headline ul a:focus {
- color: #00a0d2;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.navigation-main ul li:hover > a:after,
+.navigation-main ul li.current-menu-item a:after,
+.navigation-main ul li.current-menu-item:hover a:after {
+ content: '';
+ display: block;
+ border-bottom: 1px solid #fff;
+ position: relative;
+ top: -6px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-@media (min-width: 771px) {
- ul.translate-meta-nav {
- position: absolute;
- bottom: -18px;
- right: 6px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.navigation-main ul li.icon a:after {
+ display: none;
+}
+
+.navigation-main ul li:hover > a {
+ border-bottom: none;
+}
+
+.navigation-main a {
+ color: rgba(255, 255, 255, 0.8);
+ font-size: 14px;
+}
+
+.wporg-make .site-title a:before,
+body.wporg-make #headline h2 a:before {
+ vertical-align: middle; /* overrides wp4.css */
+}
+
+.menu-toggle.dashicons {
+ display: none;
+ background: transparent;
+ border: none;
+ color: #fff;
+ font-size: 1.5625rem;
+ height: 3.5rem;
+ overflow: hidden;
+ position: absolute;
+ right: 1rem;
+ top: -58px;
+ width: 3.5rem;
+ -webkit-appearance: none;
+}
+
+.toggled .menu-toggle.dashicons:before {
+ content: "\f343";
+}
+
+@media screen and (max-width: 900px) {
+ .navigation-main ul li {
+ margin-right: 10px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-ul.translate-meta-nav li {
- display: inline-block;
- margin: 0 8px
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media screen and (min-width: 750px) {
+ #wporg-header ul li a.current ~ .uparrow {
+ border-bottom: 9px solid #0073aa;
+ }
+
+ #wporg-header ul li:hover .nav-submenu ~ .uparrow,
+ #wporg-header ul li .nav-submenu:hover ~ .uparrow {
+ border-bottom: 9px solid #32373c;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media screen and (max-width: 750px) {
+ .menu-toggle.dashicons {
+ display: block;
+ }
+
+ .navigation-main {
+ margin: 18px -10px -18px;
+ height: auto;
+ position: relative;
+ }
+
+ .navigation-main .menu {
+ display: none;
+ }
+
+ .toggled .menu {
+ display: block;
+ }
+
+ .navigation-main ul li {
+ display: block;
+ float: none;
+ margin: 0;
+ text-align: left;
+ border-top: 1px solid rgba(255, 255, 255, 0.2);
+ }
+
+ .navigation-main ul li a {
+ display: block;
+ padding: 1rem;
+ }
+
+ .navigation-main ul li:hover > a:after,
+ .navigation-main ul li.current-menu-item a:after,
+ .navigation-main ul li.current-menu-item:hover a:after {
+ display: none;
+ }
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .gp-content {
</span><span class="cx" style="display: block; padding: 0 10px"> font-family: 'Open Sans', sans-serif !important;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 20px auto;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -411,9 +540,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .locales {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin-left: -2.083%;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ -webkit-column-count: 2;
+ -moz-column-count: 2;
+ column-count: 2;
+ -webkit-column-gap: 30px;
+ -moz-column-gap: 30px;
+ column-gap: 30px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media (min-width: 700px) {
+ .locales {
+ -webkit-column-count: 3;
+ -moz-column-count: 3;
+ column-count: 3;
+ }
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Clearfix */
</span><span class="cx" style="display: block; padding: 0 10px"> .locale-header:before,
</span><span class="cx" style="display: block; padding: 0 10px"> .locale-header:after,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -444,9 +586,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .locale {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- float: left;
- margin: 0 0 2.083% 2.083%;
- width: 31.25%;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin-bottom: 30px;
+ width: 100%;
+ display: inline-block;
</ins><span class="cx" style="display: block; padding: 0 10px"> border: 1px solid #ccc;
</span><span class="cx" style="display: block; padding: 0 10px"> -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
</span><span class="cx" style="display: block; padding: 0 10px"> box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -492,6 +634,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 20px 10px 20px 20px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.locale .name {
+ max-width: calc( 100% - 100px );
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .locale .name li,
</span><span class="cx" style="display: block; padding: 0 10px"> .locale-box .name li {
</span><span class="cx" style="display: block; padding: 0 10px"> display: block;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -959,12 +1105,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .locales,
</del><span class="cx" style="display: block; padding: 0 10px"> .projects {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .locales .locale,
</del><span class="cx" style="display: block; padding: 0 10px"> .projects .project {
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-left: 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -974,6 +1118,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> float: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .locales .locale .name {
+ display: block;
+ }
+
+ .locales .locale .contributors {
+ display: none;
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .locale-box {
</span><span class="cx" style="display: block; padding: 0 10px"> float: none;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1027,12 +1179,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-@media only screen and (max-width: 1120px) {
- .locales .locale {
- width: 47.917%;
- }
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .stats-table table.table {
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: center;
</span></span></pre>
</div>
</div>
</body>
</html>