forked from xserver-inc/cocoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor-style.css
157 lines (131 loc) · 2.7 KB
/
editor-style.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
@charset "UTF-8";
/*ビジュアルエディターのスタイルを書く*/
body#tinymce {
padding: 0 20px !important;
margin-top: 0 !important;
background-image: none;
background-color: #fff;
}
.column-2,
.column-3 {
margin: 16px 0;
}
/* .column-2::before,
.column-3::before{
content: "※カラムへの着色はエディタのみ";
position: absolute;
left: 0;
right: 0;
top: -1em;
width: 31%;
font-size: 0.8em;
padding: 4px 8px;
background-color: #f7dde4;
text-align: center;
}
html[lang="en"] .column-2::before,
html[lang="en"] .column-3::before{
content: "* Coloring is Editor Only.";
} */
.column-left {
background-color: #c7e1ef;
}
.column-center {
background-color: #c9e8d8;
}
.column-right {
background-color: #ffecd3;
}
.btn-wrap,
.blogcard-type {
padding: 6px;
margin: 4px 0;
position: relative;
}
span.btn-wrap {
padding: 6px 18px 6px;
display: inline-block;
font-size: 0.8em;
}
.btn-wrap::before {
position: absolute;
top: -2px;
right: 4px;
}
.btn-wrap::before {
font-family: FontAwesome;
color: #DBB004;
content: '\f146';
}
.blogcard-type::before {
font-family: FontAwesome;
font-size: 0.6em;
padding: 0 4px;
background-color: #587b93;
color: #fff;
top: 0;
right: 0;
position: absolute;
white-space: pre;
}
.btn-wrap {
background-color: #f8e58c;
}
.blogcard-type {
padding-top: 1em;
background-color: #e6ecf0;
}
.blogcard-type.bct-none::before {
content: " ラベルなし";
}
.blogcard-type.bct-related::before {
content: " 関連記事";
}
.blogcard-type.bct-reference::before {
content: " 参考記事";
}
.blogcard-type.bct-popular::before {
content: " 人気記事";
}
.blogcard-type.bct-pickup::before {
content: " ピックアップ";
}
.blogcard-type.bct-check::before {
content: " チェック";
}
.blogcard-type.bct-together::before {
content: " あわせて読みたい";
}
.blogcard-type.bct-detail::before {
content: " 詳細はこちら";
}
.blogcard-type.bct-official::before {
content: " 公式サイト";
}
/*ビジュアルエディターにinstagramの引用符が表示される対応*/
.instagram-media {
position: relative !important;
}
.wp-block,
.edit-post-text-editor {
padding: 0;
margin: 0 auto;
max-width: 800px;
}
@media screen and (max-width: 600px) {
div.edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit {
margin-left: 10%;
margin-right: 10%;
}
div.editor-block-list__block::before,
div.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit::before {
left: 0;
right: 0;
}
div.freeform-toolbar {
margin: 0;
}
}
div.mce-content-body {
line-height: inherit;
}