Support dark mode in simple docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7322 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0d298349d4
commit
c7516acf94
3 changed files with 64 additions and 91 deletions
|
@ -1,11 +1,13 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>NSIS System Plug-in</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<title>System Plug-in (NSIS)</title>
|
||||
<style type="text/css">
|
||||
html, body { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff; }
|
||||
:root { color-scheme: light dark; }
|
||||
html, body { font-family: Verdana, Arial, Helvetica, sans-serif; }
|
||||
html { font-size: 0.84em; }
|
||||
body { font-size: 1em; font-size: 1rem; }
|
||||
pre, code { font-family: Courier New, Courier, monospace,serif; font-size: 100%; }
|
||||
|
@ -17,6 +19,10 @@ h5 { font-size: 115%; }
|
|||
h6 { font-size: 110%; }
|
||||
blockquote { margin:0; padding:0; margin-left: 0.5em; }
|
||||
blockquote pre { background-color: #fefefe; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
blockquote pre { background-color: #202020; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -237,7 +243,7 @@ DetailPrint $4
|
|||
</tr>
|
||||
<tr>
|
||||
<th><i>IPTR</i>-><i>IDX</i></th>
|
||||
<td>Member indexed <i>IDX</i> from<br/>interface pointed by <i>IPTR</i></td>
|
||||
<td>Member indexed <i>IDX</i> from<br>interface pointed by <i>IPTR</i></td>
|
||||
<td><a href="#com">see below</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -306,11 +312,11 @@ DetailPrint $4
|
|||
<th>k</th>
|
||||
<td>callback</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>@</th>
|
||||
<td>Direct register memory access (Buffer is limited to <code>(NSIS_MAX_STRLEN - 24) * NSIS_CHAR_SIZE</code> bytes)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<th>&v<i>N</i></th>
|
||||
<td><i>N</i> bytes padding (structures only)</td>
|
||||
</tr>
|
||||
|
@ -360,7 +366,7 @@ DetailPrint $4
|
|||
<td>concrete hex, decimal or octal integer value. several integers can be or'ed using the pipe symbol (`|')</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>'<i>string</i>'<br/>"<i>string</i>"<br/>`<i>string</i>`</th>
|
||||
<th>'<i>string</i>'<br>"<i>string</i>"<br>`<i>string</i>`</th>
|
||||
<td>concrete string value</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -368,7 +374,7 @@ DetailPrint $4
|
|||
<td>$0 through $9 respectively</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><i>r10</i> through <i>r19</i><br/><i>R0</i> through <i>R9</i></th>
|
||||
<th><i>r10</i> through <i>r19</i><br><i>R0</i> through <i>R9</i></th>
|
||||
<td>$R0 through $R9 respectively</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue