Making WordPress.org

Changeset 3671


Ignore:
Timestamp:
07/12/2016 05:41:17 PM (8 years ago)
Author:
mapk
Message:

Breathe: Improvements to column spacing, alignment, and edit link in the Welcome Box.

Fixes #1836

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php

    r3632 r3671  
    3838<div class="make-welcome-wrapper">
    3939    <span id="make-welcome-hide" class="dashicons dashicons-no" data-hash="<?php echo $content_hash; ?>" data-cookie="<?php echo $cookie; ?>" title="<?php _e( 'Hide this message', 'p2-breathe' ); ?>"></span>
     40    <?php
     41    edit_post_link( __( 'Edit', 'o2' ), '<p class="make-welcome-edit">', '</p>', $welcome->ID );
     42    ?>
    4043    <div class="make-welcome">
    4144        <?php
    4245        the_content();
    43         edit_post_link( __( 'Edit', 'o2' ), '<p class="make-welcome-edit">', '</p>', $welcome->ID );
    4446        ?>
    4547    </div>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r3658 r3671  
    333333    /* jQuery slideUp overrides the margin, causing the animation to be a bit funky. !important stops that. */
    334334    margin: -4em 0 4em 0 !important;
     335    position: relative;
     336    padding: 2em 0;
    335337}
    336338
     
    338340    position: absolute;
    339341    right: 0;
     342    top: 0;
    340343    margin: 15px;
    341344    cursor: pointer;
     345}
     346
     347.make-welcome-edit {
     348    position: absolute;
     349    right: 50px;
     350    top: 0;
     351    padding-right: 15px;
     352    border-right: 1px solid #ccc;
     353    font-size: 1.3em;
     354    line-height: 1.5;
    342355}
    343356
     
    374387
    375388.make-welcome .first-column {
    376     width: 69%;
     389    width: 71%;
    377390    display: inline-block;
    378391}
    379392
    380393.make-welcome .second-column {
    381     width: 28%;
     394    width: 25%;
    382395    float: right;
    383396}
     
    390403.make-welcome .o2-post-footer-actions {
    391404    display: none;
    392 }
    393 
    394 .make-welcome .make-welcome-edit {
    395     display: block;
    396     text-align: right;
    397     padding: 0 0 10px 0;
    398     clear: both;
    399405}
    400406
Note: See TracChangeset for help on using the changeset viewer.