Changeset 4790
- Timestamp:
- 01/25/2017 11:34:06 PM (8 years ago)
- 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/single-handbook.php
r4251 r4790 10 10 <?php $is_landing_page = wporg_is_handbook_landing_page(); ?> 11 11 12 <?php get_sidebar( 'handbook' ); ?> 13 12 14 <?php if ( ! $is_landing_page && 'handbook' !== wporg_get_current_handbook() ) { ?> 13 <div class="handbook-name"><span><a href="<?php echo esc_url( get_post_type_archive_link( wporg_get_current_handbook() ) ); ?>"><?php echo esc_html( wporg_get_current_handbook_name() ); ?></a></span></div> 15 <div class="handbook-name-container"> 16 <div class="handbook-name"><span> 17 <a href="<?php echo esc_url( get_post_type_archive_link( wporg_get_current_handbook() ) ); ?>"><?php echo esc_html( wporg_get_current_handbook_name() ); ?></a> 18 </span></div> 19 </div> 14 20 <?php } ?> 15 16 <?php get_sidebar( 'handbook' ); ?>17 21 18 22 <div id="primary" class="content-area"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css
r4789 r4790 772 772 } 773 773 774 .handbook-name-container { 775 position: absolute; 776 right: 0; 777 width: 75%; 778 margin-left: 25%; 779 background-color: #fff; 780 } 781 782 @media(max-width: 876px) { 783 .handbook-name-container { 784 width: 100%; 785 margin-left: 0; 786 } 787 } 788 774 789 .handbook-name { 775 790 text-align: center; 776 791 color: #aaa; 777 margin- bottom: 1.5em;792 margin-top: 0.5em; 778 793 overflow: hidden; 779 794 letter-spacing: 2px; … … 792 807 border-top: 1px solid #ccc; 793 808 top: 49%; 794 width: 600px;809 width: 100px; 795 810 } 796 811 .handbook-name span:before { 797 right: 100%;798 margin- right:10px;812 left: 0; 813 margin-left: -110px; 799 814 } 800 815 .handbook-name span:after { 801 left: 100%;802 margin- left:10px;816 right: 0; 817 margin-right: -110px; 803 818 } 804 819
Note: See TracChangeset
for help on using the changeset viewer.