Making WordPress.org

Changeset 9394


Ignore:
Timestamp:
01/20/2020 06:54:15 PM (7 years ago)
Author:
coffee2code
Message:

Browse Happy: Ensure browser blocks maintain even distribution across rows despite browser viewport width.

Fixes https://github.com/WordPress/browsehappy/issues/54

Location:
sites/trunk/browsehappy.com/public_html
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/browsehappy.com/public_html/index.php

    r8931 r9394  
    1515        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    1616
    17         <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css?10" />
     17        <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css?11" />
    1818        <script src="<?php echo get_template_directory_uri(); ?>/js/modernizr-1.6.min.js"></script>
    1919        <script src="https://use.typekit.com/lsw6yis.js"></script>
  • sites/trunk/browsehappy.com/public_html/style.css

    r8931 r9394  
    150150        color: #324B4B;
    151151        text-shadow: 0 1px 0 rgba(255,255,255,.5), 0 -1px 0 rgba(0,0,0,.8);
    152         word-break: break-word;
    153         overflow-wrap: break-word;
    154         -webkit-hyphens: auto;
    155         -ms-hyphens: auto;
    156         hyphens: auto;
    157152}
    158153
     
    602597}
    603598
    604 @media (max-width: 1168px) { #main .wrap { max-width: 960px; } }
     599@media (max-width: 1168px) {
     600        #main .wrap {
     601                max-width: 728px;
     602        }
     603        #browserlist li {
     604                width: 242px;
     605        }
     606}
    605607@media (max-width: 976px)  { #main .wrap { max-width: 768px; } }
    606 @media (max-width: 784px)  { #main .wrap { max-width: 576px; } }
    607 @media (max-width: 592px)  { #main .wrap { max-width: 384px; } }
     608@media (max-width: 784px)  {
     609        #main .wrap {
     610                max-width: 484px;
     611        }
     612}
     613@media (max-width: 592px)  {
     614        #main .wrap {
     615                max-width: 384px;
     616        }
     617        #browserlist li {
     618                width: 192px;
     619        }
     620}
    608621@media (max-width: 500px) {
    609622        header h1 {
     
    641654                float: none;
    642655                margin: 0 auto;
     656                width: 242px;
    643657        }
    644658        header h1 {
Note: See TracChangeset for help on using the changeset viewer.