// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. // For licensing, see LICENSE.md or http://ckeditor.com/license @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_spacing'; @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_fonts'; .ck-heading_heading { &1 { font-size: 1.5em; } &2 { font-size: 1.3em; } &3 { font-size: 1.1em; } } // Using absolute units to make sure each element has the same height and padding. // https://github.com/ckeditor/ckeditor5-heading/issues/63 [class*="ck-heading_"] { line-height: 1.8 * $ck-font-size-base; // Strip the units from $ck-def-spacing here. padding: $ck-def-spacing / ( $ck-def-spacing * 0 + 1 ) * $ck-font-size-base; } [class*="ck-heading_heading"] { font-weight: bold; } // Resize dropdown's button label. .ck-dropdown { &.ck-heading-dropdown { .ck-dropdown__button { .ck-button__label { width: 8em; } } } }