Making WordPress.org

Changeset 9483


Ignore:
Timestamp:
02/10/2020 08:33:58 PM (5 years ago)
Author:
coffee2code
Message:

Developer theme: Resize page title at smaller viewports so it doesn't wrap and overflow its container.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r9429 r9483  
    16741674        line-height: 1;
    16751675        border-bottom: 0;
     1676
     1677        @media screen and (max-width: 500px) {
     1678            font-size: 17px;
     1679            font-size: 4.5vw;
     1680            vertical-align: middle;
     1681            vertical-align: -moz-middle-with-baseline;
     1682            vertical-align: -webkit-baseline-middle;
     1683        }
    16761684    }
    16771685
     
    18911899            color: #555;
    18921900        }
     1901    }
     1902
     1903    .site-title {
     1904        margin-left: 0;
    18931905    }
    18941906
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r9429 r9483  
    20552055}
    20562056
     2057@media screen and (max-width: 500px) {
     2058  .site-title a {
     2059    font-size: 17px;
     2060    font-size: 4.5vw;
     2061    vertical-align: middle;
     2062    vertical-align: -moz-middle-with-baseline;
     2063    vertical-align: -webkit-baseline-middle;
     2064  }
     2065}
     2066
    20572067@media screen and (max-width: 769px) {
    20582068  .site-title {
     
    22692279  font-size: 1.05em;
    22702280  color: #555;
     2281}
     2282
     2283.single-handbook .site-title {
     2284  margin-left: 0;
    22712285}
    22722286
Note: See TracChangeset for help on using the changeset viewer.