Changeset 3336
- Timestamp:
- 06/12/2016 07:22:20 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/404.php
r3193 r3336 12 12 get_header(); ?> 13 13 14 <div id="primary" class="content-area"> 15 <main id="main" class="site-main" role="main"> 14 <main id="main" class="site-main" role="main"> 16 15 17 18 19 20 16 <section class="error-404 not-found"> 17 <header class="page-header"> 18 <h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'wporg-plugins' ); ?></h1> 19 </header><!-- .page-header --> 21 20 22 23 <p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'wporg-plugins'); ?></p>21 <div class="page-content"> 22 <p><?php printf( __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg-plugins' ), get_home_url() ); ?></p> 24 23 25 <?php 26 get_search_form(); 24 <div class="logo-swing"> 25 <span class="dashicons dashicons-wordpress wp-logo"></span> 26 <span class="dashicons dashicons-wordpress wp-logo hinge"></span> 27 </div> 28 <script> 29 setTimeout( function() { 30 jQuery( '.hinge' ).hide(); 31 }, 1900 ); 32 </script> 33 </div><!-- .page-content --> 34 </section><!-- .error-404 --> 27 35 28 the_widget( 'WP_Widget_Recent_Posts' ); 29 30 // Only show the widget if site has multiple categories. 31 if ( wporg_plugins_categorized_blog() ) : 32 ?> 33 34 <div class="widget widget_categories"> 35 <h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'wporg-plugins' ); ?></h2> 36 <ul> 37 <?php 38 wp_list_categories( array( 39 'orderby' => 'count', 40 'order' => 'DESC', 41 'show_count' => 1, 42 'title_li' => '', 43 'number' => 10, 44 ) ); 45 ?> 46 </ul> 47 </div><!-- .widget --> 48 49 <?php 50 endif; 51 52 /* translators: %1$s: smiley */ 53 $archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'wporg-plugins' ), convert_smilies( ':)' ) ) . '</p>'; 54 the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" ); 55 56 the_widget( 'WP_Widget_Tag_Cloud' ); 57 ?> 58 59 </div><!-- .page-content --> 60 </section><!-- .error-404 --> 61 62 </main><!-- #main --> 63 </div><!-- #primary --> 36 </main><!-- #main --> 64 37 65 38 <?php -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css
r3261 r3336 299 299 p { 300 300 margin: 1em 0; 301 max-width: 35.527136788rem;302 301 } 303 302 304 303 p.subheading { 305 color: #82878 C;304 color: #82878c; 306 305 font-size: 1.25rem; 307 306 font-weight: 300; … … 396 395 397 396 hr { 398 background-color: # ccc;397 background-color: #eee; 399 398 border: 0; 400 399 height: 1px; … … 1764 1763 1765 1764 /*-------------------------------------------------------------- 1765 ## 404 1766 --------------------------------------------------------------*/ 1767 .error404 { 1768 background: #0073aa; 1769 color: #fff; 1770 } 1771 1772 .error404 .page-title { 1773 text-align: center; 1774 } 1775 1776 .error404 .page-content { 1777 text-align: center; 1778 } 1779 1780 .error404 .page-content a, .error404 .page-content .single .type-plugin .entry-content .section-toggle, .single .type-plugin .entry-content .error404 .page-content .section-toggle { 1781 color: #fff; 1782 text-decoration: underline; 1783 } 1784 1785 .error404 .page-content .logo-swing { 1786 height: 160px; 1787 height: 10rem; 1788 margin: 96px auto; 1789 margin: 6rem auto; 1790 position: relative; 1791 text-align: center; 1792 width: 160px; 1793 width: 10rem; 1794 } 1795 1796 .error404 .page-content .logo-swing .dashicons-wordpress { 1797 position: absolute; 1798 top: 0; 1799 left: 0; 1800 max-width: none; 1801 width: 160px; 1802 width: 10rem; 1803 } 1804 1805 .error404 .page-content .logo-swing .dashicons-wordpress:first-of-type { 1806 color: #0d7aae; 1807 } 1808 1809 .error404 .page-content .logo-swing .dashicons-wordpress:before { 1810 font-size: 160px; 1811 font-size: 10rem; 1812 } 1813 1814 @keyframes hinge { 1815 10% { 1816 width: 180px; 1817 height: 180px; 1818 transform: rotate3d(0, 0, 1, 0deg); 1819 } 1820 15% { 1821 width: 185px; 1822 height: 185px; 1823 transform: rotate3d(0, 0, 1, 0deg); 1824 } 1825 20% { 1826 width: 180px; 1827 height: 180px; 1828 transform: rotate3d(0, 0, 1, 5deg); 1829 } 1830 40% { 1831 transform-origin: top left; 1832 animation-timing-function: ease-in-out; 1833 } 1834 60% { 1835 transform: rotate3d(0, 0, 1, 40deg); 1836 transform-origin: top left; 1837 animation-timing-function: ease-in-out; 1838 } 1839 40%, 80% { 1840 transform: rotate3d(0, 0, 1, 60deg); 1841 transform-origin: top left; 1842 animation-timing-function: ease-in-out; 1843 opacity: 1; 1844 } 1845 to { 1846 transform: translate3d(0, 700px, 0); 1847 opacity: 0; 1848 } 1849 } 1850 1851 .hinge { 1852 animation-duration: 2s; 1853 animation-name: hinge; 1854 } 1855 1856 .hide { 1857 display: none; 1858 } 1859 1860 /*-------------------------------------------------------------- 1766 1861 ## Asides 1767 1862 --------------------------------------------------------------*/ -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/_site.scss
r3205 r3336 17 17 18 18 /*-------------------------------------------------------------- 19 ## 404 20 --------------------------------------------------------------*/ 21 @import "primary/404"; 22 23 /*-------------------------------------------------------------- 19 24 ## Asides 20 25 --------------------------------------------------------------*/ -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/typography/_copy.scss
r3193 r3336 3 3 p { 4 4 margin: 1em 0; 5 max-width: ms(32);6 5 7 6 &.subheading { 8 color: #82878 C;7 color: #82878c; 9 8 font-size: ms(2); 10 9 font-weight: 300; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/variables-site/_colors.scss
r3194 r3336 1 1 $color__background-body: #fff; 2 2 $color__background-screen: #f1f1f1; 3 $color__background-hr: # ccc;3 $color__background-hr: #eee; 4 4 $color__background-button: #e6e6e6; 5 5 $color__background-pre: #eee;
Note: See TracChangeset
for help on using the changeset viewer.