From 41f0870480aaef927657b2645fb1f3a75ceb322c Mon Sep 17 00:00:00 2001 From: Diana Date: Tue, 9 Jun 2015 22:22:46 +0200 Subject: [PATCH] style according to designs --- styles/PortableInfobox.scss | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/styles/PortableInfobox.scss b/styles/PortableInfobox.scss index 308a050..dcde139 100644 --- a/styles/PortableInfobox.scss +++ b/styles/PortableInfobox.scss @@ -138,15 +138,19 @@ $infobox-section-header-background: transparentize($color-links, 0.9); width: 100%; .portable-infobox-item-label { - @include flex-basis(30%); - font-size: inherit; - line-height: 26px; + @include flex-basis($infobox-width / 3); + line-height: 18px; margin-top: inherit; } .portable-infobox-item-value { - @include flex-basis(70%); - vertical-align: top; + @include flex-basis($infobox-width * 2 / 3); + font-size: 14px; + line-height: 20px; + } + + .portable-infobox-item-margins { + padding: $infobox-item-margin * 3 $infobox-item-margin * 2 $infobox-item-margin * 3 $infobox-item-margin * 2; } } }