X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=contents.css;h=f29bc0a86e90969f42237de9ee4ff5dfb3755f52;hb=75e266c2f692f8cd1b274249ad657e07bc9072aa;hp=81e76d564e25b7617f37f3b3dd8c86da662a0613;hpb=57bde48ab8a99810fe524a8b511b2f501bf7f318;p=ckeditor.git diff --git a/contents.css b/contents.css index 81e76d5..f29bc0a 100644 --- a/contents.css +++ b/contents.css @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2014, 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 @@ -93,6 +93,10 @@ pre { white-space: pre-wrap; /* CSS 2.1 */ word-wrap: break-word; /* IE7 */ + -moz-tab-size: 4; + -o-tab-size: 4; + -webkit-tab-size: 4; + tab-size: 4; } .marker @@ -102,5 +106,29 @@ pre span[lang] { - font-style: italic; + 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; }