Changeset 11468
- Timestamp:
- 01/25/2022 01:42:55 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css
r11463 r11468 1 :root { 2 /* It doesn't stick on mobile. That may changee 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 1 12 body, html { 2 13 height: 100%; … … 11 22 } 12 23 24 .gp-content * { 25 box-sizing: content-box; 26 } 27 28 .gp-content table tbody tr:nth-child(2n) { 29 background-color: unset; /* Override wporg-main. */ 30 } 31 13 32 .gp-content textarea { 14 33 max-width: 100%; 34 } 35 36 .gp-content summary { 37 display: list-item; 15 38 } 16 39 … … 1510 1533 margin-top: 20px; 1511 1534 } 1535 1512 1536 .stats-table table tbody td { 1513 1537 padding: 3px 10px; … … 1537 1561 color: #32373C; 1538 1562 background: white; 1563 } 1564 .stats-table table td, table th { 1565 text-align: unset; /* Override wporg-main. */ 1539 1566 } 1540 1567 .stats-table table thead th { … … 2190 2217 position: -webkit-sticky; 2191 2218 position: sticky; 2192 top: 0;2219 top: calc( var(--global-header-height) + var(--wp-admin--admin-bar--height) + 100px ); 2193 2220 padding: 20px 0 10px; 2194 2221 background: #fff; 2195 2222 text-align: left; 2196 2223 box-shadow: 0 -1px 0 #72777c, 0 3px 0 #72777c; 2197 }2198 2199 @media screen and (min-width: 600px) {2200 .consistency-table tr.new-translation th {2201 top: 46px;2202 }2203 }2204 2205 @media screen and (min-width: 783px) {2206 .consistency-table tr.new-translation th {2207 top: 32px;2208 }2209 2224 } 2210 2225 … … 2318 2333 2319 2334 table.translations th.checkbox { 2320 width: 1 em;2335 width: 16px; 2321 2336 text-align: center; 2337 } 2338 @media screen and (max-width: 782px) { 2339 table.translations th.checkbox { 2340 width: 24px; 2341 } 2322 2342 } 2323 2343 … … 2359 2379 font-size: 16px; 2360 2380 resize: vertical; 2381 -webkit-box-shadow: none; 2382 -moz-box-shadow: none; 2383 box-shadow: none; 2361 2384 } 2362 2385
Note: See TracChangeset
for help on using the changeset viewer.