Changeset 11489
- Timestamp:
- 01/31/2022 03:16:33 AM (3 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php
r11445 r11489 35 35 </header> 36 36 37 <div class="gp-content ">37 <div class="gp-content clearfix"> 38 38 39 39 <div id="gp-js-message"></div> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css
r11471 r11489 1 :root {2 /* It doesn't stick on mobile. That may change soon though, see https://github.com/WordPress/wporg-news-2021/issues/181. */3 --global-header-height: 0;4 }5 6 @media screen and (min-width: 890px) {7 :root {8 --global-header-height: 103px;9 }10 }11 12 1 body, html { 13 2 height: 100%; … … 310 299 max-width: 940px; 311 300 padding: 0 10px; 312 overflow: auto;313 301 } 314 302 … … 2237 2225 position: -webkit-sticky; 2238 2226 position: sticky; 2239 top: calc( var(-- global-header-height) + var(--wp-admin--admin-bar--height) + 100px );2227 top: calc( var(--wp-global-header-height) + var(--wp-admin--admin-bar--height) + 100px ); 2240 2228 padding: 20px 0 10px; 2241 2229 background: #fff; … … 2535 2523 .admin-bar .editor-panel__left .panel-header, 2536 2524 .admin-bar .editor-panel__right { 2537 top: calc( var(-- global-header-height) + var(--wp-admin--admin-bar--height) );2525 top: calc( var(--wp-global-header-height) + var(--wp-admin--admin-bar--height) ); 2538 2526 } 2539 2527 }
Note: See TracChangeset
for help on using the changeset viewer.