Various UI improvement (#4017)

This commit is contained in:
Sebastian Castro 2020-06-02 11:25:43 +02:00 committed by GitHub
parent f45d85f615
commit 7aa7e02e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 66 additions and 101 deletions

View file

@ -25,9 +25,10 @@ html.inner-editor {
/* ACE-PAD Container (i.e. where the text is displayed) */
#innerdocbody {
padding: 10px;
padding: 15px;
overflow: hidden;
background-color: white;
line-height: 1.6;
/* Be careful editing following rules. Longs words should not overflow, ep_align justify should work,
Test on chrome, firefox and safari... Copy / Paste a word inside a sentence should not add line-breaks
@ -49,9 +50,9 @@ html.inner-editor {
color: inherit;
}
#innerdocbody span {
line-height: 125%;
padding: 6px 0 !important;
#innerdocbody.authorColors span {
padding-top: 3px;
padding-bottom: 4px;
}
option {
@ -62,8 +63,15 @@ option {
#innerdocbody h2,
#innerdocbody h3,
#innerdocbody h4 {
line-height: 1.2;
margin-bottom: .5em;
}
#innerdocbody h1 span,
#innerdocbody h2 span,
#innerdocbody h3 span,
#innerdocbody h4 span {
padding-top: 0;
}
/* --------------------- */
/* -- BROWSER SUPPORT -- */
@ -87,9 +95,12 @@ body.mozilla, body.safari {
}
#sidediv .line-number {
font-size: 9px;
padding: 0 10px;
padding: 0 14px 0 10px;
font-family: monospace;
}
.plugin-ep_author_neat #sidedivinner.authorColors .line-number {
padding-right: 10px;
}
#sidedivinner {
text-align: right;
opacity: .9;