Dotclear

source: plugins/dcCKEditor/js/ckeditor/contents.css @ 3450:9c94acfe6a83

Revision 3450:9c94acfe6a83, 2.9 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

CKEditor now uses same font-size as other interface Dotclear components

Line 
1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5
6body
7{
8     /* Font */
9     font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
10     font-size: 12px;
11
12     /* Text color */
13     color: #333;
14
15     /* Remove the background color to make it transparent */
16     background-color: #fff;
17
18     margin: 20px;
19}
20
21.cke_editable
22{
23/*   font-size: 13px; */
24     font-size: 100%;    /* Dotclear specific */
25     line-height: 1.6;
26
27     /* Fix for missing scrollbars with RTL texts. (#10488) */
28     word-wrap: break-word;
29}
30
31blockquote
32{
33     font-style: italic;
34     font-family: Georgia, Times, "Times New Roman", serif;
35     padding: 2px 0;
36     border-style: solid;
37     border-color: #ccc;
38     border-width: 0;
39}
40
41.cke_contents_ltr blockquote
42{
43     padding-left: 20px;
44     padding-right: 8px;
45     border-left-width: 5px;
46}
47
48.cke_contents_rtl blockquote
49{
50     padding-left: 8px;
51     padding-right: 20px;
52     border-right-width: 5px;
53}
54
55a
56{
57     color: #0782C1;
58}
59
60ol,ul,dl
61{
62     /* IE7: reset rtl list margin. (#7334) */
63     *margin-right: 0px;
64     /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
65     padding: 0 40px;
66}
67
68h1,h2,h3,h4,h5,h6
69{
70     font-weight: normal;
71     line-height: 1.2;
72}
73
74hr
75{
76     border: 0px;
77     border-top: 1px solid #ccc;
78}
79
80img.right
81{
82     border: 1px solid #ccc;
83     float: right;
84     margin-left: 15px;
85     padding: 5px;
86}
87
88img.left
89{
90     border: 1px solid #ccc;
91     float: left;
92     margin-right: 15px;
93     padding: 5px;
94}
95
96pre
97{
98     white-space: pre-wrap; /* CSS 2.1 */
99     word-wrap: break-word; /* IE7 */
100     -moz-tab-size: 4;
101     tab-size: 4;
102}
103
104.marker
105{
106     background-color: Yellow;
107}
108
109span[lang]
110{
111     font-style: italic;
112}
113
114figure
115{
116     text-align: center;
117     border: solid 1px #ccc;
118     border-radius: 2px;
119     background: rgba(0,0,0,0.05);
120     padding: 10px;
121     margin: 10px 20px;
122     display: inline-block;
123}
124
125figure > figcaption
126{
127     text-align: center;
128     display: block; /* For IE8 */
129}
130
131a > img {
132     padding: 1px;
133     margin: 1px;
134     border: none;
135     outline: 1px solid #0782C1;
136}
137
138/* Widget Styles */
139.code-featured
140{
141     border: 5px solid red;
142}
143
144.math-featured
145{
146     padding: 20px;
147     box-shadow: 0 0 2px rgba(200, 0, 0, 1);
148     background-color: rgba(255, 0, 0, 0.05);
149     margin: 10px;
150}
151
152.image-clean
153{
154     border: 0;
155     background: none;
156     padding: 0;
157}
158
159.image-clean > figcaption
160{
161     font-size: .9em;
162     text-align: right;
163}
164
165.image-grayscale
166{
167     background-color: white;
168     color: #666;
169}
170
171.image-grayscale img, img.image-grayscale
172{
173     filter: grayscale(100%);
174}
175
176.embed-240p
177{
178     max-width: 426px;
179     max-height: 240px;
180     margin:0 auto;
181}
182
183.embed-360p
184{
185     max-width: 640px;
186     max-height: 360px;
187     margin:0 auto;
188}
189
190.embed-480p
191{
192     max-width: 854px;
193     max-height: 480px;
194     margin:0 auto;
195}
196
197.embed-720p
198{
199     max-width: 1280px;
200     max-height: 720px;
201     margin:0 auto;
202}
203
204.embed-1080p
205{
206     max-width: 1920px;
207     max-height: 1080px;
208     margin:0 auto;
209}
Note: See TracBrowser for help on using the repository browser.

Sites map