<!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>[14025] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024: Make 2024: Update header and welcome box</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 { white-space: pre-line; 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/14025">14025</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/14025","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>adamwood</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-09-06 03:47:48 +0000 (Fri, 06 Sep 2024)</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'>Make 2024: Update header and welcome box
Replace header with local nav block.
See https://github.com/WordPress/wordpress.org/issues/363</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024contentpledgephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/content-pledge.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024functionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024headerphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024pagepledgesphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/page-pledges.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024stylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024themejson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/theme.json</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024contentpledgephp"></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/themes/pub/wporg-breathe-2024/content-pledge.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/themes/pub/wporg-breathe-2024/content-pledge.php 2024-09-06 03:35:12 UTC (rev 14024)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/content-pledge.php 2024-09-06 03:47:48 UTC (rev 14025)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-namespace WordPressdotorg\Make\Breathe;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+namespace WordPressdotorg\Make\Breathe_2024;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> defined( 'WPINC' ) || die();
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024functionsphp"></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/themes/pub/wporg-breathe-2024/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/themes/pub/wporg-breathe-2024/functions.php 2024-09-06 03:35:12 UTC (rev 14024)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/functions.php 2024-09-06 03:47:48 UTC (rev 14025)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-namespace WordPressdotorg\Make\Breathe;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+namespace WordPressdotorg\Make\Breathe_2024;
</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"> * Sets up theme defaults.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,7 +55,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Preload the heading font(s).
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_callable( 'global_fonts_preload' ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: Subsets can be any of cyrillic, cyrillic-ext, greek, greek-ext, vietnamese, latin, latin-ext. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $subsets = _x( 'Latin', 'Heading font subsets, comma separated', 'wporg-forums' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $subsets = _x( 'Latin', 'Heading font subsets, comma separated', 'wporg-breathe' );
</ins><span class="cx" style="display: block; padding: 0 10px"> // All headings.
</span><span class="cx" style="display: block; padding: 0 10px"> global_fonts_preload( 'Inter', $subsets );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -164,6 +164,65 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Register patterns from the patterns directory.
+ */
+function wporg_breathe_register_patterns() {
+ $pattern_directory = new \DirectoryIterator( get_stylesheet_directory() . '/patterns/' );
+ foreach ( $pattern_directory as $file ) {
+ if ( $file->isFile() ) {
+ require $file->getPathname();
+ }
+ }
+}
+add_action( 'init', __NAMESPACE__ . '\wporg_breathe_register_patterns' );
+
+/**
+ * Get the primary navigation menu object if it exists.
+ */
+function wporg_breathe_get_local_nav_menu_object() {
+ $local_nav_menu_locations = get_nav_menu_locations();
+ $local_nav_menu_object = isset( $local_nav_menu_locations['primary'] )
+ ? wp_get_nav_menu_object( $local_nav_menu_locations['primary'] )
+ : false;
+
+ return $local_nav_menu_object;
+}
+
+/**
+ * Provide a list of local navigation menus.
+ */
+function wporg_breathe_add_site_navigation_menus( $menus ) {
+ if ( is_admin() ) {
+ return;
+ }
+ $local_nav_menu_object = wporg_breathe_get_local_nav_menu_object();
+
+ if ( ! $local_nav_menu_object ) {
+ return array();
+ }
+
+ $menu_items = wp_get_nav_menu_items( $local_nav_menu_object->term_id );
+
+ if ( ! $menu_items || empty( $menu_items ) ) {
+ return array();
+ }
+
+ return array(
+ 'breathe' => array_map(
+ function( $menu_item ) {
+ return array(
+ 'label' => esc_html( $menu_item->title ),
+ 'url' => esc_url( $menu_item->url )
+ );
+ },
+ // Limit local nav items to 4
+ array_slice( $menu_items, 0, 4 )
+ )
+ );
+}
+add_filter( 'wporg_block_navigation_menus', __NAMESPACE__ . '\wporg_breathe_add_site_navigation_menus' );
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px"> * Add postMessage support for site title and description in the customizer.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Customize_Manager $wp_customize The customizer object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -285,7 +344,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> id="make-welcome-toggle"
</span><span class="cx" style="display: block; padding: 0 10px"> data-show="<?php esc_attr_e( 'Show welcome box', 'wporg' ); ?>"
</span><span class="cx" style="display: block; padding: 0 10px"> data-hide="<?php esc_attr_e( 'Hide welcome box', 'wporg' ); ?>"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ><?php _e( 'Hide welcome box', 'wporg' ); ?></button>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ><span><?php _e( 'Hide welcome box', 'wporg' ); ?></span></button>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="entry-content clear" id="make-welcome-content" data-cookie="<?php echo $cookie; ?>" data-hash="<?php echo $content_hash; ?>">
</span><span class="cx" style="display: block; padding: 0 10px"> <script type="text/javascript">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024headerphp"></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/themes/pub/wporg-breathe-2024/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/themes/pub/wporg-breathe-2024/header.php 2024-09-06 03:35:12 UTC (rev 14024)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/header.php 2024-09-06 03:47:48 UTC (rev 14025)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,23 +4,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> echo do_blocks( '<!-- wp:wporg/global-header /-->' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-?>
-<header id="masthead" class="site-header" role="banner">
- <a href="#" id="secondary-toggle" onclick="return false;"><strong><?php _e( 'Menu' ); ?></strong></a>
- <div class="site-branding">
- <?php if ( is_front_page() && is_home() ) : ?>
- <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php do_action( 'wporg_breathe_before_name', 'front' ); ?><?php bloginfo( 'name' ); ?></a></h1>
- <?php else : ?>
- <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php do_action( 'wporg_breathe_before_name', 'nonfront' ); ?><?php bloginfo( 'name' ); ?></a></p>
- <?php endif; ?>
- </div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+echo do_blocks( '<!-- wp:pattern {"slug":"wporg-breathe/local-nav"} /-->' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <nav id="site-navigation" class="navigation-main clear" role="navigation">
- <?php wp_nav_menu( array( 'theme_location' => 'primary', 'fallback_cb' => false, 'depth' => 1 ) ); ?>
- </nav><!-- .navigation-main -->
-</header><!-- .site-header -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+do_action( 'wporg_breathe_after_header' );
</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 do_action( 'wporg_breathe_after_header' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="page" class="hfeed site">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php do_action( 'before' ); ?>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024pagepledgesphp"></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/themes/pub/wporg-breathe-2024/page-pledges.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/themes/pub/wporg-breathe-2024/page-pledges.php 2024-09-06 03:35:12 UTC (rev 14024)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/page-pledges.php 2024-09-06 03:47:48 UTC (rev 14025)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Note: Pledges is a simulated page, rather than actually existing in the database; see `mu-plugins/make-network/team-pledges.php`.
</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">-namespace WordPressdotorg\Make\Breathe;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+namespace WordPressdotorg\Make\Breathe_2024;
</ins><span class="cx" style="display: block; padding: 0 10px"> use WordPressdotorg\Make\Pledges;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> defined( 'WPINC' ) || die();
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024stylecss"></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/themes/pub/wporg-breathe-2024/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/themes/pub/wporg-breathe-2024/style.css 2024-09-06 03:35:12 UTC (rev 14024)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/style.css 2024-09-06 03:47:48 UTC (rev 14025)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,15 +22,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> background-repeat: no-repeat;
</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">-body, button, input, select, textarea,
-.site-header .site-title {
- font-family: 'Open Sans', sans-serif;
- font-size: var(--wp--preset--font-size--normal);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+p,
+ul,
+ol,
+#primary,
+#secondary aside,
+.entry-meta,
+.comment-meta {
+ font-size: inherit;
+ line-height: inherit;
</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">-p, ul, ol,
-#primary,
-#secondary aside {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+p,
+ul,
+ol {
+ margin-top: var(--wp--style--block-gap);
+ margin-bottom: 0;
+}
+
+ul ul,
+ul ol,
+ol ol,
+ol ul {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-size: inherit;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -40,20 +53,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin-right: 25px;
</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">-h1 {
- font-size: 1.8em;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+h1,
+h2,
+h3,
+h4 {
+ color: var(--wp--preset--color--charcoal-1);
</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">-h2 {
- font-size: 1.6em;
-}
-
-h3 {
- font-size: 1.4em;
-}
-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+h2,
+h3,
</ins><span class="cx" style="display: block; padding: 0 10px"> h4 {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- font-size: 1.2em;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: var(--wp--preset--spacing--30) 0 0;
</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"> .entry-content .reports.ticket-reports {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -119,16 +129,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 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">-/* wp4.css overrides */
-p a,
-p a:hover {
- border-bottom: none;
-}
-
-input[type="submit"] {
- height: auto;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * 2021 global header/footer
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -168,11 +168,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: center;
</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">+.wp-block-wporg-local-navigation-bar {
+ padding-left: var(--wp--preset--spacing--edge-space);
+ padding-right: var(--wp--preset--spacing--edge-space);
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* site */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .site,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.custom-menu .site,
-.site-branding {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.custom-menu .site {
</ins><span class="cx" style="display: block; padding: 0 10px"> box-sizing: border-box;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 auto;
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: var(--wp--style--global--wide-size);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -179,73 +183,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0 var(--wp--preset--spacing--edge-space);
</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">-.site-header {
- background: #0073aa;
- float: none;
- margin: 0 0 4em;
- padding: 18px 0;
- width: auto;
-}
-
-.site-header .site-branding {
- height: 32px;
-}
-
-.site-header .site-title {
- line-height: 1;
- margin: 0;
- padding: 0;
-}
-
-.site-header .site-title a {
- color: #fff;
- font-size: 28px;
- font-weight: 300;
- line-height: 1;
-}
-
-.no-sidebar .site-header {
- background: #0073aa;
-}
-
-.no-sidebar .site-header .hgroup {
- text-align: unset;
-}
-
-.no-sidebar .site-header .site-title {
- font-size: unset;
-}
-
-@media (max-width: 510px) {
- .site-header .site-title {
- margin-top: 4px;
- }
- .site-header .site-title a {
- font-size: 17px;
- font-size: 4.5vw;
- }
-}
-
-@media (max-width: 400px) {
- .site-header .site-title {
- max-width: 295px;
- }
-}
-
-@media (max-width: 320px) {
- .site-header .site-title {
- max-width: 240px;
- }
- .site-header .site-title a {
- font-size: 13px;
- font-size: 4.2vw;
- }
-}
-
-.site-header .site-title a:hover {
- color: rgba( 255, 255, 255, 0.8 );
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .navigation-main {
</span><span class="cx" style="display: block; padding: 0 10px"> background: transparent;
</span><span class="cx" style="display: block; padding: 0 10px"> position: static;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -310,12 +247,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"> /* Adjustments for teams with SVG icons. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.wporg-make.make-openverse .site-title a::before,
-.wporg-make.make-performance .site-title a::before {
- content: '';
- width: 0;
-}
-.site-title svg {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wp-block-site-title svg {
</ins><span class="cx" style="display: block; padding: 0 10px"> height: 30px;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 30px;
</span><span class="cx" style="display: block; padding: 0 10px"> vertical-align: middle;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -352,13 +284,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * p2-breathe/style.css overrides
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body {
- line-height: 1.5;
-}
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-ul ul, ul ol,
-ol ol, ol ul {
- font-size: inherit;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+article.post .entry-content h2,
+article.post .entry-content h3,
+article.post .entry-content h4,
+article.post .entry-content h5,
+article#post-new .entry-content h2,
+article#post-new .entry-content h3,
+article#post-new .entry-content h4,
+article#post-new .entry-content h5,
+article.page .entry-content h2,
+article.page .entry-content h3,
+article.page .entry-content h4,
+article.page .entry-content h5 {
+ margin: var(--wp--preset--spacing--30) 0 0;
</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"> a,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -379,6 +318,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> color: var(--wp--custom--link--color--text, #3858e9);
</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">+a:hover,
+h1 a:hover,
+.entry-meta .entry-actions:hover a:hover,
+.comment-meta .comment-actions:hover a:hover,
+#media-buttons .button:hover,
+.responsive-link {
+ color: var(--wp--custom--link--color--text, #3858e9);
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .entry-meta .entry-date,
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-meta .entry-actions,
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-meta .entry-tags,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -407,7 +355,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> html input[type="button"],
</span><span class="cx" style="display: block; padding: 0 10px"> input[type="reset"],
</span><span class="cx" style="display: block; padding: 0 10px"> input[type="submit"] {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- text-shadow: inherit;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ text-shadow: unset;
+ box-shadow: unset;
</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"> button:hover,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -414,8 +363,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> html input[type="button"]:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> input[type="reset"]:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> input[type="submit"]:hover {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* remove box-shaddows from buttons that likely won't look good with it */
- box-shadow: inherit;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ box-shadow: unset;
</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"> @media only screen and (max-width: 480px) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -919,17 +867,14 @@
</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"> .make-welcome {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: #eee;
- /* jQuery slideUp overrides the margin, causing the animation to be a bit funky. !important stops that. */
- margin: -4em 0 4em 0 !important;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: var(--wp--preset--color--light-grey-3);
</ins><span class="cx" style="display: block; padding: 0 10px"> padding: 2em 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin-bottom: var(--wp--preset--spacing--40);
</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"> .make-welcome .entry-content {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: #333;
- line-height: 1.45;
</del><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: var(--wp--style--global--wide-size);
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 1.5rem auto;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -939,7 +884,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .make-welcome .entry-content h4,
</span><span class="cx" style="display: block; padding: 0 10px"> .make-welcome .entry-content h3,
</span><span class="cx" style="display: block; padding: 0 10px"> .make-welcome .entry-content h2 {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 14px 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ font-size: var(--wp--preset--font-size--normal);
+ font-weight: 600;
</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"> .make-welcome .entry-content p {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -946,15 +892,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline;
</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">-.make-welcome .entry-content h4,
-.make-welcome .entry-content h3,
-.make-welcome .entry-content h2,
-.make-welcome .entry-content .welcome p:first-child {
- font-weight: normal;
- font-size: 1.125em;
- font-family: "Open Sans", serif;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .make-welcome .entry-content .column {
</span><span class="cx" style="display: block; padding: 0 10px"> vertical-align: top;
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -971,10 +908,13 @@
</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"> .make-welcome .entry-meta {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 1em;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- right: 0;
- top: 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ right: var(--wp--preset--spacing--edge-space);
+ top: var(--wp--preset--spacing--20);
+ font-size: var(--wp--preset--font-size--small);
+ line-height: 1.8;
+ font-weight: normal;
</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"> .make-welcome .entry-meta .post-edit-link {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -991,8 +931,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> -webkit-appearance: none;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> text-shadow: none;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ font-size: var(--wp--preset--font-size--small);
+ line-height: 1.8;
+ font-weight: normal;
+ color: var(--wp--preset--color--charcoal-1);
</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">+.make-welcome .entry-meta .post-edit-link:hover,
+.make-welcome .entry-meta [type="button"] span:hover {
+ text-decoration: underline;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .make-welcome .entry-meta [type="button"]:focus {
</span><span class="cx" style="display: block; padding: 0 10px"> outline: thin dotted;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1026,11 +975,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 22px;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 12px 0 23px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
- .make-welcome .entry-content h4,
- .make-welcome .entry-content p {
- margin-bottom: 14px;
- }
</del><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"> @media screen and (max-width: 1000px) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1038,7 +982,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .make-welcome .entry-content .widget-area {
</span><span class="cx" style="display: block; padding: 0 10px"> clear: both;
</span><span class="cx" style="display: block; padding: 0 10px"> float: none;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- padding: 0 20px;
</del><span class="cx" style="display: block; padding: 0 10px"> width: auto;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1728,14 +1671,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 24px;
</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">-/* Override wp4.css form styles for o2 */
-#page .text {
- height: auto !important;
- background-color: white !important;
- font-family: 'Open Sans' !important;
- font-size: inherit;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .notice {
</span><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> border-left: 4px solid #fff;
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024themejson"></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/themes/pub/wporg-breathe-2024/theme.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/theme.json 2024-09-06 03:35:12 UTC (rev 14024)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/theme.json 2024-09-06 03:47:48 UTC (rev 14025)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2,6 +2,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "$schema": "https://schemas.wp.org/trunk/theme.json",
</span><span class="cx" style="display: block; padding: 0 10px"> "version": 2,
</span><span class="cx" style="display: block; padding: 0 10px"> "settings": {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "color": {
+ "palette": [
+ {
+ "slug": "light-grey-3",
+ "color": "#fbfbfb",
+ "name": "Light Grey 3"
+ }
+ ]
+ },
</ins><span class="cx" style="display: block; padding: 0 10px"> "custom": {
</span><span class="cx" style="display: block; padding: 0 10px"> "button": {
</span><span class="cx" style="display: block; padding: 0 10px"> "disabled": {
</span></span></pre>
</div>
</div>
</body>
</html>