Making WordPress.org

Changeset 12487


Ignore:
Timestamp:
03/22/2023 06:54:25 AM (15 months ago)
Author:
coffee2code
Message:

Browse Happy: Add Brave browser.

Props renyot.
Fixes #6845.

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

Legend:

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

    r11222 r12487  
    7878                : __( '“Microsoft Edge ranks first when put to real world page load tests. Whether you use the web to search, watch or play, this browser won’t slow you down.”', 'browsehappy' )
    7979            ),
     80        ),
     81        'brave' => (object) array(
     82            'name' => 'Brave',
     83            'long_name' => 'Brave',
     84            'wikipedia' => 'Brave_(web_browser)',
     85            'wikidata' => 'Q22906900',
     86            'normalized' => 1.5, // include second number if non-zero
     87            'facebook' => 'bravetheinternet',
     88            'url' => 'https://brave.com/',
     89            'info' => __( '“The Brave browser is a fast, private and secure web browser for PC, Mac and mobile.”', 'browsehappy' ),
    8090        ),
    8191    );
  • sites/trunk/browsehappy.com/public_html/style.css

    r9404 r12487  
    9797.wrap {
    9898    zoom: 1;
    99     max-width: 1150px;
     99    max-width: 1380px;
    100100    margin: 0 auto;
    101101}
     
    328328}
    329329
     330#browserlist li#brave .icon {
     331    background-position: -750px 0;
     332}
     333
    330334#browserlist h2 {
    331335    font: 140%/1 Impact, Helvetica, sans-serif;
     
    602606}
    603607
    604 @media (max-width: 1168px) {
     608@media (max-width: 1379px) {
    605609    #main .wrap {
    606610        max-width: 728px;
     
    610614    }
    611615}
    612 @media (max-width: 976px)  {
     616@media (max-width: 976px) {
    613617    #main .wrap {
    614618        max-width: 768px;
    615619    }
    616620}
    617 @media (max-width: 784px)  {
     621@media (max-width: 784px) {
    618622    #main .wrap {
    619623        max-width: 690px;
     
    623627    }
    624628}
    625 @media (max-width: 705px)  {
     629@media (max-width: 705px) {
    626630    #main .wrap {
    627631        max-width: 460px;
     
    687691        background-image: url(imgs/browsehappy-sprite-2x.png);
    688692        background-repeat: no-repeat;
    689         background-size: 750px 170px;
    690     }
    691 }
     693        background-size: 875px 170px;
     694    }
     695}
Note: See TracChangeset for help on using the changeset viewer.