flatten and simplify default category badge styles

This commit is contained in:
Jeff Atwood 2013-07-22 00:11:34 -07:00
parent 5bb2090b81
commit d68f30c09d
3 changed files with 3 additions and 5 deletions

View File

@ -238,5 +238,6 @@
.category { .category {
float: left; float: left;
background-color: transparent; background-color: transparent;
line-height: 20px;
} }
} }

View File

@ -77,7 +77,6 @@
color: $topic-list-th-color; color: $topic-list-th-color;
font-weight: bold; font-weight: bold;
font-size: 13px; font-size: 13px;
text-shadow: 0 1px 0 $white;
@include box-shadow(inset 0 1px 0 $white); @include box-shadow(inset 0 1px 0 $white);
&:first-of-type { &:first-of-type {
@include border-radius-all(4px 0 0 0); @include border-radius-all(4px 0 0 0);

View File

@ -21,12 +21,10 @@
// -------------------------------------------------- // --------------------------------------------------
.badge-category { .badge-category {
@extend %badge; padding: 5px 8px;
padding: 3px 8px;
color: $white; color: $white;
font-size: 12px; font-size: 12px;
text-shadow: 0 1px 0 rgba($black, 0.3); font-weight: bold;
@include box-shadow(inset 0 1px 0 rgba($white, 0.22));
&[href] { &[href] {
color: $white; color: $white;
} }