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/variables.less | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/variables.less') diff --git a/src/variables.less b/src/variables.less index c56e6ef..404cd1f 100644 --- a/src/variables.less +++ b/src/variables.less @@ -30,6 +30,13 @@ border-color: darken(@color, 2%); color: @core-text-color; } +.label-base { + border-radius: .2rem; + display: inline; + font-size: 1em; + padding: .1em .3em; + vertical-align: baseline; +} .label-variant(@color) { background-color: @color; color: @core-text-color; -- cgit v1.3.1-23-gd82d