X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=contents.css;h=53f93945944196b0fbd14a61bad39c364e5519f2;hp=4ae7d4d3e58d4ec67f944f4794e291111dd9c105;hb=53700a2c9aa44599d0a74cb0e0b5e5fbdead0fcd;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b diff --git a/contents.css b/contents.css index 4ae7d4d..53f9394 100644 --- a/contents.css +++ b/contents.css @@ -1,45 +1,103 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ body { /* Font */ - font-family: Arial, Verdana, sans-serif; + font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; font-size: 12px; /* Text color */ - color: #222; + color: #333; /* Remove the background color to make it transparent */ background-color: #fff; + + margin: 20px; +} + +.cke_editable +{ + font-size: 13px; + line-height: 1.6em; +} + +blockquote +{ + font-style: italic; + font-family: Georgia, Times, "Times New Roman", serif; + padding: 2px 0; + border-style: solid; + border-color: #ccc; + border-width: 0; +} + +.cke_contents_ltr blockquote +{ + padding-left: 20px; + padding-right: 8px; + border-left-width: 5px; +} + +.cke_contents_rtl blockquote +{ + padding-left: 8px; + padding-right: 20px; + border-right-width: 5px; +} + +a +{ + color: #0782C1; } -/* preserved spaces for rtl list item bullets. (#6249)*/ ol,ul,dl { - padding-right:40px; + /* IE7: reset rtl list margin. (#7334) */ + *margin-right: 0px; + /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ + padding: 0 40px; } -html +h1,h2,h3,h4,h5,h6 { - /* #3658: [IE6] Editor document has horizontal scrollbar on long lines - To prevent this misbehavior, we show the scrollbar always */ - _overflow-y: scroll; - /* #6341: The text cursor must be set on the editor area. */ - cursor: text; - /* #6632: Avoid having "text" shape of cursor in IE7 scrollbars.*/ - *cursor:auto; + font-weight: normal; + line-height: 1.2em; } -img:-moz-broken +hr { - -moz-force-broken-image-icon : 1; - width : 24px; - height : 24px; + border: 0px; + border-top: 1px solid #ccc; +} + +img.right { + border: 1px solid #ccc; + float: right; + margin-left: 15px; + padding: 5px; +} + +img.left { + border: 1px solid #ccc; + float: left; + margin-right: 15px; + padding: 5px; +} + +img:hover { + opacity: .9; + filter: alpha(opacity = 90); } -img, input, textarea + +pre { - cursor: default; + white-space: pre-wrap; /* CSS 2.1 */ + word-wrap: break-word; /* IE7 */ +} + +.marker { + background-color: Yellow; }