@@ -0,0 +1,17 @@
+<style>
+ .word-count {
+ padding: 10px 20px;
+ margin-bottom: 15px;
+ background: var(--ck-color-toolbar-background);
+ border-left: 10px hsl(291, 64%, 42%) solid;
+ box-shadow: 2px 2px 2px hsla(0,0%,0%,0.1);
+ }
+
+ .word-count::before {
+ content: "Text statistics";
+ display: block;
+ font-weight: bold;
+ font-size: 1.2em;
+ margin-bottom: .4em;
+</style>
@@ -1,8 +1,10 @@
<style>
- .word-count {
- border: 3px solid #333;
- padding-left: 5px;
- margin-bottom: 15px;
+ #demo-word-count .ck-word-count * {
+ display: inline-block;
+ #demo-word-count .ck-word-count .ck-word-count__words {
+ margin-right: 1em;
}
</style>
<div id="demo-editor">