93 lines
1.7 KiB
CSS

/* ckeditor.css */
.ck-editor__editable {
min-height: 300px;
border: 1px solid #e0e0e0;
border-radius: 4px;
padding: 15px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ck-toolbar {
border: 1px solid #e0e0e0;
border-radius: 4px 4px 0 0;
background-color: #f5f5f5;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ck-button {
color: #333;
border-radius: 4px;
transition: background-color 0.2s;
}
.ck-button:hover {
background-color: #e0e0e0;
}
.ck-dropdown__panel {
border: 1px solid #e0e0e0;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ck-dropdown__panel .ck-button {
padding: 8px 12px;
}
.ck-dropdown__panel .ck-button:hover {
background-color: #f0f0f0;
}
.ck-content h1, .ck-content h2, .ck-content h3 {
color: #333;
font-weight: bold;
}
.ck-content p {
color: #555;
line-height: 1.6;
}
.ck-content a {
color: #007bff;
text-decoration: none;
}
.ck-content a:hover {
text-decoration: underline;
}
/* ckeditor.css */
.ck-content code {
background-color: #f5f5f5;
padding: 2px 4px;
border-radius: 3px;
font-family: "Courier New", monospace;
}
.ck-content table {
width: 100%;
border-collapse: collapse;
margin: 10px 0;
background-color: #333;
}
.ck-content table td, .ck-content table th {
border: 1px solid #ddd;
padding: 8px;
}
.ck-content table th {
background-color: #f5f5f5;
font-weight: bold;
}
.ck-content .todo-list li {
list-style-type: none;
margin-left: 0;
}
.ck-content .todo-list li input[type="checkbox"] {
margin-right: 8px;
}