From 6cfe532cf372e82f3deabb703a40d6a1b069bace Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 20 Apr 2016 18:15:02 +0800 Subject: combine label like elements: .label, code and mark/.highlight --- src/labels.less | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/labels.less') diff --git a/src/labels.less b/src/labels.less index 3d1c457..f92f2d0 100644 --- a/src/labels.less +++ b/src/labels.less @@ -1,15 +1,8 @@ // Labels .label { background-color: @core-border-color; - border-radius: .2rem; color: lighten(@body-font-color, 20%); - display: inline-block; - font-size: 1em; - line-height: 1; - margin: -.2rem 0; - padding: .2rem .3rem; - text-align: center; - vertical-align: baseline; + .label-base; white-space: nowrap; &.label-primary { -- cgit v1.3.1-23-gd82d