Changeset 11901
- Timestamp:
- 05/31/2022 09:34:24 PM (2 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
r11659 r11901 348 348 wp_enqueue_style( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600' ); 349 349 wp_enqueue_style( 'wporg-developer-style', get_stylesheet_uri(), array(), '4' ); 350 wp_enqueue_style( 'wp-dev-sass-compiled', get_template_directory_uri() . '/stylesheets/main.css', array( 'wporg-developer-style' ), '20220217' ); 350 wp_enqueue_style( 351 'wp-dev-sass-compiled', 352 get_template_directory_uri() . '/stylesheets/main.css', 353 array( 'wporg-developer-style' ), 354 filemtime( __DIR__ . '/stylesheets/main.css' ) 355 ); 351 356 wp_enqueue_script( 'wporg-developer-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20181209', true ); 352 357 wp_enqueue_script( 'wporg-developer-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true ); … … 409 414 return $new_text; 410 415 } 411 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss
r11659 r11901 28 28 29 29 #content, #content-area { 30 padding: 0 10px;30 padding: 0 #{"max( 20px, 2% )"}; 31 31 32 32 .toc-heading { … … 300 300 .site-content:after, 301 301 .site-footer:before, 302 .site-footer:after { 302 .site-footer:after, 303 section:after { 303 304 content: ''; 304 305 display: table; … … 309 310 .comment-content:after, 310 311 .site-content:after, 311 .site-footer:after { 312 .site-footer:after, 313 section:after { 312 314 clear: both; 313 315 } … … 506 508 */ 507 509 508 section {509 overflow: auto;510 }511 512 section.error-404 {513 overflow: visible;514 }515 510 .home-landing .section { 516 511 padding: 50px 0 10px; … … 2091 2086 border-left: none; 2092 2087 } 2093 2088 2094 2089 &.menu-item-has-children > .expandable > a { 2095 2090 padding-right: 30px; … … 2358 2353 width: 100%; 2359 2354 2360 #content,2361 #content-area,2362 2355 .inner-wrap { 2363 2356 max-width: 100%; … … 2369 2362 width: 100%; 2370 2363 } 2371 }2372 #content-area {2373 padding-left: 2%;2374 2364 } 2375 2365 … … 2397 2387 .sourcefile { 2398 2388 float: left; 2399 }2400 }2401 #content-area {2402 @media (max-width: 43em) {2403 padding-left: 2%;2404 2389 } 2405 2390 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css
r11659 r11901 330 330 331 331 .devhub-wrap #content, .devhub-wrap #content-area { 332 padding: 0 10px;332 padding: 0 max( 20px, 2% ); 333 333 } 334 334 … … 660 660 .devhub-wrap .site-content:after, 661 661 .devhub-wrap .site-footer:before, 662 .devhub-wrap .site-footer:after { 662 .devhub-wrap .site-footer:after, 663 .devhub-wrap section:after { 663 664 content: ''; 664 665 display: table; … … 669 670 .devhub-wrap .comment-content:after, 670 671 .devhub-wrap .site-content:after, 671 .devhub-wrap .site-footer:after { 672 .devhub-wrap .site-footer:after, 673 .devhub-wrap section:after { 672 674 clear: both; 673 675 } … … 858 860 text-decoration: none; 859 861 color: #606060; 860 }861 862 .devhub-wrap section {863 overflow: auto;864 }865 866 .devhub-wrap section.error-404 {867 overflow: visible;868 862 } 869 863 … … 2780 2774 width: 100%; 2781 2775 } 2782 .devhub-wrap #content,2783 .devhub-wrap #content-area,2784 2776 .devhub-wrap .inner-wrap { 2785 2777 max-width: 100%; … … 2790 2782 width: 100%; 2791 2783 } 2792 .devhub-wrap #content-area {2793 padding-left: 2%;2794 }2795 2784 .devhub-wrap.archive .meta, .devhub-wrap.search .meta { 2796 2785 font-size: 100%; … … 2808 2797 .devhub-wrap.archive .sourcefile, .devhub-wrap.search .sourcefile { 2809 2798 float: left; 2810 }2811 }2812 2813 @media (min-width: 43em) and (max-width: 43em) {2814 .devhub-wrap #content-area {2815 padding-left: 2%;2816 2799 } 2817 2800 }
Note: See TracChangeset
for help on using the changeset viewer.