Ticket #31: 31-meta-wporg.diff
File 31-meta-wporg.diff, 13.7 KB (added by , 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 ?> 1 2 <div id="wporg-footer"> 2 3 <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 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&href=http%3A%2F%2Fwww.facebook.com%2Fwordpress&send=false&layout=button_count&width=150&show_faces=false&action=like&colorscheme=light&font=lucida+grande&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> 18 10 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&href=http%3A%2F%2Fwww.facebook.com%2Fwordpress&send=false&layout=button_count&width=135&show_faces=false&action=like&colorscheme=light&font=lucida+grande&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:135px; height:21px;" allowTransparency="true"></iframe> 45 </li> 46 </ul> 20 47 </div> 48 49 <h6 class="aligncenter">Code is Poetry</h6> 21 50 </div> 22 51 23 52 <?php if ('wordpress.org' == $_SERVER['HTTP_HOST'] && in_array( $_SERVER['REQUEST_URI'], array( '/', '/download/', '/support/' ) ) ) : ?> -
header.php
106 106 <link rel="stylesheet" href="<?php echo $http_prefix; ?>wordpress.org/style/codex-wp4.css?3" /> 107 107 <?php endif; // codex ?> 108 108 <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" /> 110 110 <?php if ( 'rtl' == $text_direction ) : ?> 111 111 <link rel="stylesheet" href="<?php echo $http_prefix; ?>wordpress.org/style/wp4-rtl.css?3" /> 112 112 <?php endif; ?> -
wp-content/themes/showcase/header.php
8 8 elseif ( is_tag() ) 9 9 $pagetitle = 'Showcase » Tag » ' . wp_title( '', false ); 10 10 11 wp_enqueue_style( 'blog-wp4', 'http://s.wordpress.org/style/blog-wp4.css', array(), 1);11 wp_enqueue_style( 'blog-wp4', 'http://s.wordpress.org/style/blog-wp4.css', array(), 4 ); 12 12 wp_enqueue_style( 'showcase', 'http://s.wordpress.org/wp-content/themes/showcase/style.css', array(), 13 ); 13 13 require WPORGPATH . 'header.php'; 14 14 ?> -
wp-content/themes/wordpress-wordblog/header.php
2 2 global $pagetitle; 3 3 $pagetitle = wp_title('', false); 4 4 $prefix = is_ssl() ? 'https://' : 'http://s.'; 5 wp_enqueue_style( 'blog-wp4', $prefix . 'wordpress.org/style/blog-wp4.css', array(), 3);5 wp_enqueue_style( 'blog-wp4', $prefix . 'wordpress.org/style/blog-wp4.css', array(), 4 ); 6 6 require WPORGPATH . 'header.php'; 7 7 ?> 8 8 -
style/blog-wp4.css
27 27 .storycontent div.googleplus1_button { 28 28 margin-top: 0; 29 29 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
14 14 font-family: sans-serif; 15 15 line-height: 22px; 16 16 color: #444; 17 margin-bottom: 40px;18 17 } 19 18 /* -------------------------------------------- */ 20 19 20 html, body { 21 position: relative; /* this is necessary for children to properly use position: absolute */ 22 } 23 21 24 code, pre { font-family: Consolas, Monaco, "Courier New", Courier, monospace; color: #000; } 22 25 23 26 pre { … … 71 74 font-size: 80%; 72 75 } 73 76 77 78 /* =WordPress Core 79 -------------------------------------------------------------- */ 80 .alignnone { 81 margin: 5px 20px 20px 0; 82 } 83 84 .aligncenter, 85 div.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 105 a img.alignright { 106 float: right; 107 margin: 5px 0 20px 20px; 108 } 109 110 a img.alignnone { 111 margin: 5px 20px 20px 0; 112 } 113 114 a img.alignleft { 115 float: left; 116 margin: 5px 20px 20px 0; 117 } 118 119 a 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 74 163 .wrapper { 75 164 width: 960px; 76 165 margin: 0 auto; … … 881 970 882 971 #wporg-footer { 883 972 clear: both; 884 border-top: 1px solid #dedede; 885 padding: 6px 14px; 886 width: 932px; 973 overflow: auto; 974 min-width: 932px; 887 975 margin: 0 auto; 976 padding: 22px 14px 65px 14px; 977 border-top: 1px solid #dfdfdf; 978 background-color: #f7f7f7; 888 979 } 889 980 890 981 #wporg-footer .wrapper { 982 overflow: auto; 891 983 width: 932px; 892 984 } 893 985 894 #wporg-footer p { 895 font-size: 12px; 986 #wporg-footer ul { 896 987 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; 897 1000 color: #bbb; 1001 list-style-type: none; 898 1002 } 899 1003 900 #wporg-footer pa {1004 #wporg-footer ul li a { 901 1005 border: none; 902 1006 } 903 1007 904 1008 #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; 913 1014 text-indent: -9999px; 914 margin-top: 6px;1015 margin-top: 50px; 915 1016 } 916 1017 .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); 918 1019 } 919 1020 920 1021 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { 921 1022 #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); 923 1024 } 924 1025 .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); 926 1027 } 927 1028 } 928 1029 … … 1435 1536 color: #555; 1436 1537 } 1437 1538 1539 img#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 1 3 <?php 2 4 require WPORGPATH . 'footer.php'; 3 5 -
translate/glotpress/css/style.css
30 30 margin-top: 19px; 31 31 } 32 32 /* 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 { 34 39 color: #2F34B8; 35 40 } 36 a:active { 41 .gp-content a:active, 42 #gp-footer a:active { 37 43 color: red; 38 44 } 39 45 a img {