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/typography.less | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/typography.less') diff --git a/src/typography.less b/src/typography.less index 188ae1c..4fd681f 100644 --- a/src/typography.less +++ b/src/typography.less @@ -79,9 +79,7 @@ ol { mark, .highlight { background-color: lighten(@control-color-warning, 32%); - border-radius: .2rem; - line-height: 1.6rem; - padding: .2rem; + .label-base; } // Code @@ -96,12 +94,7 @@ pre { } code { background-color: @core-border-color; - border-radius: .2rem; - font-size: 1em; - line-height: 1.4; - margin: -.2em 0; - padding: .2em .3em; - vertical-align: middle; + .label-base; white-space: nowrap; pre & { -- cgit v1.3.1-23-gd82d