Changeset 14034
- Timestamp:
- 09/09/2024 11:44:52 PM (8 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/patterns/local-nav.php
r14030 r14034 2 2 ob_start(); 3 3 do_action('wporg_breathe_before_name', 'front'); 4 $team_icon = ob_get_clean(); 4 $before_name_front = ob_get_clean(); 5 6 ob_start(); 7 do_action('wporg_breathe_before_name', 'nonfront'); 8 $before_name_nonfront = ob_get_clean(); 5 9 6 10 if ( function_exists( 'register_block_pattern' ) ) { … … 20 24 <!-- /wp:wporg/local-navigation-bar -->', 21 25 esc_url( home_url() ), 22 $team_icon,26 is_front_page() && is_home() ? $before_name_front : $before_name_nonfront, 23 27 esc_html( get_bloginfo('name') ) 24 28 ), -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/style.css
r14026 r14034 1 1 /* 2 * Theme Name: WordPress.org Breathe 2 * Theme Name: WordPress.org Breathe 2024 3 3 * Template: p2-breathe 4 4 * Description: Child theme of P2 Breathe, with modifications specifically for WordPress.org. … … 266 266 } 267 267 268 /* Title icon */ 269 270 .wporg-make .wp-block-site-title a:before, 271 body.wporg-make #headline h2 a:before { 272 -webkit-font-smoothing: antialiased; 273 display: inline-block; 274 font: normal 24px/1 'dashicons'; 275 vertical-align: middle; 276 width: 32px; 277 } 278 279 body.make-core #headline h2 a:before { content: '\f475'; } 280 body.make-design #headline h2 a:before { content: '\f309'; } 281 body.make-mobile #headline h2 a:before { content: '\f470'; } 282 body.make-accessibility #headline h2 a:before { content: '\f483'; } 283 body.make-polyglots #headline h2 a:before { content: '\f326'; } 284 body.make-support #headline h2 a:before { content: '\f125'; } 285 body.make-themes #headline h2 a:before { content: '\f100'; } 286 body.make-plugins #headline h2 a:before { content: '\f106'; } 287 body.make-docs #headline h2 a:before { content: '\f105'; } 288 body.make-community #headline h2 a:before { content: '\f307'; } 289 body.make-meta #headline h2 a:before { content: '\f325'; } 290 body.make-training #headline h2 a:before { content: '\f118'; } 291 body.make-flow #headline h2 a:before { content: '\f115'; } 292 body.make-tv #headline h2 a:before { content: '\f235'; } 293 body.make-marketing #headline h2 a:before { content: '\f130'; } 294 body.make-cli #headline h2 a:before { content: '\f345'; } 295 body.make-hosting #headline h2 a:before { content: '\f176'; } 296 297 .make-core .wp-block-site-title a:before { content: '\f475'; } 298 .make-design .wp-block-site-title a:before { content: '\f309'; } 299 .make-mobile .wp-block-site-title a:before { content: '\f470'; } 300 .make-accessibility .wp-block-site-title a:before { content: '\f483'; } 301 .make-polyglots .wp-block-site-title a:before { content: '\f326'; } 302 .make-support .wp-block-site-title a:before { content: '\f125'; } 303 .make-themes .wp-block-site-title a:before { content: '\f100'; } 304 .make-plugins .wp-block-site-title a:before { content: '\f106'; } 305 .make-docs .wp-block-site-title a:before { content: '\f105'; } 306 .make-community .wp-block-site-title a:before { content: '\f307'; } 307 .make-meta .wp-block-site-title a:before { content: '\f325'; } 308 .make-training .wp-block-site-title a:before { content: '\f118'; } 309 .make-systems .wp-block-site-title a:before { content: '\f107'; } 310 .make-flow .wp-block-site-title a:before { content: '\f115'; } 311 .make-tv .wp-block-site-title a:before { content: '\f235'; } 312 .make-marketing .wp-block-site-title a:before { content: '\f130'; } 313 .make-cli .wp-block-site-title a:before { content: '\f345'; } 314 .make-hosting .wp-block-site-title a:before { content: '\f176'; } 315 268 316 /* Adjustments for teams with SVG icons. */ 317 .wporg-make.make-openverse .wp-block-site-title a::before, 318 .wporg-make.make-performance .wp-block-site-title a::before { 319 display: none; 320 } 321 269 322 .wp-block-site-title svg { 270 323 height: 30px; … … 272 325 vertical-align: middle; 273 326 } 327 328 /* Post form */ 329 330 .o2-editor .o2-editor-wrapper { 331 border-radius: 2px; 332 border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color); 333 } 334 335 .o2-editor .o2-editor-footer .o2-editor-tabs li.selected a { 336 border-top: 1px #fff solid; 337 background: #fff; 338 } 339 340 .o2-editor .o2-editor-footer .o2-editor-tabs li a { 341 padding: 0.25em 1.2em 0.5em 1.2em; 342 background: var(--wp--preset--color--light-grey-2); 343 border: 1px solid var(--wp--preset--color--charcoal-5); 344 border-top: 1px solid var(--wp--preset--color--light-grey-2); 345 vertical-align: middle; 346 -webkit-border-bottom-left-radius: 3px; 347 -webkit-border-bottom-right-radius: 3px; 348 -moz-border-radius-bottomleft: 3px; 349 -moz-border-radius-bottomright: 3px; 350 border-bottom-left-radius: 2px; 351 border-bottom-right-radius: 2px; 352 font-family: "Inter", sans-serif; 353 font-size: 12px; 354 border-left: 0px; 355 } 356 357 .o2-editor .o2-editor-footer .o2-editor-tabs li:first-of-type { 358 border-left: 1px solid var(--wp--preset--color--charcoal-5); 359 } 360 361 .o2-editor .o2-editor-footer .o2-editor-tabs li a:before { 362 content: none; 363 } 364 365 /* Sidebar */ 274 366 275 367 #secondary-content a { … … 500 592 } 501 593 .widget_search input[type="search"], #subscribe-email input[type="email"] { 502 width: 90%;594 width: 100%; 503 595 box-sizing: border-box; 504 596 padding: 1rem; 505 597 font-size: 14px; 506 border : 1px solid #eee;598 border-radius: 2px; 507 599 } 508 600 … … 545 637 } 546 638 639 article.post .o2-post, 640 article#post-new .o2-post, 641 article.page .o2-post { 642 padding-top: var(--wp--preset--spacing--50); 643 } 644 547 645 .o2-post { 548 border-top: 2px solid #ddd; 549 } 646 border-top: 1px solid var(--wp--custom--color--border); 647 margin-top: 40px; 648 } 649 550 650 .o2-post .o2-post { 551 border-top: 1px solid #ddd; 552 } 651 border-top-width: 1px; 652 } 653 553 654 .page .o2-post { 554 655 padding: 0 !important; 555 656 } 657 556 658 .page .o2-post .entry-content { 557 659 padding: 0; … … 561 663 margin-bottom: 1.5em; 562 664 } 665 563 666 .o2-post #searchform:last-child { 564 667 margin-bottom: 5em; 565 668 } 669 566 670 .o2-post #searchform #searchsubmit { 567 671 height: 33.5px; 568 672 padding-bottom: .6em; 673 } 674 675 .single-post article.post .o2-post { 676 padding-top: 0; 677 margin-top: 0; 678 border-top: none; 679 } 680 681 .o2-post-comments .o2-comment .comment-content { 682 margin-left: 45px; 569 683 } 570 684 … … 924 1038 925 1039 .make-welcome .entry-meta { 926 margin: 0 ;1040 margin: 0 !important; 927 1041 position: absolute; 928 1042 right: var(--wp--preset--spacing--edge-space);
Note: See TracChangeset
for help on using the changeset viewer.