X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fpiedsjaloux-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fcontents.css;fp=sources%2Fcontents.css;h=8571059d58628cec72f97eddb81b1fac36d492c6;hp=bef3ebc8b1b780139820bea1270b64834bb835ac;hb=317f8f8f0651488f226b5280a8f036c7c135c639;hpb=1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c diff --git a/sources/contents.css b/sources/contents.css index bef3ebc..8571059 100644 --- a/sources/contents.css +++ b/sources/contents.css @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -133,3 +133,76 @@ a > img { border: none; outline: 1px solid #0782C1; } + +/* Widget Styles */ +.code-featured +{ + border: 5px solid red; +} + +.math-featured +{ + padding: 20px; + box-shadow: 0 0 2px rgba(200, 0, 0, 1); + background-color: rgba(255, 0, 0, 0.05); + margin: 10px; +} + +.image-clean +{ + border: 0; + background: none; + padding: 0; +} + +.image-clean > figcaption +{ + font-size: .9em; + text-align: right; +} + +.image-grayscale +{ + background-color: white; + color: #666; +} + +.image-grayscale img, img.image-grayscale +{ + filter: grayscale(100%); +} + +.embed-240p +{ + max-width: 426px; + max-height: 240px; + margin:0 auto; +} + +.embed-360p +{ + max-width: 640px; + max-height: 360px; + margin:0 auto; +} + +.embed-480p +{ + max-width: 854px; + max-height: 480px; + margin:0 auto; +} + +.embed-720p +{ + max-width: 1280px; + max-height: 720px; + margin:0 auto; +} + +.embed-1080p +{ + max-width: 1920px; + max-height: 1080px; + margin:0 auto; +}