浏览代码

Moved content styles to respective styles sheets in the packages.

Aleksander Nowodzinski 7 年之前
父节点
当前提交
97cd712101

+ 0 - 14
packages/ckeditor5-theme-lark/theme/ckeditor5-basic-styles/code.css

@@ -1,14 +0,0 @@
-/*
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
-
-:root {
-	--ck-color-code: hsla(0, 0%, 78%, 0.3);
-}
-
-code {
-	background-color: var(--ck-color-code);
-	padding: var(--ck-spacing-tiny);
-	border-radius: var(--ck-border-radius);
-}

+ 0 - 16
packages/ckeditor5-theme-lark/theme/ckeditor5-block-quote/blockquote.css

@@ -1,16 +0,0 @@
-/**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
-
-:root {
-	--ck-block-quote-border-width: 5px;
-	--ck-block-quote-padding: 20px;
-}
-
-blockquote {
-	border-left: solid 5px var(--ck-color-block-quote-border);
-	padding-left: var(--ck-block-quote-padding);
-	margin-left: 0;
-	font-style: italic;
-}

+ 0 - 18
packages/ckeditor5-theme-lark/theme/ckeditor5-image/image.css

@@ -1,18 +0,0 @@
-/*
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
-
-.ck-editor__editable {
-	& .image {
-		text-align: center;
-
-		& > img {
-			/* Center the image if its width is smaller than content's width. */
-			margin: 0 auto;
-
-			/* Make sure the image never exceeds the size of the parent container (#67). */
-			max-width: 100%;
-		}
-	}
-}

+ 0 - 17
packages/ckeditor5-theme-lark/theme/ckeditor5-image/imagecaption.css

@@ -1,17 +0,0 @@
-/*
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
-
-:root {
-	--ck-color-image-caption-background: var(--ck-color-base-foreground);
-	--ck-color-image-caption-text: var(--ck-color-base-text);
-}
-
-.ck-editor__editable .image > figcaption {
-	color: var(--ck-color-image-caption-text);
-	background-color: var(--ck-color-image-caption-background);
-	padding: var(--ck-spacing-standard);
-	font-size: var(--ck-font-size-small);
-	outline-offset: -1px;
-}

+ 0 - 38
packages/ckeditor5-theme-lark/theme/ckeditor5-image/imagestyle.css

@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
-
-:root {
-	--ck-image-spacing: calc(5 * var(--ck-spacing-small));
-	--ck-image-max-width: 50%;
-}
-
-.ck-editor__editable {
-	& .image-style-side,
-	& .image-style-align-left,
-	& .image-style-align-center,
-	& .image-style-align-right {
-		max-width: var(--ck-image-max-width);
-	}
-
-	& .image-style-side {
-		float: right;
-		margin-left: var(--ck-image-spacing);
-	}
-
-	& .image-style-align-left {
-		float: left;
-		margin-right: var(--ck-image-spacing);
-	}
-
-	& .image-style-align-center {
-		margin-left: auto;
-		margin-right: auto;
-	}
-
-	& .image-style-align-right {
-		float: right;
-		margin-left: var(--ck-image-spacing);
-	}
-}