X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=contents.css;h=53f93945944196b0fbd14a61bad39c364e5519f2;hp=b4e28fece566c1b11f3c6d0ab8268f5e648144c5;hb=53700a2c9aa44599d0a74cb0e0b5e5fbdead0fcd;hpb=039a051ccf3901311661022a30afd60fc38130c9 diff --git a/contents.css b/contents.css index b4e28fe..53f9394 100644 --- a/contents.css +++ b/contents.css @@ -1,39 +1,103 @@ /* -Copyright (c) 2003-2010, 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; } -html +ol,ul,dl { - /* #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; + /* 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; } -img:-moz-broken +h1,h2,h3,h4,h5,h6 { - -moz-force-broken-image-icon : 1; - width : 24px; - height : 24px; + font-weight: normal; + line-height: 1.2em; +} + +hr +{ + border: 0px; + border-top: 1px solid #ccc; +} + +img.right { + border: 1px solid #ccc; + float: right; + margin-left: 15px; + padding: 5px; } -img, input, textarea + +img.left { + border: 1px solid #ccc; + float: left; + margin-right: 15px; + padding: 5px; +} + +img:hover { + opacity: .9; + filter: alpha(opacity = 90); +} + +pre { - cursor: default; + white-space: pre-wrap; /* CSS 2.1 */ + word-wrap: break-word; /* IE7 */ +} + +.marker { + background-color: Yellow; }