<!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>[14034] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024: Make 2024: Complete local nav and welcome box styling</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/14034">14034</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/14034","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-09 23:44:52 +0000 (Mon, 09 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: Complete local nav and welcome box styling
See https://github.com/WordPress/wordpress.org/issues/363</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024patternslocalnavphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/patterns/local-nav.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>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgbreathe2024patternslocalnavphp"></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/patterns/local-nav.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/patterns/local-nav.php 2024-09-09 21:53:54 UTC (rev 14033)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/patterns/local-nav.php 2024-09-09 23:44:52 UTC (rev 14034)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,8 +1,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> ob_start();
</span><span class="cx" style="display: block; padding: 0 10px"> do_action('wporg_breathe_before_name', 'front');
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$team_icon = ob_get_clean();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$before_name_front = ob_get_clean();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ob_start();
+do_action('wporg_breathe_before_name', 'nonfront');
+$before_name_nonfront = ob_get_clean();
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( function_exists( 'register_block_pattern' ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> register_block_pattern(
</span><span class="cx" style="display: block; padding: 0 10px"> 'wporg-breathe/local-nav',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,7 +23,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:wporg/local-navigation-bar -->',
</span><span class="cx" style="display: block; padding: 0 10px"> esc_url( home_url() ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $team_icon,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ is_front_page() && is_home() ? $before_name_front : $before_name_nonfront,
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html( get_bloginfo('name') )
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> )
</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-09 21:53:54 UTC (rev 14033)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/style.css 2024-09-09 23:44:52 UTC (rev 14034)
</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"> /*
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Theme Name: WordPress.org Breathe
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Theme Name: WordPress.org Breathe 2024
</ins><span class="cx" style="display: block; padding: 0 10px"> * Template: p2-breathe
</span><span class="cx" style="display: block; padding: 0 10px"> * Description: Child theme of P2 Breathe, with modifications specifically for WordPress.org.
</span><span class="cx" style="display: block; padding: 0 10px"> * Supports Oxygen: true
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -265,7 +265,60 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 0.75em;
</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">+/* Title icon */
+
+.wporg-make .wp-block-site-title a:before,
+body.wporg-make #headline h2 a:before {
+ -webkit-font-smoothing: antialiased;
+ display: inline-block;
+ font: normal 24px/1 'dashicons';
+ vertical-align: middle;
+ width: 32px;
+}
+
+body.make-core #headline h2 a:before { content: '\f475'; }
+body.make-design #headline h2 a:before { content: '\f309'; }
+body.make-mobile #headline h2 a:before { content: '\f470'; }
+body.make-accessibility #headline h2 a:before { content: '\f483'; }
+body.make-polyglots #headline h2 a:before { content: '\f326'; }
+body.make-support #headline h2 a:before { content: '\f125'; }
+body.make-themes #headline h2 a:before { content: '\f100'; }
+body.make-plugins #headline h2 a:before { content: '\f106'; }
+body.make-docs #headline h2 a:before { content: '\f105'; }
+body.make-community #headline h2 a:before { content: '\f307'; }
+body.make-meta #headline h2 a:before { content: '\f325'; }
+body.make-training #headline h2 a:before { content: '\f118'; }
+body.make-flow #headline h2 a:before { content: '\f115'; }
+body.make-tv #headline h2 a:before { content: '\f235'; }
+body.make-marketing #headline h2 a:before { content: '\f130'; }
+body.make-cli #headline h2 a:before { content: '\f345'; }
+body.make-hosting #headline h2 a:before { content: '\f176'; }
+
+.make-core .wp-block-site-title a:before { content: '\f475'; }
+.make-design .wp-block-site-title a:before { content: '\f309'; }
+.make-mobile .wp-block-site-title a:before { content: '\f470'; }
+.make-accessibility .wp-block-site-title a:before { content: '\f483'; }
+.make-polyglots .wp-block-site-title a:before { content: '\f326'; }
+.make-support .wp-block-site-title a:before { content: '\f125'; }
+.make-themes .wp-block-site-title a:before { content: '\f100'; }
+.make-plugins .wp-block-site-title a:before { content: '\f106'; }
+.make-docs .wp-block-site-title a:before { content: '\f105'; }
+.make-community .wp-block-site-title a:before { content: '\f307'; }
+.make-meta .wp-block-site-title a:before { content: '\f325'; }
+.make-training .wp-block-site-title a:before { content: '\f118'; }
+.make-systems .wp-block-site-title a:before { content: '\f107'; }
+.make-flow .wp-block-site-title a:before { content: '\f115'; }
+.make-tv .wp-block-site-title a:before { content: '\f235'; }
+.make-marketing .wp-block-site-title a:before { content: '\f130'; }
+.make-cli .wp-block-site-title a:before { content: '\f345'; }
+.make-hosting .wp-block-site-title a:before { content: '\f176'; }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Adjustments for teams with SVG icons. */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wporg-make.make-openverse .wp-block-site-title a::before,
+.wporg-make.make-performance .wp-block-site-title a::before {
+ display: none;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .wp-block-site-title svg {
</span><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="lines" style="display: block; padding: 0 10px; color: #888">@@ -272,6 +325,45 @@
</span><span class="cx" style="display: block; padding: 0 10px"> vertical-align: middle;
</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">+/* Post form */
+
+.o2-editor .o2-editor-wrapper {
+ border-radius: 2px;
+ border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
+}
+
+.o2-editor .o2-editor-footer .o2-editor-tabs li.selected a {
+ border-top: 1px #fff solid;
+ background: #fff;
+}
+
+.o2-editor .o2-editor-footer .o2-editor-tabs li a {
+ padding: 0.25em 1.2em 0.5em 1.2em;
+ background: var(--wp--preset--color--light-grey-2);
+ border: 1px solid var(--wp--preset--color--charcoal-5);
+ border-top: 1px solid var(--wp--preset--color--light-grey-2);
+ vertical-align: middle;
+ -webkit-border-bottom-left-radius: 3px;
+ -webkit-border-bottom-right-radius: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ -moz-border-radius-bottomright: 3px;
+ border-bottom-left-radius: 2px;
+ border-bottom-right-radius: 2px;
+ font-family: "Inter", sans-serif;
+ font-size: 12px;
+ border-left: 0px;
+}
+
+.o2-editor .o2-editor-footer .o2-editor-tabs li:first-of-type {
+ border-left: 1px solid var(--wp--preset--color--charcoal-5);
+}
+
+.o2-editor .o2-editor-footer .o2-editor-tabs li a:before {
+ content: none;
+}
+
+/* Sidebar */
+
</ins><span class="cx" style="display: block; padding: 0 10px"> #secondary-content a {
</span><span class="cx" style="display: block; padding: 0 10px"> overflow-wrap: anywhere;
</span><span class="cx" style="display: block; padding: 0 10px"> text-decoration: underline;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -499,11 +591,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 3rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .widget_search input[type="search"], #subscribe-email input[type="email"] {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- width: 90%;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ width: 100%;
</ins><span class="cx" style="display: block; padding: 0 10px"> box-sizing: border-box;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 1rem;
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 14px;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid #eee;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-radius: 2px;
</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"> #secondary-content .widget {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -544,15 +636,25 @@
</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">+article.post .o2-post,
+article#post-new .o2-post,
+article.page .o2-post {
+ padding-top: var(--wp--preset--spacing--50);
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .o2-post {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-top: 2px solid #ddd;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-top: 1px solid var(--wp--custom--color--border);
+ margin-top: 40px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .o2-post .o2-post {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-top: 1px solid #ddd;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-top-width: 1px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .page .o2-post {
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0 !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .page .o2-post .entry-content {
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -560,14 +662,26 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .o2-post #searchform {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 1.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .o2-post #searchform:last-child {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 5em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .o2-post #searchform #searchsubmit {
</span><span class="cx" style="display: block; padding: 0 10px"> height: 33.5px;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-bottom: .6em;
</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">+.single-post article.post .o2-post {
+ padding-top: 0;
+ margin-top: 0;
+ border-top: none;
+}
+
+.o2-post-comments .o2-comment .comment-content {
+ margin-left: 45px;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> pre, code {
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 0.9em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -923,7 +1037,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"> .make-welcome .entry-meta {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 0 !important;
</ins><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> right: var(--wp--preset--spacing--edge-space);
</span><span class="cx" style="display: block; padding: 0 10px"> top: var(--wp--preset--spacing--20);
</span></span></pre>
</div>
</div>
</body>
</html>