WordPress.org

Making WordPress.org

Changeset 2219


Ignore:
Timestamp:
12/18/2015 11:22:19 PM (5 years ago)
Author:
coffee2code
Message:

Browse Happy: Responsive improvements.

Fixes #1282.
Props ramiy, coffee2code.

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

Legend:

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

    r2217 r2219  
    249249    <?php
    250250}
    251 
  • sites/trunk/browsehappy.com/public_html/index.php

    r2209 r2219  
    1212    <meta name="description" content="<?php esc_attr_e( 'Online. Worry-free. Upgrade your browser today!', 'browsehappy' ); ?>" />
    1313    <meta name="author" content="WordPress" />
     14    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    1415
    1516    <link rel="shortcut icon" href="<?php echo esc_url( home_url( 'favicon.ico' ) ); ?>" />
     
    1920
    2021    <!--[if (gt IE 6)|!(IE)]><!-->
    21         <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css?3" />
     22        <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css?4" />
    2223        <script src="<?php echo get_template_directory_uri(); ?>/js/modernizr-1.6.min.js"></script>
    2324        <script src="http://use.typekit.com/lsw6yis.js"></script>
  • sites/trunk/browsehappy.com/public_html/style.css

    r1 r2219  
    1 /*
    2  * Theme Name: Browse Happy
    3  * Theme URI: http://browsehappy.com/
     1/**
     2 * Theme Name:  Browse Happy
     3 * Theme URI:   http://browsehappy.com/
    44 * Description: The 2011 design for Browse Happy, proudly powered by WordPress.
    5  * Author: WordPress
    6  * Author URI: http://wordpress.org/
    7  * License: GPLv2 or later
     5 * Author:      WordPress
     6 * Author URI:  https://wordpress.org/
     7 * License:     GPLv2 or later
    88 */
    99
     
    7171    background: #2b4141;
    7272    color: #3F4B4B;
    73     min-width: 960px;
    7473}
    7574
     
    8079header, #main, footer {
    8180    width: 100%;
    82     min-width: 960px;
    8381}
    8482
     
    9694.wrap {
    9795    zoom: 1;
    98     width: 960px;
     96    max-width: 960px;
    9997    margin: 0 auto;
    10098}
     
    120118
    121119#i18n-alert p {
    122     width: 960px;
    123120    margin: 0 auto;
    124121    display: block;
     
    153150
    154151.wf-leaguegothic1leaguegothic2-n4-active header h1 {
    155     font-size: 1491%;
     152    font-size: 1400%;
    156153    font-family: "league-gothic-1","league-gothic-2";
    157154}
     
    278275    width: 125px;
    279276    height: 135px;
    280     margin: 0 auto 20px;
     277    margin: 20px auto;
    281278    background: url(imgs/browsehappy-sprite.png) no-repeat;
    282279}
     
    357354#browserlist li a:link, #browserlist li a:visited {
    358355    color: #324B4B;
    359     padding: 30px 10px 10px;
     356    padding: 10px;
    360357    display: block;
    361358    overflow: hidden;
     
    434431#browserlist p.likebutton {
    435432    text-align: center;
    436     margin: 15px 5px 0
     433    margin: 15px 5px 0;
     434    min-height: 25px;
    437435}
    438436
     
    466464
    467465#about {
    468     width: 600px;
     466    width: 60%;
    469467    float: left;
    470468    margin-left: 15px;
     
    472470
    473471#share {
    474     width: 300px;
     472    width: 30%;
    475473    float: right;
    476474    margin-right: 15px;
    477475    position: relative;
    478 }
    479 
    480 #share h2 {
    481     margin-right: 84px;
    482 }
    483 
    484 #share nav {
    485     width: 84px;
    486     height: 32px;
    487     overflow: hidden;
    488     position: absolute;
    489     top: 3px;
    490     right: 0;
    491476}
    492477
     
    495480    height: 32px;
    496481    float: left;
    497     margin-left: 9px;
     482    margin-right: 9px;
    498483}
    499484
     
    528513
    529514#byline {
    530     position: absolute;
    531     bottom: 0;
    532     right: 15px;
    533     width: 300px;
    534     height: 20px;
     515    clear: both;
     516    margin: 0 auto;
     517    padding-top: 10px;
    535518}
    536519
     
    538521    width: 300px;
    539522    height: 20px;
     523    margin: 0 auto;
    540524    display: block;
    541525    background: url(imgs/browsehappy-sprite.png) no-repeat 0 -135px;
     
    555539    opacity: 1;
    556540}
     541
     542@media (max-width: 430px) {
     543    header {
     544        padding-top: 35px;
     545    }
     546    header h1 {
     547        font-size: 800%;
     548    }
     549    .wf-leaguegothic1leaguegothic2-n4-active header h1 {
     550        font-size: 1000%;
     551    }
     552}
     553@media (max-width: 383px) {
     554    #browserlist li {
     555        display: block;
     556        float: none;
     557        margin: 0 auto;
     558    }
     559}
Note: See TracChangeset for help on using the changeset viewer.