X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=contents.css;h=bad9dd6e7ae682202529dbfcacd80b4fae625819;hp=d8ba947c48aaecbdf707dfbf28be19b3d589bdb2;hb=HEAD;hpb=d60375b138c1d2c5a7a44a73949b6ba1a2379766 diff --git a/contents.css b/contents.css index d8ba947..bad9dd6 100644 --- a/contents.css +++ b/contents.css @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -21,7 +21,7 @@ body .cke_editable { font-size: 13px; - line-height: 1.6em; + line-height: 1.6; } blockquote @@ -64,7 +64,7 @@ ol,ul,dl h1,h2,h3,h4,h5,h6 { font-weight: normal; - line-height: 1.2em; + line-height: 1.2; } hr @@ -89,20 +89,44 @@ img.left padding: 5px; } -/* #10868: We use :not() selector to exclude IE8, which crashes on img:hover style. */ -:not(.ie8) img:hover -{ - opacity: .9; - filter: alpha(opacity = 90); -} - pre { white-space: pre-wrap; /* CSS 2.1 */ word-wrap: break-word; /* IE7 */ + -moz-tab-size: 4; + tab-size: 4; } .marker { background-color: Yellow; } + +span[lang] +{ + font-style: italic; +} + +figure +{ + text-align: center; + border: solid 1px #ccc; + border-radius: 2px; + background: rgba(0,0,0,0.05); + padding: 10px; + margin: 10px 20px; + display: inline-block; +} + +figure > figcaption +{ + text-align: center; + display: block; /* For IE8 */ +} + +a > img { + padding: 1px; + margin: 1px; + border: none; + outline: 1px solid #0782C1; +}