-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathdemo.css
57 lines (52 loc) · 1.49 KB
/
demo.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* ---- Basic CSS reset ------------------------------------------------------ */
*, ::after, ::before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
}
body,
html {
margin: 0;
padding: 0;
}
.ck.ck-content.ck-editor__editable_inline > :first-child {
margin-top: 0;
}
/* ---- Styles of the demo page ------------------------------------------------------ */
.editor-wrapper {
max-width: 66rem;
margin: 0 auto 2rem auto;
}
.header-wrapper {
padding: 1rem 2rem;
}
/* ---- Inline editor demo styles ------------------------------------------------------------------- */
#cke5-editor-types-demo-inline {
/*
* Here we unset min-height in each inline editor. By defualt it was 300px, so it looks ugly when in
* editor is only few lines of content like in Inline Editor so in that case we need to remove that
* min-height value.
*/
}
#cke5-editor-types-demo-inline #inline-header,
#cke5-editor-types-demo-inline #inline-main,
#cke5-editor-types-demo-inline #inline-footer-first,
#cke5-editor-types-demo-inline #inline-footer-second {
min-height: unset;
}
#cke5-editor-types-demo-inline #inline-header,
#cke5-editor-types-demo-inline #inline-main {
margin-bottom: 20px;
}
#cke5-editor-types-demo-inline .demo-row {
display: flex;
gap: 20px;
justify-content: space-between;
}
#cke5-editor-types-demo-inline .demo-row__half {
flex: 1 1 0;
}
#cke5-editor-types-demo-inline #inline-footer-first,
#cke5-editor-types-demo-inline #inline-footer-second {
height: 100%;
}