HTML.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Options/HTML - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. <style>
  9. .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
  10. .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
  11. .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
  12. .options_textbox {padding: 2px; border: 1px solid black;}
  13. .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
  14. .options_textarea {padding: 2px; border: 1px solid black;}
  15. .options_select {padding: 2px; border: 1px solid black;}
  16. .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
  17. .options_checkbox {padding: 2px; border: 1px solid black;}
  18. .options_readonly {background-color:#F9F9F9;}
  19. </style>
  20. <style>
  21. .optionsButton
  22. {
  23. width: 100px;
  24. height: 40px;
  25. font-family: 'Segoe UI';
  26. font-size: 12px;
  27. margin-left: -5px;
  28. cursor: pointer;
  29. background-color: lightgray;
  30. text-align: center;
  31. }
  32. .optionsLink
  33. {
  34. color: black !important;
  35. text-decoration: none;
  36. }
  37. .optionsButton.active
  38. {
  39. width: 100px;
  40. height: 40px;
  41. font-family: 'Segoe UI';
  42. font-size: 12px;
  43. margin-left: -5px;
  44. cursor: pointer;
  45. background-color: dimgray;
  46. color: white !important;
  47. border: solid 1px dimgray;
  48. }
  49. .optionsButton.active a
  50. {
  51. color: white !important;
  52. }
  53. .tabs
  54. {
  55. width: 100%;
  56. margin-top: 10px;
  57. }
  58. .tab-links ul
  59. {
  60. margin-left: -40px;
  61. }
  62. .tab-links li
  63. {
  64. margin: 0px 0px 0px 0px;
  65. float: left;
  66. list-style: none;
  67. }
  68. .tab-links a
  69. {
  70. padding: 9px 15px 9px 15px;
  71. border-radius: 3px 3px 0px 0px;
  72. background: #f0f0f0;
  73. font-family: 'Segoe UI';
  74. font-size: 13px;
  75. color: black !important;
  76. text-decoration: none;
  77. border-radius: 3px;
  78. border-top: solid 1px gray;
  79. border-left: solid 1px gray;
  80. border-right: solid 1px gray;
  81. }
  82. .tab-links a:hover
  83. {
  84. background: #B0B0B0;
  85. text-decoration: none;
  86. }
  87. li.active a, li.active a:hover
  88. {
  89. background: #fff;
  90. color: #4c4c4c;
  91. font-weight: bold;
  92. }
  93. .tab-content
  94. {
  95. padding: 15px;
  96. border-radius: 3px;
  97. background: #fff;
  98. border-top: solid 1px gray;
  99. margin-top: 5px;
  100. min-height: 300px;
  101. }
  102. </style>
  103. <style>
  104. .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
  105. .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
  106. .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
  107. .options_textbox {padding: 2px; border: 1px solid black;}
  108. .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
  109. .options_textarea {padding: 2px; border: 1px solid black;}
  110. .options_select {padding: 2px; border: 1px solid black;}
  111. .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
  112. .options_checkbox {padding: 2px; border: 1px solid black;}
  113. .options_readonly {background-color:#F9F9F9;}
  114. </style>
  115. <style>
  116. .optionsButton
  117. {
  118. width: 100px;
  119. height: 40px;
  120. font-family: 'Segoe UI';
  121. font-size: 12px;
  122. margin-left: -5px;
  123. cursor: pointer;
  124. background-color: lightgray;
  125. text-align: center;
  126. }
  127. .optionsLink
  128. {
  129. color: black !important;
  130. text-decoration: none;
  131. }
  132. .optionsButton.active
  133. {
  134. width: 100px;
  135. height: 40px;
  136. font-family: 'Segoe UI';
  137. font-size: 12px;
  138. margin-left: -5px;
  139. cursor: pointer;
  140. background-color: dimgray;
  141. color: white !important;
  142. border: solid 1px dimgray;
  143. }
  144. .optionsButton.active a
  145. {
  146. color: white !important;
  147. }
  148. .tabs
  149. {
  150. width: 100%;
  151. margin-top: 10px;
  152. }
  153. .tab-links ul
  154. {
  155. margin-left: -40px;
  156. }
  157. .tab-links li
  158. {
  159. margin: 0px 0px 0px 0px;
  160. float: left;
  161. list-style: none;
  162. }
  163. .tab-links a
  164. {
  165. padding: 9px 15px 9px 15px;
  166. border-radius: 3px 3px 0px 0px;
  167. background: #f0f0f0;
  168. font-family: 'Segoe UI';
  169. font-size: 13px;
  170. color: black !important;
  171. text-decoration: none;
  172. border-radius: 3px;
  173. border-top: solid 1px gray;
  174. border-left: solid 1px gray;
  175. border-right: solid 1px gray;
  176. }
  177. .tab-links a:hover
  178. {
  179. background: #B0B0B0;
  180. text-decoration: none;
  181. }
  182. li.active a, li.active a:hover
  183. {
  184. background: #fff;
  185. color: #4c4c4c;
  186. font-weight: bold;
  187. }
  188. .tab-content
  189. {
  190. padding: 15px;
  191. border-radius: 3px;
  192. background: #fff;
  193. border-top: solid 1px gray;
  194. margin-top: 5px;
  195. min-height: 300px;
  196. }
  197. </style>
  198. </head>
  199. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  200. <div id="mw-page-base" class="noprint"></div>
  201. <div id="mw-head-base" class="noprint"></div>
  202. <div id="content" class="mw-body">
  203. <h1 id="firstHeading" class="firstHeading"><span>Options/HTML</span></h1>
  204. <div id="bodyContent" class="mw-body-content">
  205. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  206. <div id="contentSub"></div>
  207. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  208. <div>
  209. <table>
  210. <tr>
  211. <td class='optionsButton'>
  212. <a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
  213. </td>
  214. <td class='optionsButton'>
  215. <a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
  216. </td>
  217. <td class='optionsButton'>
  218. <a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
  219. </td>
  220. <td class='optionsButton active'>
  221. <a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
  222. </td>
  223. <td class='optionsButton'>
  224. <a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
  225. </td>
  226. <td class='optionsButton'>
  227. <a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
  228. </td>
  229. <td class='optionsButton'>
  230. <a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
  231. </td>
  232. <td class='optionsButton'>
  233. <a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
  234. </td>
  235. </tr>
  236. </table>
  237. </div>
  238. <div class="tabs">
  239. <div>
  240. <ul class='tab-links' style='margin-left:0px;'>
  241. <li class='active'>
  242. <a href='/wiki/Options/HTML'>HTML</a>
  243. </li>
  244. <li class=''>
  245. <a href='/wiki/Options/Wiki_HTML'>Wiki HTML</a>
  246. </li>
  247. <li class=''>
  248. <a href='/wiki/Options/HTML_Tidy'>HTML Tidy</a>
  249. </li>
  250. </ul>
  251. </div><br>
  252. <div class='tab-content'>
  253. <div id="toc" class="toc">
  254. <div id="toctitle">
  255. <h2>
  256. Contents
  257. </h2>
  258. </div>
  259. <ul>
  260. <li class="toclevel-1 tocsection-1">
  261. <a href="#HTML_page_font"><span class="tocnumber">1</span> <span class="toctext">HTML page font</span></a>
  262. </li>
  263. <li class="toclevel-1 tocsection-2">
  264. <a href="#Custom_CSS"><span class="tocnumber">2</span> <span class="toctext">Custom CSS</span></a>
  265. </li>
  266. <li class="toclevel-1 tocsection-3">
  267. <a href="#Notes"><span class="tocnumber">3</span> <span class="toctext">Notes</span></a>
  268. </li>
  269. </ul>
  270. </div>
  271. <div style='float:right; margin-right:10px; margin-top:5px;'>
  272. <p>
  273. <a href="xowa-cmd:app.user.prefs.save();" accesskey='s'><img src='file:///C:/xowa/bin/any/xowa/file/app.window/save.png' width="16" height="16">Save</a>
  274. </p>
  275. </div><br>
  276. <h2>
  277. <span class="mw-headline" id="HTML_page_font">HTML page font</span>
  278. </h2>
  279. <table class='options_table'>
  280. <tr>
  281. <td class='options_row_label'>
  282. Enabled: <sup id="cite_ref-font_enabled_0-0" class="reference"><a href="#cite_note-font_enabled-0">[1]</a></sup>
  283. </td>
  284. <td>
  285. <input xowa_prop="app.html.page.font_enabled" type="checkbox" class="options_checkbox" id='xowa_prop_0' checked='checked'>
  286. </td>
  287. </tr>
  288. <tr>
  289. <td class='options_row_label'>
  290. Font name: <sup id="cite_ref-font_name_1-0" class="reference"><a href="#cite_note-font_name-1">[2]</a></sup>
  291. </td>
  292. <td>
  293. <input class="options_textbox" xowa_prop="app.html.page.font_name" id='xowa_prop_1' value='Arial'>
  294. </td>
  295. </tr>
  296. <tr>
  297. <td class='options_row_label'>
  298. Font size: <sup id="cite_ref-font_size_2-0" class="reference"><a href="#cite_note-font_size-2">[3]</a></sup>
  299. </td>
  300. <td>
  301. <input class="options_textbox" xowa_prop="app.html.page.font_size" id='xowa_prop_2' value='16.0'>
  302. </td>
  303. </tr>
  304. <tr>
  305. <td class='options_row_label'>
  306. Font CSS format: <sup id="cite_ref-font_css_fmt_3-0" class="reference"><a href="#cite_note-font_css_fmt-3">[4]</a></sup>
  307. </td>
  308. <td>
  309. <textarea xowa_prop="app.html.page.font_css_fmt" type="input" class="options_textarea" style="width: 600px; height: 100px;" id='xowa_prop_3'>
  310. body {font-family: ~{font_name}; font-size: ~{font_size}px;}
  311. </textarea>
  312. </td>
  313. </tr>
  314. </table>
  315. <h2>
  316. <span class="mw-headline" id="Custom_CSS">Custom CSS</span>
  317. </h2>
  318. <table class='options_table'>
  319. <tr>
  320. <td class='options_row_label'>
  321. Custom CSS: <sup id="cite_ref-custom_css_4-0" class="reference"><a href="#cite_note-custom_css-4">[5]</a></sup>
  322. </td>
  323. <td>
  324. <textarea xowa_prop="app.gui.html.css_xtn" class="options_textarea" style="width: 600px; height: 100px;" id='xowa_prop_4'>
  325. </textarea>
  326. </td>
  327. </tr>
  328. </table>
  329. <h2>
  330. <span class="mw-headline" id="Notes">Notes</span>
  331. </h2>
  332. <ol class="references">
  333. <li id="cite_note-font_enabled-0">
  334. <span class="mw-cite-backlink"><a href="#cite_ref-font_enabled_0-0">^</a></span> <span class="reference-text">Choose one of the following (default is <code>unchecked</code>)</span>
  335. <ul>
  336. <li>
  337. <span class="reference-text"><b>checked</b> : enables custom HTML page font</span>
  338. </li>
  339. <li>
  340. <span class="reference-text"><b>unchecked</b> : disables custom HTML page font. The HTML page font will be the browser default (Arial 16)</span>
  341. </li>
  342. </ul>
  343. </li>
  344. <li id="cite_note-font_name-1">
  345. <span class="mw-cite-backlink"><a href="#cite_ref-font_name_1-0">^</a></span> <span class="reference-text">Enter a font family name. (default is <code>Arial</code>)</span>
  346. </li>
  347. <li id="cite_note-font_size-2">
  348. <span class="mw-cite-backlink"><a href="#cite_ref-font_size_2-0">^</a></span> <span class="reference-text">Enter a number representing for a valid font size in pixels. (default is <code>16</code>)</span>
  349. </li>
  350. <li id="cite_note-font_css_fmt-3">
  351. <span class="mw-cite-backlink"><a href="#cite_ref-font_css_fmt_3-0">^</a></span> <span class="reference-text">Enter a format for embedding the custom font info in the web page. (default is <code>body, td {font-family:~{font_name};font-size:~{font_size}px;</code>) }</span>
  352. </li>
  353. <li id="cite_note-custom_css-4">
  354. <span class="mw-cite-backlink"><a href="#cite_ref-custom_css_4-0">^</a></span> <span class="reference-text">Add other custom CSS to be applied to every page (default is )</span>
  355. </li>
  356. </ol>
  357. </div>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <div id="mw-head" class="noprint">
  363. <div id="left-navigation">
  364. <div id="p-namespaces" class="vectorTabs">
  365. <h3>Namespaces</h3>
  366. <ul>
  367. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  368. </ul>
  369. </div>
  370. </div>
  371. </div>
  372. <div id='mw-panel' class='noprint'>
  373. <div id='p-logo'>
  374. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  375. </div>
  376. <div class="portal" id='xowa-portal-home'>
  377. <h3>XOWA</h3>
  378. <div class="body">
  379. <ul>
  380. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  381. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  382. <li><a href="http://xowa.org/wiki/home/page/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  383. <li><a href="http://xowa.org/wiki/home/page/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  384. </ul>
  385. </div>
  386. </div>
  387. <div class="portal" id='xowa-portal-stargin'>
  388. <h3>Getting started</h3>
  389. <div class="body">
  390. <ul>
  391. <li><a href="http://xowa.org/wiki/home/page/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  392. <li><a href="http://xowa.org/wiki/home/page/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  393. <li><a href="http://xowa.org/wiki/home/page/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
  394. <li><a href="http://xowa.org/wiki/home/page/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
  395. <li><a href="http://xowa.org/wiki/home/page/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
  396. </ul>
  397. </div>
  398. </div>
  399. <div class="portal" id='xowa-portal-help'>
  400. <h3>Help</h3>
  401. <div class="body">
  402. <ul>
  403. <li><a href="http://xowa.org/wiki/home/page/Help/About.html" title='Get more information about XOWA'>About</a></li>
  404. <li><a href="http://xowa.org/wiki/home/page/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  405. <li><a href="http://xowa.org/wiki/home/page/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  406. <li><a href="http://xowa.org/wiki/home/page/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  407. </ul>
  408. </div>
  409. </div>
  410. <div class="portal" id='xowa-portal-blog'>
  411. <h3>Blog</h3>
  412. <div class="body">
  413. <ul>
  414. <li><a href="http://xowa.org/wiki/home/page/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  415. </ul>
  416. </div>
  417. </div>
  418. <div class="portal" id='xowa-portal-links'>
  419. <h3>Links</h3>
  420. <div class="body">
  421. <ul>
  422. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  423. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  424. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  425. </ul>
  426. </div>
  427. </div>
  428. <div class="portal" id='xowa-portal-donate'>
  429. <h3>Donate</h3>
  430. <div class="body">
  431. <ul>
  432. <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
  433. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  434. <!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
  435. </ul>
  436. </div>
  437. </div>
  438. </div>
  439. </body>
  440. </html>