theme.scss 778 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_spacing';
  4. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_fonts';
  5. .ck-heading_heading {
  6. &1 {
  7. font-size: 1.5em;
  8. }
  9. &2 {
  10. font-size: 1.3em;
  11. }
  12. &3 {
  13. font-size: 1.1em;
  14. }
  15. }
  16. // Using absolute units to make sure each element has the same height and padding.
  17. // https://github.com/ckeditor/ckeditor5-heading/issues/63
  18. [class*="ck-heading_"] {
  19. line-height: 1.8 * $ck-font-size-base;
  20. // Strip the units from $ck-def-spacing here.
  21. padding: $ck-def-spacing / ( $ck-def-spacing * 0 + 1 ) * $ck-font-size-base;
  22. }
  23. [class*="ck-heading_heading"] {
  24. font-weight: bold;
  25. }