xref: /webtrees/public/ckeditor-4.15.1-custom/contents.css (revision afa67798854828b1edc33dd077960ec2b18e6140)
1/*
2Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4*/
5
6body
7{
8	/* Font */
9	/* Emoji fonts are added to visualise them nicely in Internet Explorer. */
10	font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
11	font-size: 12px;
12
13	/* Text color */
14	color: #333;
15
16	/* Remove the background color to make it transparent. */
17	background-color: #fff;
18
19	margin: 20px;
20}
21
22.cke_editable
23{
24	font-size: 13px;
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 different 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	outline: solid 1px #ccc;
118	background: rgba(0,0,0,0.05);
119	padding: 10px;
120	margin: 10px 20px;
121	display: inline-block;
122}
123
124figure > figcaption
125{
126	text-align: center;
127	display: block; /* For IE8 */
128}
129
130a > img {
131	padding: 1px;
132	margin: 1px;
133	border: none;
134	outline: 1px solid #0782C1;
135}
136
137/* Widget Styles */
138.code-featured
139{
140	border: 5px solid red;
141}
142
143.math-featured
144{
145	padding: 20px;
146	box-shadow: 0 0 2px rgba(200, 0, 0, 1);
147	background-color: rgba(255, 0, 0, 0.05);
148	margin: 10px;
149}
150
151.image-clean
152{
153	border: 0;
154	background: none;
155	padding: 0;
156}
157
158.image-clean > figcaption
159{
160	font-size: .9em;
161	text-align: right;
162}
163
164.image-grayscale
165{
166	background-color: white;
167	color: #666;
168}
169
170.image-grayscale img, img.image-grayscale
171{
172	filter: grayscale(100%);
173}
174
175.embed-240p
176{
177	max-width: 426px;
178	max-height: 240px;
179	margin:0 auto;
180}
181
182.embed-360p
183{
184	max-width: 640px;
185	max-height: 360px;
186	margin:0 auto;
187}
188
189.embed-480p
190{
191	max-width: 854px;
192	max-height: 480px;
193	margin:0 auto;
194}
195
196.embed-720p
197{
198	max-width: 1280px;
199	max-height: 720px;
200	margin:0 auto;
201}
202
203.embed-1080p
204{
205	max-width: 1920px;
206	max-height: 1080px;
207	margin:0 auto;
208}
209