8
0
Просмотр исходного кода

Moved content styles from ckeditor5-theme-lark (see ckeditor/ckeditor5-theme-lark#119).

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
c9bc033ced
1 измененных файлов с 22 добавлено и 5 удалено
  1. 22 5
      packages/ckeditor5-heading/theme/heading.css

+ 22 - 5
packages/ckeditor5-heading/theme/heading.css

@@ -3,8 +3,25 @@
  * For licensing, see LICENSE.md.
  */
 
-/*
- * Note: This file should contain the wireframe styles only. But since there are no such styles,
- * it acts as a message to the builder telling that it should look for the corresponding styles
- * **in the theme** when compiling the editor.
- */
+.ck-heading_heading1 {
+	font-size: 1.5em;
+}
+
+.ck-heading_heading2 {
+	font-size: 1.3em;
+}
+
+.ck-heading_heading3 {
+	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: 18px;
+	padding: 11px;
+}
+
+[class*="ck-heading_heading"] {
+	font-weight: bold;
+}