mhulse / rex

On, Wildfire, on!
http://mhulse.github.io/rex/demo/
Apache License 2.0
4 stars 0 forks source link

Small arse font sizes #139

Closed mhulse closed 10 years ago

mhulse commented 10 years ago

Need to double-check my math and test font sizes smaller than base to see what happens. I could be wrong, but I think I noticed some oddities when using:

ul {

    > li {

        &:before {

            @include baseline($base_font-size - 10);
            width: #{baseline($base_font-size - 10)}em;
            content: '\00a0';
            -webkit-border-radius: 999px;
               -moz-border-radius: 999px;
                    border-radius: 999px;
            display: block;
            margin: #{baseline($base_font-size - 10) / 2}em auto;
            background: $gray3;
            color: $graye;

            &:first-child:before {
                margin-top: 0;
            }

        }

    }

}
mhulse commented 10 years ago

I think my math is fine. I have not had problems since filing this issue. I'll re-open if I notice a problem again.