/*\r
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.md or http://ckeditor.com/license\r
*/\r
\r
.cke_editable\r
{\r
font-size: 13px;\r
- line-height: 1.6em;\r
+ line-height: 1.6;\r
+\r
+ /* Fix for missing scrollbars with RTL texts. (#10488) */\r
+ word-wrap: break-word;\r
}\r
\r
blockquote\r
h1,h2,h3,h4,h5,h6\r
{\r
font-weight: normal;\r
- line-height: 1.2em;\r
+ line-height: 1.2;\r
}\r
\r
hr\r
{\r
white-space: pre-wrap; /* CSS 2.1 */\r
word-wrap: break-word; /* IE7 */\r
+ -moz-tab-size: 4;\r
+ tab-size: 4;\r
}\r
\r
.marker\r
\r
span[lang]\r
{\r
- font-style: italic;\r
+ font-style: italic;\r
}\r
\r
figure\r
background: rgba(0,0,0,0.05);\r
padding: 10px;\r
margin: 10px 20px;\r
- display: block; /* For IE8 */\r
+ display: inline-block;\r
}\r
\r
-figure figcaption\r
+figure > figcaption\r
{\r
text-align: center;\r
display: block; /* For IE8 */\r
}\r
+\r
+a > img {\r
+ padding: 1px;\r
+ margin: 1px;\r
+ border: none;\r
+ outline: 1px solid #0782C1;\r
+}\r
+\r
+/* Widget Styles */\r
+.code-featured\r
+{\r
+ border: 5px solid red;\r
+}\r
+\r
+.math-featured\r
+{\r
+ padding: 20px;\r
+ box-shadow: 0 0 2px rgba(200, 0, 0, 1);\r
+ background-color: rgba(255, 0, 0, 0.05);\r
+ margin: 10px;\r
+}\r
+\r
+.image-clean\r
+{\r
+ border: 0;\r
+ background: none;\r
+ padding: 0;\r
+}\r
+\r
+.image-clean > figcaption\r
+{\r
+ font-size: .9em;\r
+ text-align: right;\r
+}\r
+\r
+.image-grayscale\r
+{\r
+ background-color: white;\r
+ color: #666;\r
+}\r
+\r
+.image-grayscale img, img.image-grayscale\r
+{\r
+ filter: grayscale(100%);\r
+}\r
+\r
+.embed-240p\r
+{\r
+ max-width: 426px;\r
+ max-height: 240px;\r
+ margin:0 auto;\r
+}\r
+\r
+.embed-360p\r
+{\r
+ max-width: 640px;\r
+ max-height: 360px;\r
+ margin:0 auto;\r
+}\r
+\r
+.embed-480p\r
+{\r
+ max-width: 854px;\r
+ max-height: 480px;\r
+ margin:0 auto;\r
+}\r
+\r
+.embed-720p\r
+{\r
+ max-width: 1280px;\r
+ max-height: 720px;\r
+ margin:0 auto;\r
+}\r
+\r
+.embed-1080p\r
+{\r
+ max-width: 1920px;\r
+ max-height: 1080px;\r
+ margin:0 auto;\r
+}\r