getdave / Tanlinell

Boilerplate Wordpress theme for rapid development of new WP themes. Based on the great work of the _s ("Underscore") theme.
GNU General Public License v2.0
6 stars 2 forks source link

Update site credit #307

Closed getdave closed 10 years ago

getdave commented 10 years ago

Site credit needs a minor tweak to ensure more consistent rendering in oldie

@if $use-site-credit == true {
/* #Site Credit */

/* Useful pattern typically used to provide credit to the website developer in the footer of the website. */

/*
    <p>Developed by <a href="#" class="ir site-credit">Burfield Creative</a></p> 
*/

.site-credit {
    @extend .ir;
    @include inline-block;
    position: relative;
    top: -3px;
    vertical-align: middle;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 84px;
    height: 12px;
    margin-left: 2px;

    .no-svg & {
        background-image: image-url("framework/site-credit.png");
        height: 20px;
        top: auto;
    }
}

.site-credit--dark {
    background-image: image-url("framework/site-credit--dark.svg");

    .no-svg & {
        background-image: image-url("framework/site-credit--dark.png");
    }
}

}//endif
nickwoodland commented 10 years ago

addressed, will be pushed up to css framework rep