Making WordPress.org

Changeset 11424


Ignore:
Timestamp:
01/10/2022 08:24:24 AM (4 years ago)
Author:
dd32
Message:

Translate: Correct some display issues with the new header.

See https://github.com/WordPress/wporg-mu-plugins/issues/42

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php

    r11085 r11424  
    11<?php
     2
     3// Don't load the twentyfifteen styles.
     4remove_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
     5
    26wp_register_style(
    37    'wporg-translate',
    48    plugins_url( 'style.css', __FILE__ ),
    59    [ 'gp-base' ],
    6     '20210629'
     10    filemtime( __DIR__ . '/style.css' )
    711);
    812gp_enqueue_style( 'wporg-translate' );
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css

    r11074 r11424  
    4343}
    4444
     45.site-header a,
     46.site-header a:link,
     47.site-header a:visited {
     48    text-decoration: none;
     49}
     50
    4551.site-title {
    4652    display: inline-block;
     
    6672}
    6773
     74.site-header .site-title a {
     75    color: #fff;
     76}
    6877.site-header .site-title a:hover {
    6978    color: rgba( 255, 255, 255, 0.8 );
     79    border-bottom: none;
    7080}
    7181
     
    312322.actionlist a,
    313323.actionlist a:link,
    314 .actionlist a:visited,
    315 .gp-content a {
     324.actionlist a:visited {
    316325    color: #0073aa;
     326}
     327
     328.gp-content a,
     329.gp-content a:link,
     330.gp-content a:visited,
     331.gp-content a:hover {
     332    color: #0073aa;
     333    text-decoration: none;
    317334}
    318335
    319336.gp-content a:hover {
    320337    color: #00a0d2;
    321     text-decoration: none;
    322338}
    323339
     
    31083124    background-size: 11px 4px;
    31093125}
     3126
     3127/* New header support - wp4 not loaded */
     3128.wporg-make .site-title a:before {
     3129    -webkit-font-smoothing: antialiased;
     3130    display: inline-block;
     3131    font: normal 28px/1 'dashicons';
     3132    vertical-align: top;
     3133    width: 36px;
     3134}
     3135.make-polyglots .site-title a:before { content: '\f326'; }
Note: See TracChangeset for help on using the changeset viewer.