X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=contents.css;h=a5e5fd48f5dd3ffe677ff0813f36757ed6442615;hb=3ae1f974ffdf269f96455a39d8d6947e4d590b1b;hp=263d3985ac9cc1e08d0de7f1bc69d90c38b7c906;hpb=2f22c0c38f17e75be5541089076885442aaa2377;p=ckeditor.git diff --git a/contents.css b/contents.css index 263d398..a5e5fd4 100644 --- a/contents.css +++ b/contents.css @@ -1,25 +1,99 @@ /* -Copyright (c) 2003-2012, 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; } ol,ul,dl { /* IE7: reset rtl list margin. (#7334) */ - *margin-right:0px; + *margin-right: 0px; /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ - padding:0 40px; + padding: 0 40px; +} + +h1,h2,h3,h4,h5,h6 +{ + 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.left { + border: 1px solid #ccc; + float: left; + margin-right: 15px; + padding: 5px; +} + +img:hover { + opacity: .9; + filter: alpha(opacity = 90); +} + +pre +{ + white-space: pre-wrap; /* CSS 2.1 */ + word-wrap: break-word; /* IE7 */ }