mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 06:08:02 +01:00
added version info to help file, fixed font size for tables
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
/* the text in the tables is too large without that */
|
||||||
|
table {
|
||||||
|
font-size: 1.0em;
|
||||||
|
}
|
||||||
|
|
||||||
table.main {
|
table.main {
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
@@ -68,7 +73,9 @@ table.settings {
|
|||||||
background-color: rgb(240, 250, 230);
|
background-color: rgb(240, 250, 230);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.command { font-weight: bold; color: #632610; }
|
.command { font-weight: bold; color: #632610; }
|
||||||
.mapping { font-weight: bold; color: #102663; }
|
.mapping { font-weight: bold; color: #102663; }
|
||||||
.setting { font-weight: bold; color: #106326; }
|
.setting { font-weight: bold; color: #106326; }
|
||||||
.argument { color: #6A97D4; }
|
.argument { color: #6A97D4; }
|
||||||
|
.version { position:absolute; top:10px; right:2%; color:#B0B0B0; text-align:right; }
|
||||||
|
|||||||
@@ -83,7 +83,10 @@ function help(section, easter)
|
|||||||
ret += "<br/>";
|
ret += "<br/>";
|
||||||
}
|
}
|
||||||
if (commands[i][HELP])
|
if (commands[i][HELP])
|
||||||
|
{
|
||||||
ret += commands[i][HELP]; // the help description
|
ret += commands[i][HELP]; // the help description
|
||||||
|
ret += "<br/>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ret += "Sorry, no help available";
|
ret += "Sorry, no help available";
|
||||||
@@ -182,6 +185,7 @@ function help(section, easter)
|
|||||||
// XXX: stylesheet broken here? Have to add it in the vimperator.xul file
|
// XXX: stylesheet broken here? Have to add it in the vimperator.xul file
|
||||||
'<link rel="stylesheet" href="chrome://vimperator/content/default.css" type="text/css">'+
|
'<link rel="stylesheet" href="chrome://vimperator/content/default.css" type="text/css">'+
|
||||||
'</head><body><pre style="white-space: -moz-pre-wrap !important;"><table class="main"><tr><td>' + // should change that to: white-space: pre-wrap; once CSS3 hits firefox
|
'</head><body><pre style="white-space: -moz-pre-wrap !important;"><table class="main"><tr><td>' + // should change that to: white-space: pre-wrap; once CSS3 hits firefox
|
||||||
|
'<span class="version">version ' + g_vimperator_version + '</span>'+
|
||||||
header +
|
header +
|
||||||
introduction +
|
introduction +
|
||||||
mappings +
|
mappings +
|
||||||
|
|||||||
Reference in New Issue
Block a user