small fixes & added doc directory
This commit is contained in:
@@ -0,0 +1,37 @@
|
|||||||
|
del {
|
||||||
|
opacity: 0.3;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
ins {
|
||||||
|
color: #009A5A;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
ins[block] {
|
||||||
|
display: block;
|
||||||
|
white-space: normal;
|
||||||
|
box-sizing: border-box;
|
||||||
|
max-width: 700px;
|
||||||
|
border: 2px solid #006666;
|
||||||
|
background: #eee;
|
||||||
|
padding: 0.3em;
|
||||||
|
margin: .5em 0;
|
||||||
|
/* copied from the man2html style */
|
||||||
|
font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
ins[block] p {
|
||||||
|
margin: 0;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
ins[block] p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav li {
|
||||||
|
padding-bottom: 7px;
|
||||||
|
font-size: 90%;
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,49 @@
|
|||||||
|
body {
|
||||||
|
/* Verdana, - too wide */
|
||||||
|
/* Lucida Grande, - cluttered */
|
||||||
|
/* Droid Serif - ? */
|
||||||
|
/* Optima, - maybe - seems light */
|
||||||
|
/* Verdana, - large */
|
||||||
|
/* Tahoma, - not bad */
|
||||||
|
font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,h2,h3,h4 {
|
||||||
|
font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
|
||||||
|
margin: 0px;
|
||||||
|
line-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3,h4 {
|
||||||
|
margin-left: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp,
|
||||||
|
tt{
|
||||||
|
/* font-family:monospace,monospace; */
|
||||||
|
font-family: "Andale Mono", "Monotype.com", monospace;
|
||||||
|
font-size:1em;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
*.no-header {
|
||||||
|
visibility:hidden;
|
||||||
|
overflow:hidden;
|
||||||
|
float:left;
|
||||||
|
clear: both;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
white-space: pre-wrap; /* CSS 3 */
|
||||||
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
||||||
|
white-space: -pre-wrap; /* Opera 4-6 */
|
||||||
|
white-space: -o-pre-wrap; /* Opera 7 */
|
||||||
|
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* This is a separate file rather than embedded because it allows us to
|
||||||
|
* suppress non-working CSS from IE8, etc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@media only screen and (min-width: 500px) {
|
||||||
|
body {
|
||||||
|
margin-left: 30%;
|
||||||
|
}
|
||||||
|
p,li,dd {
|
||||||
|
max-width:700px;
|
||||||
|
}
|
||||||
|
*.nav {
|
||||||
|
margin-left: -30%;
|
||||||
|
width: 28%;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
overflow: auto;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 784px) {
|
||||||
|
body {
|
||||||
|
margin-left: 16em;
|
||||||
|
}
|
||||||
|
*.nav {
|
||||||
|
margin-left: -16em;
|
||||||
|
width: 15em;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
overflow: auto;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
*.nav ul {
|
||||||
|
list-style-type: none;
|
||||||
|
padding-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
*.nav-break {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
*.nav-top
|
||||||
|
{
|
||||||
|
color: #FFF;
|
||||||
|
background-color: #ccc;
|
||||||
|
text-decoration:none;
|
||||||
|
text-transform:uppercase;
|
||||||
|
font-style:italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
*.menu-nav ul
|
||||||
|
{
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
@@ -446,10 +446,10 @@ var Input = (function() {
|
|||||||
'down': ca('\x1bOB', '\x1b[B'),
|
'down': ca('\x1bOB', '\x1b[B'),
|
||||||
'right': ca('\x1bOC', '\x1b[C'),
|
'right': ca('\x1bOC', '\x1b[C'),
|
||||||
'left': ca('\x1bOD', '\x1b[D'),
|
'left': ca('\x1bOD', '\x1b[D'),
|
||||||
'home': fa('\x1bOH', '\x1b[1~'),
|
'home': ca('\x1bOH', fa('\x1b[H', '\x1b[1~')),
|
||||||
'insert': '\x1b[2~',
|
'insert': '\x1b[2~',
|
||||||
'delete': '\x1b[3~',
|
'delete': '\x1b[3~',
|
||||||
'end': fa('\x1bOF', '\x1b[4~'),
|
'end': ca('\x1bOF', fa('\x1b[F', '\x1b[4~')),
|
||||||
'pageup': '\x1b[5~',
|
'pageup': '\x1b[5~',
|
||||||
'pagedown': '\x1b[6~',
|
'pagedown': '\x1b[6~',
|
||||||
'f1': fa('\x1bOP', '\x1b[11~'),
|
'f1': fa('\x1bOP', '\x1b[11~'),
|
||||||
|
|||||||
+8
-7
@@ -197,10 +197,6 @@ apars_handle_csi(char leadchar, const int *params, int count, char keychar)
|
|||||||
apars_respond(buf);
|
apars_respond(buf);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 11: // Report iconified -> is not iconified
|
|
||||||
apars_respond("\033[1t");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 21: // Report title
|
case 21: // Report title
|
||||||
apars_respond("\033]L");
|
apars_respond("\033]L");
|
||||||
apars_respond(termconf_scratch.title);
|
apars_respond(termconf_scratch.title);
|
||||||
@@ -363,11 +359,12 @@ apars_handle_csi(char leadchar, const int *params, int count, char keychar)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (leadchar == NUL) {
|
||||||
if (n1 == 6) {
|
if (n1 == 6) {
|
||||||
// Query cursor position
|
// Query cursor position
|
||||||
int x, y;
|
int x, y;
|
||||||
screen_cursor_get(&y, &x);
|
screen_cursor_get(&y, &x);
|
||||||
sprintf(buf, "\033[%d;%dR", y+1, x+1);
|
sprintf(buf, "\033[%d;%dR", y + 1, x + 1);
|
||||||
apars_respond(buf);
|
apars_respond(buf);
|
||||||
}
|
}
|
||||||
else if (n1 == 5) {
|
else if (n1 == 5) {
|
||||||
@@ -377,6 +374,10 @@ apars_handle_csi(char leadchar, const int *params, int count, char keychar)
|
|||||||
else {
|
else {
|
||||||
warn_bad_csi();
|
warn_bad_csi();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
warn_bad_csi();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'c': // CSI-c - report capabilities
|
case 'c': // CSI-c - report capabilities
|
||||||
@@ -577,8 +578,8 @@ static void ICACHE_FLASH_ATTR do_csi_sgr(CSI_Data *opts)
|
|||||||
else if (n == SGR_FRAKTUR) screen_set_sgr(ATTR_FRAKTUR, 1);
|
else if (n == SGR_FRAKTUR) screen_set_sgr(ATTR_FRAKTUR, 1);
|
||||||
else if (n == SGR_INVERSE) screen_set_sgr_inverse(1);
|
else if (n == SGR_INVERSE) screen_set_sgr_inverse(1);
|
||||||
// -- clear attr --
|
// -- clear attr --
|
||||||
else if (n == SGR_OFF(SGR_BOLD)) screen_set_sgr(ATTR_BOLD, 0);
|
else if (n == SGR_OFF(SGR_BOLD)) screen_set_sgr(ATTR_BOLD, 0); // can also mean "Double Underline"
|
||||||
else if (n == SGR_OFF(SGR_FAINT)) screen_set_sgr(ATTR_FAINT, 0);
|
else if (n == SGR_OFF(SGR_FAINT)) screen_set_sgr(ATTR_FAINT | ATTR_BOLD, 0); // "normal"
|
||||||
else if (n == SGR_OFF(SGR_ITALIC)) screen_set_sgr(ATTR_ITALIC | ATTR_FRAKTUR, 0); // there is no dedicated OFF code for Fraktur
|
else if (n == SGR_OFF(SGR_ITALIC)) screen_set_sgr(ATTR_ITALIC | ATTR_FRAKTUR, 0); // there is no dedicated OFF code for Fraktur
|
||||||
else if (n == SGR_OFF(SGR_UNDERLINE)) screen_set_sgr(ATTR_UNDERLINE, 0);
|
else if (n == SGR_OFF(SGR_UNDERLINE)) screen_set_sgr(ATTR_UNDERLINE, 0);
|
||||||
else if (n == SGR_OFF(SGR_BLINK)) screen_set_sgr(ATTR_BLINK, 0);
|
else if (n == SGR_OFF(SGR_BLINK)) screen_set_sgr(ATTR_BLINK, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user