From c7cd63107b551ddb8fe201340f1fa9cbe97f8af0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 18 Jun 2014 21:52:34 -0700 Subject: fixes #13346: add a variable for .dl-horizontal's offset --- less/type.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 93414474a..5eb69f3c2 100644 --- a/less/type.less +++ b/less/type.less @@ -219,13 +219,13 @@ dd { @media (min-width: @grid-float-breakpoint) { dt { float: left; - width: (@component-offset-horizontal - 20); + width: (@dl-horizontal-offset - 20); clear: left; text-align: right; .text-overflow(); } dd { - margin-left: @component-offset-horizontal; + margin-left: @dl-horizontal-offset; } } } -- cgit v1.2.3 From 09cf618acff6e6992aa14bc11c89206f104c6748 Mon Sep 17 00:00:00 2001 From: Thomas Welton Date: Fri, 20 Jun 2014 10:31:49 +0100 Subject: Use @font-size-small variable to calculate font-size fixes #13713 #13809 --- less/type.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 5eb69f3c2..9b1e48bae 100644 --- a/less/type.less +++ b/less/type.less @@ -74,10 +74,10 @@ p { // Emphasis & misc // ------------------------- -// Ex: 14px base font * 85% = about 12px +// Ex: (12px small font / 14px base font) * 100% = about 85% small, .small { - font-size: 85%; + font-size: floor((100% * @font-size-small / @font-size-base)); } // Undo browser default styling -- cgit v1.2.3 From 9677c95d83f361b7c3a43e56ef89590305c84905 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 5 Jul 2014 20:02:02 -0700 Subject: Fixes #13967: Don't reset the cite element's font-style --- less/type.less | 5 ----- 1 file changed, 5 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 9b1e48bae..6ab3c0804 100644 --- a/less/type.less +++ b/less/type.less @@ -80,11 +80,6 @@ small, font-size: floor((100% * @font-size-small / @font-size-base)); } -// Undo browser default styling -cite { - font-style: normal; -} - mark, .mark { background-color: @state-warning-bg; -- cgit v1.2.3