BesService/styles.css

37 lines
809 B
CSS

/* Besana online editor */
/* TODO: Rename classes to "bes-..." */
/* TODO: In the release version, .online-editor should not contain any formatting. Let users format editor at will. */
.online-editor {
width: 80%;
height: 300px;
margin: 0 auto;
padding: 20px;
border-radius: 10px;
background-color: #f5f5f5;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
line-height: 1.6;
white-space: pre-wrap;
overflow-y: auto;
font-family: Arial, Helvetica, sans-serif;
z-index: 2;
}
/* Mistake types styles */
.typo-mistake {
border-bottom: 2px solid red;
position: absolute;
z-index: 2;
cursor: text;
pointer-events: none;
/* text-decoration: underline;
text-decoration-color: red;
cursor: text; */
}
.other-mistake {
text-decoration: underline;
text-decoration-color: blue;
}