Making WordPress.org

Ticket #31: 31-meta-wporg.diff

File 31-meta-wporg.diff, 13.7 KB (added by iandunn, 11 years ago)
  • footer.php

     
     1<?php // See the note in header.php about the global nature of the header/footer and the need for extensive testing when making changes ?>
    12<div id="wporg-footer">
    23        <div class="wrapper">
    3                 <p>
    4                         <a href="http://wordpress.org/about/privacy/">Privacy</a> |
    5                         <a href="http://wordpress.org/about/license/">License / GPLv2</a>
    6             &nbsp; &nbsp; See also:
    7             <a href="http://wordpress.com/?ref=wporg-footer" title="Hassle-free WP hosting">Hosted WordPress.com</a> |
    8                         <a href="http://wordpress.tv/" title="Videos, tutorials, WordCamps">WordPress.TV Videos</a> |
    9                         <a href="http://central.wordcamp.org/" title="Find a WordPress event near your home">WordCamp Events</a> |
    10                         <a href="http://buddypress.org/" title="A set of plugins to transform your WordPress into a social network">BuddyPress Social Layer</a> |
    11                         <a href="http://bbpress.org/" title="Fast, slick forums built on WordPress">bbPress Forums</a> |
    12                         <a href="http://jobs.wordpress.net/" title="Find or post WordPress jobs">WP Jobs</a> |
    13             <a href="http://ma.tt/" title="Co-founder of WordPress, an example of what WordPress can do">Matt</a>
    14                 </p>
    15 <br />
    16 <iframe src="//www.facebook.com/plugins/like.php?app_id=121415197926116&amp;href=http%3A%2F%2Fwww.facebook.com%2Fwordpress&amp;send=false&amp;layout=button_count&amp;width=150&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=lucida+grande&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>
    17 <iframe allowtransparency="true" frameborder="0" scrolling="no" src="//platform.twitter.com/widgets/follow_button.html?screen_name=WordPress&show_count=false" style="width:150px; height:20px;"></iframe>
     4                <ul>
     5                        <li><a href="http://wordpress.org/about/" title="An introduction to the WordPress project">About</a></li>
     6                        <li><a href="http://wordpress.org/news/" title="News and Updates">Blog</a></li>
     7                        <li><a href="http://wordpress.org/hosting/" title="Recommended web hosting providers">Hosting</a></li>
     8                        <li><a href="http://jobs.wordpress.net/" title="Find or post WordPress jobs">Jobs</a></li>
     9                </ul>
    1810
    19                 <h6>Code is Poetry</h6>
     11                <ul>
     12                        <li><a href="http://wordpress.org/support/" title="Forums, documentation, and other resources">Support</a></li>
     13                        <?php // <li><a href="http://developer.wordpress.org" title="Resources for WordPress developers">Developer</a></li> ?>
     14                        <li><a href="http://make.wordpress.org/" title="Give back to WordPress through code, support, translation and more">Get Involved</a></li>
     15                        <li><a href="http://learn.wordpress.org/" title="Workshops and training materials">Learn</a></li>
     16                </ul>
     17
     18                <ul>
     19                        <li><a href="http://wordpress.org/showcase/" title="Some of the best WordPress sites on the Web">Showcase</a></li>
     20                        <li><a href="http://wordpress.org/plugins/" title="Add extra functionality to WordPress">Plugins</a></li>
     21                        <li><a href="http://wordpress.org/themes/" title="Make your WordPress pretty">Themes</a></li>
     22                        <li><a href="http://wordpress.org/ideas/" title="Share your ideas for improving WordPress">Ideas</a></li>
     23                </ul>
     24
     25                <ul>
     26                        <li><a href="http://central.wordcamp.org/" title="Find a WordPress event near you">WordCamp</a></li>
     27                        <li><a href="http://wordpress.tv/" title="Videos, tutorials, and WordCamp sessions">WordPress.TV</a></li>
     28                        <li><a href="http://buddypress.org/" title="A set of plugins to transform your WordPress into a social network">BuddyPress</a></li>
     29                        <li><a href="http://bbpress.org/" title="Fast, slick forums built on WordPress">bbPress</a></li>
     30                </ul>
     31
     32                <ul>
     33                        <li><a href="http://wordpress.com/?ref=wporg-footer" title="Hassle-free WordPress hosting">WordPress.com</a></li>
     34                        <li><a href="http://ma.tt/" title="Co-founder of WordPress, an example of what WordPress can do">Matt</a></li>
     35                        <li><a href="http://wordpress.org/about/privacy/" title="WordPress.org Privacy Policy">Privacy</a></li>
     36                        <li><a href="http://wordpress.org/about/license/" title="WordPress is open source software">License / GPLv2</a></li>
     37                </ul>
     38
     39                <ul>
     40                        <li>
     41                                <iframe allowtransparency="true" frameborder="0" scrolling="no" src="//platform.twitter.com/widgets/follow_button.html?screen_name=WordPress&show_count=false" style="width:135px; height:20px;"></iframe>
     42                        </li>
     43                        <li>
     44                                <iframe src="//www.facebook.com/plugins/like.php?app_id=121415197926116&amp;href=http%3A%2F%2Fwww.facebook.com%2Fwordpress&amp;send=false&amp;layout=button_count&amp;width=135&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=lucida+grande&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:135px; height:21px;" allowTransparency="true"></iframe>
     45                        </li>
     46                </ul>
    2047        </div>
     48
     49        <h6 class="aligncenter">Code is Poetry</h6>
    2150</div>
    2251
    2352<?php if ('wordpress.org' == $_SERVER['HTTP_HOST'] && in_array( $_SERVER['REQUEST_URI'], array( '/', '/download/', '/support/' ) ) ) : ?>
  • header.php

     
    106106<link rel="stylesheet" href="<?php echo $http_prefix; ?>wordpress.org/style/codex-wp4.css?3" />
    107107<?php endif; // codex ?>
    108108<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic' rel='stylesheet' type='text/css'>
    109 <link rel="stylesheet" href="<?php echo $http_prefix; ?>wordpress.org/style/wp4.css?39" />
     109<link rel="stylesheet" href="<?php echo $http_prefix; ?>wordpress.org/style/wp4.css?40" />
    110110<?php if ( 'rtl' == $text_direction ) : ?>
    111111<link rel="stylesheet" href="<?php echo $http_prefix; ?>wordpress.org/style/wp4-rtl.css?3" />
    112112<?php endif; ?>
  • wp-content/themes/showcase/header.php

     
    88elseif ( is_tag() )
    99        $pagetitle = 'Showcase &raquo; Tag &raquo; ' . wp_title( '', false );
    1010
    11 wp_enqueue_style( 'blog-wp4', 'http://s.wordpress.org/style/blog-wp4.css', array(), 1 );
     11wp_enqueue_style( 'blog-wp4', 'http://s.wordpress.org/style/blog-wp4.css', array(), 4 );
    1212wp_enqueue_style( 'showcase', 'http://s.wordpress.org/wp-content/themes/showcase/style.css', array(), 13 );
    1313require WPORGPATH . 'header.php';
    1414?>
  • wp-content/themes/wordpress-wordblog/header.php

     
    22global $pagetitle;
    33$pagetitle = wp_title('', false);
    44$prefix = is_ssl() ? 'https://' : 'http://s.';
    5 wp_enqueue_style( 'blog-wp4', $prefix . 'wordpress.org/style/blog-wp4.css', array(), 3 );
     5wp_enqueue_style( 'blog-wp4', $prefix . 'wordpress.org/style/blog-wp4.css', array(), 4 );
    66require WPORGPATH . 'header.php';
    77?>
    88
  • style/blog-wp4.css

     
    2727.storycontent div.googleplus1_button {
    2828        margin-top: 0;
    2929        margin-bottom: 0;
    30 }
    31 
    32 /* =WordPress Core
    33 -------------------------------------------------------------- */
    34 .alignnone {
    35     margin: 5px 20px 20px 0;
    36 }
    37 
    38 .aligncenter,
    39 div.aligncenter {
    40     display: block;
    41     margin: 5px auto 5px auto;
    42 }
    43 
    44 .alignright {
    45     float:right;
    46     margin: 5px 0 20px 20px;
    47 }
    48 
    49 .alignleft {
    50     float: left;
    51     margin: 5px 20px 20px 0;
    52 }
    53 
    54 .aligncenter {
    55     display: block;
    56     margin: 5px auto 5px auto;
    57 }
    58 
    59 a img.alignright {
    60     float: right;
    61     margin: 5px 0 20px 20px;
    62 }
    63 
    64 a img.alignnone {
    65     margin: 5px 20px 20px 0;
    66 }
    67 
    68 a img.alignleft {
    69     float: left;
    70     margin: 5px 20px 20px 0;
    71 }
    72 
    73 a img.aligncenter {
    74     display: block;
    75     margin-left: auto;
    76     margin-right: auto
    77 }
    78 
    79 .wp-caption {
    80     background: #fff;
    81     border: 1px solid #f0f0f0;
    82     max-width: 96%; /* Image does not overflow the content area */
    83     padding: 5px 3px 10px;
    84     text-align: center;
    85 }
    86 
    87 .wp-caption.alignnone {
    88     margin: 5px 20px 20px 0;
    89 }
    90 
    91 .wp-caption.alignleft {
    92     margin: 5px 20px 20px 0;
    93 }
    94 
    95 .wp-caption.alignright {
    96     margin: 5px 0 20px 20px;
    97 }
    98 
    99 .wp-caption img {
    100     border: 0 none;
    101     height: auto;
    102     margin: 0;
    103     max-width: 98.5%;
    104     padding: 0;
    105     width: auto;
    106 }
    107 
    108 .wp-caption p.wp-caption-text {
    109     font-size: 11px;
    110     line-height: 17px;
    111     margin: 0;
    112     padding: 0 4px 5px;
    113 }
    114 
     30}
     31 No newline at end of file
  • style/wp4.css

    Cannot display: file marked as a binary type.
    svn:mime-type = image/png
    Cannot display: file marked as a binary type.
    svn:mime-type = image/png
     
    1414        font-family: sans-serif;
    1515        line-height: 22px;
    1616        color: #444;
    17         margin-bottom: 40px;
    1817}
    1918/* -------------------------------------------- */
    2019
     20html, body {
     21        position: relative;  /* this is necessary for children to properly use position: absolute */
     22}
     23
    2124code, pre { font-family: Consolas, Monaco, "Courier New", Courier, monospace; color: #000; }
    2225
    2326pre {
     
    7174        font-size: 80%;
    7275}
    7376
     77
     78/* =WordPress Core
     79-------------------------------------------------------------- */
     80.alignnone {
     81        margin: 5px 20px 20px 0;
     82}
     83
     84.aligncenter,
     85div.aligncenter {
     86        display: block;
     87        margin: 5px auto 5px auto;
     88}
     89
     90.alignright {
     91        float:right;
     92        margin: 5px 0 20px 20px;
     93}
     94
     95.alignleft {
     96        float: left;
     97        margin: 5px 20px 20px 0;
     98}
     99
     100.aligncenter {
     101        display: block;
     102        margin: 5px auto 5px auto;
     103}
     104
     105a img.alignright {
     106        float: right;
     107        margin: 5px 0 20px 20px;
     108}
     109
     110a img.alignnone {
     111        margin: 5px 20px 20px 0;
     112}
     113
     114a img.alignleft {
     115        float: left;
     116        margin: 5px 20px 20px 0;
     117}
     118
     119a img.aligncenter {
     120        display: block;
     121        margin-left: auto;
     122        margin-right: auto
     123}
     124
     125.wp-caption {
     126        background: #fff;
     127        border: 1px solid #f0f0f0;
     128        max-width: 96%; /* Image does not overflow the content area */
     129        padding: 5px 3px 10px;
     130        text-align: center;
     131}
     132
     133.wp-caption.alignnone {
     134        margin: 5px 20px 20px 0;
     135}
     136
     137.wp-caption.alignleft {
     138        margin: 5px 20px 20px 0;
     139}
     140
     141.wp-caption.alignright {
     142        margin: 5px 0 20px 20px;
     143}
     144
     145.wp-caption img {
     146        border: 0 none;
     147        height: auto;
     148        margin: 0;
     149        max-width: 98.5%;
     150        padding: 0;
     151        width: auto;
     152}
     153
     154.wp-caption p.wp-caption-text {
     155        font-size: 11px;
     156        line-height: 17px;
     157        margin: 0;
     158        padding: 0 4px 5px;
     159}
     160
     161/* */
     162
    74163.wrapper {
    75164        width: 960px;
    76165        margin: 0 auto;
     
    881970
    882971#wporg-footer {
    883972        clear: both;
    884         border-top: 1px solid #dedede;
    885         padding: 6px 14px;
    886         width: 932px;
     973        overflow: auto;
     974        min-width: 932px;
    887975        margin: 0 auto;
     976        padding: 22px 14px 65px 14px;
     977        border-top: 1px solid #dfdfdf;
     978        background-color: #f7f7f7;
    888979}
    889980
    890981#wporg-footer .wrapper {
     982        overflow: auto;
    891983        width: 932px;
    892984}
    893985
    894 #wporg-footer p {
    895         font-size: 12px;
     986#wporg-footer ul {
    896987        float: left;
     988        overflow: auto;
     989        width: 135px;
     990        margin-left: 24px;
     991}
     992
     993#wporg-footer ul:first-child {
     994        margin-left: 0;
     995}
     996
     997#wporg-footer ul li {
     998        font-size: 14px;
     999        margin-bottom: 1px;
    8971000        color: #bbb;
     1001        list-style-type: none;
    8981002}
    8991003
    900 #wporg-footer p a {
     1004#wporg-footer ul li a {
    9011005        border: none;
    9021006}
    9031007
    9041008#wporg-footer h6 {
    905         float: right;
    906 }
    907 
    908 #wporg-footer h6 {
    909         background: url(http://s.wordpress.org/style/images/codeispoetry.png?1) center center no-repeat;
    910         background-size: 133px 11px;
    911         width: 133px;
    912         height: 11px;
     1009        clear: both;
     1010        background: url(http://s.wordpress.org/style/images/codeispoetry.png?2) center center no-repeat;
     1011        background-size: 190px 15px;
     1012        width: 190px;
     1013        height: 15px;
    9131014        text-indent: -9999px;
    914         margin-top: 6px;
     1015        margin-top: 50px;
    9151016}
    9161017.no-static #wporg-footer h6 {
    917         background-image: url(//wordpress.org/style/images/codeispoetry.png?1);
     1018        background-image: url(//wordpress.org/style/images/codeispoetry.png?2);
    9181019}
    9191020
    9201021@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    9211022        #wporg-footer h6 {
    922                 background-image: url(http://s.wordpress.org/style/images/codeispoetry-2x.png);
     1023                background-image: url(http://s.wordpress.org/style/images/codeispoetry-2x.png?2);
    9231024        }
    9241025        .no-static #wporg-footer h6 {
    925                 background-image: url(//wordpress.org/style/images/codeispoetry-2x.png);
     1026                background-image: url(//wordpress.org/style/images/codeispoetry-2x.png?2);
    9261027        }
    9271028}
    9281029
     
    14351536        color: #555;
    14361537}
    14371538
     1539img#wpstats {
     1540        position: absolute;
     1541        left: 5px;
     1542        bottom: 5px;
     1543}
     1544 No newline at end of file
  • wp-content/themes/pub/wporg-learn/footer.php

     
     1</div> <!-- /#wrapper -->
     2
    13<?php
    24require WPORGPATH . 'footer.php';
    35
  • translate/glotpress/css/style.css

     
    3030        margin-top: 19px;
    3131}
    3232/* we take the liberty to make visited the same as link */
    33 a, a:link, a:visited {
     33.gp-content a,
     34.gp-content a:link,
     35.gp-content a:visited,
     36#gp-footer a,
     37#gp-footer a:link,
     38#gp-footer a:visited {
    3439    color: #2F34B8;
    3540}
    36 a:active {
     41.gp-content a:active,
     42#gp-footer a:active {
    3743    color: red;
    3844}
    3945a img {