Making WordPress.org

Changeset 11064


Ignore:
Timestamp:
06/25/2021 11:06:17 PM (5 years ago)
Author:
coffee2code
Message:

Breathe: Improve responsive handling and spacing around elements at top of handbook pages.

  • Improve breakpoint handling of site name
  • Prevent overlap of handbook name and post action dropdown at narrow viewports
  • Maintain padding to left of handbook name at narrow viewports
  • Improve spacing around handbook name, breadcrumbs, and post title to account for long handbook name and/or post name

Props jatindevani, coffee2code.
Fixes #5442.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r10912 r11064  
    171171}
    172172
    173 @media (max-width: 500px) {
     173@media (max-width: 510px) {
    174174        .site-header .site-title {
    175                 max-width: 334px;
    176175                margin-top: 4px;
    177176        }
     
    10661065@media(max-width: 876px) {
    10671066        .handbook-name-container {
     1067                padding-left: 22px;
     1068                padding-right: 36px;
    10681069                width: 100%;
    10691070                margin-left: 0;
     
    11601161        left: 280px;
    11611162        font-size: 1.25rem;
     1163        padding-right: 34px;
    11621164}
    11631165
     
    11791181}
    11801182
    1181 @media (max-width: 875px) {
     1183@media (max-width: 876px) {
    11821184        .handbook-breadcrumbs {
    11831185                top: 3rem;
     
    11901192
    11911193        .single-handbook .handbook-name-container ~ .handbook-breadcrumbs {
    1192                 top: 5rem;
     1194                top: 6rem;
    11931195        }
    11941196
    11951197        .single-handbook .handbook-name-container ~ .handbook-breadcrumbs ~ #primary {
    1196                 padding-top: 10rem;
     1198                padding-top: 14rem;
    11971199        }
    11981200}
Note: See TracChangeset for help on using the changeset viewer.