123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468 |
- <!DOCTYPE html>
- <html dir="ltr">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
- <title>Options/HTML - XOWA</title>
- <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
- <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
- <style>
- .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
- .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
- .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
- .options_textbox {padding: 2px; border: 1px solid black;}
- .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
- .options_textarea {padding: 2px; border: 1px solid black;}
- .options_select {padding: 2px; border: 1px solid black;}
- .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
- .options_checkbox {padding: 2px; border: 1px solid black;}
- .options_readonly {background-color:#F9F9F9;}
- </style>
- <style>
- .optionsButton
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: lightgray;
- text-align: center;
- }
- .optionsLink
- {
- color: black !important;
- text-decoration: none;
- }
- .optionsButton.active
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: dimgray;
- color: white !important;
- border: solid 1px dimgray;
- }
- .optionsButton.active a
- {
- color: white !important;
- }
- .tabs
- {
- width: 100%;
- margin-top: 10px;
- }
- .tab-links ul
- {
- margin-left: -40px;
- }
- .tab-links li
- {
- margin: 0px 0px 0px 0px;
- float: left;
- list-style: none;
- }
- .tab-links a
- {
- padding: 9px 15px 9px 15px;
- border-radius: 3px 3px 0px 0px;
- background: #f0f0f0;
- font-family: 'Segoe UI';
- font-size: 13px;
- color: black !important;
- text-decoration: none;
- border-radius: 3px;
- border-top: solid 1px gray;
- border-left: solid 1px gray;
- border-right: solid 1px gray;
- }
- .tab-links a:hover
- {
- background: #B0B0B0;
- text-decoration: none;
- }
- li.active a, li.active a:hover
- {
- background: #fff;
- color: #4c4c4c;
- font-weight: bold;
- }
- .tab-content
- {
- padding: 15px;
- border-radius: 3px;
- background: #fff;
- border-top: solid 1px gray;
- margin-top: 5px;
- min-height: 300px;
- }
- </style>
- <style>
- .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
- .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
- .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
- .options_textbox {padding: 2px; border: 1px solid black;}
- .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
- .options_textarea {padding: 2px; border: 1px solid black;}
- .options_select {padding: 2px; border: 1px solid black;}
- .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
- .options_checkbox {padding: 2px; border: 1px solid black;}
- .options_readonly {background-color:#F9F9F9;}
- </style>
- <style>
- .optionsButton
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: lightgray;
- text-align: center;
- }
- .optionsLink
- {
- color: black !important;
- text-decoration: none;
- }
- .optionsButton.active
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: dimgray;
- color: white !important;
- border: solid 1px dimgray;
- }
- .optionsButton.active a
- {
- color: white !important;
- }
- .tabs
- {
- width: 100%;
- margin-top: 10px;
- }
- .tab-links ul
- {
- margin-left: -40px;
- }
- .tab-links li
- {
- margin: 0px 0px 0px 0px;
- float: left;
- list-style: none;
- }
- .tab-links a
- {
- padding: 9px 15px 9px 15px;
- border-radius: 3px 3px 0px 0px;
- background: #f0f0f0;
- font-family: 'Segoe UI';
- font-size: 13px;
- color: black !important;
- text-decoration: none;
- border-radius: 3px;
- border-top: solid 1px gray;
- border-left: solid 1px gray;
- border-right: solid 1px gray;
- }
- .tab-links a:hover
- {
- background: #B0B0B0;
- text-decoration: none;
- }
- li.active a, li.active a:hover
- {
- background: #fff;
- color: #4c4c4c;
- font-weight: bold;
- }
- .tab-content
- {
- padding: 15px;
- border-radius: 3px;
- background: #fff;
- border-top: solid 1px gray;
- margin-top: 5px;
- min-height: 300px;
- }
- </style>
- </head>
- <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
- <div id="mw-page-base" class="noprint"></div>
- <div id="mw-head-base" class="noprint"></div>
- <div id="content" class="mw-body">
- <h1 id="firstHeading" class="firstHeading"><span>Options/HTML</span></h1>
- <div id="bodyContent" class="mw-body-content">
- <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
- <div id="contentSub"></div>
- <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
-
- <div>
- <table>
- <tr>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
- </td>
- <td class='optionsButton active'>
- <a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
- </td>
- </tr>
- </table>
- </div>
- <div class="tabs">
- <div>
- <ul class='tab-links' style='margin-left:0px;'>
- <li class='active'>
- <a href='/wiki/Options/HTML'>HTML</a>
- </li>
- <li class=''>
- <a href='/wiki/Options/Wiki_HTML'>Wiki HTML</a>
- </li>
- <li class=''>
- <a href='/wiki/Options/HTML_Tidy'>HTML Tidy</a>
- </li>
- </ul>
- </div><br>
- <div class='tab-content'>
- <div id="toc" class="toc">
- <div id="toctitle">
- <h2>
- Contents
- </h2>
- </div>
- <ul>
- <li class="toclevel-1 tocsection-1">
- <a href="#HTML_page_font"><span class="tocnumber">1</span> <span class="toctext">HTML page font</span></a>
- </li>
- <li class="toclevel-1 tocsection-2">
- <a href="#Custom_CSS"><span class="tocnumber">2</span> <span class="toctext">Custom CSS</span></a>
- </li>
- <li class="toclevel-1 tocsection-3">
- <a href="#Notes"><span class="tocnumber">3</span> <span class="toctext">Notes</span></a>
- </li>
- </ul>
- </div>
- <div style='float:right; margin-right:10px; margin-top:5px;'>
- <p>
- <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>
- </p>
- </div><br>
-
- <h2>
- <span class="mw-headline" id="HTML_page_font">HTML page font</span>
- </h2>
- <table class='options_table'>
- <tr>
- <td class='options_row_label'>
- Enabled: <sup id="cite_ref-font_enabled_0-0" class="reference"><a href="#cite_note-font_enabled-0">[1]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.html.page.font_enabled" type="checkbox" class="options_checkbox" id='xowa_prop_0' checked='checked'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- Font name: <sup id="cite_ref-font_name_1-0" class="reference"><a href="#cite_note-font_name-1">[2]</a></sup>
- </td>
- <td>
- <input class="options_textbox" xowa_prop="app.html.page.font_name" id='xowa_prop_1' value='Arial'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- Font size: <sup id="cite_ref-font_size_2-0" class="reference"><a href="#cite_note-font_size-2">[3]</a></sup>
- </td>
- <td>
- <input class="options_textbox" xowa_prop="app.html.page.font_size" id='xowa_prop_2' value='16.0'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- 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>
- </td>
- <td>
- <textarea xowa_prop="app.html.page.font_css_fmt" type="input" class="options_textarea" style="width: 600px; height: 100px;" id='xowa_prop_3'>
- body {font-family: ~{font_name}; font-size: ~{font_size}px;}
- </textarea>
- </td>
- </tr>
- </table>
- <h2>
- <span class="mw-headline" id="Custom_CSS">Custom CSS</span>
- </h2>
- <table class='options_table'>
- <tr>
- <td class='options_row_label'>
- Custom CSS: <sup id="cite_ref-custom_css_4-0" class="reference"><a href="#cite_note-custom_css-4">[5]</a></sup>
- </td>
- <td>
- <textarea xowa_prop="app.gui.html.css_xtn" class="options_textarea" style="width: 600px; height: 100px;" id='xowa_prop_4'>
- </textarea>
- </td>
- </tr>
- </table>
- <h2>
- <span class="mw-headline" id="Notes">Notes</span>
- </h2>
- <ol class="references">
- <li id="cite_note-font_enabled-0">
- <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>
- <ul>
- <li>
- <span class="reference-text"><b>checked</b> : enables custom HTML page font</span>
- </li>
- <li>
- <span class="reference-text"><b>unchecked</b> : disables custom HTML page font. The HTML page font will be the browser default (Arial 16)</span>
- </li>
- </ul>
- </li>
- <li id="cite_note-font_name-1">
- <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>
- </li>
- <li id="cite_note-font_size-2">
- <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>
- </li>
- <li id="cite_note-font_css_fmt-3">
- <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>
- </li>
- <li id="cite_note-custom_css-4">
- <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>
- </li>
- </ol>
- </div>
- </div>
-
- </div>
- </div>
- </div>
- <div id="mw-head" class="noprint">
- <div id="left-navigation">
- <div id="p-namespaces" class="vectorTabs">
- <h3>Namespaces</h3>
- <ul>
- <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
- </ul>
- </div>
- </div>
- </div>
- <div id='mw-panel' class='noprint'>
- <div id='p-logo'>
- <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
- </div>
- <div class="portal" id='xowa-portal-home'>
- <h3>XOWA</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
- <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-stargin'>
- <h3>Getting started</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/wiki/home/page/App/Setup/System_requirements.html" title='Get XOWA's system requirements'>Requirements</a></li>
- <li><a href="http://xowa.org/wiki/home/page/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
- <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>
- <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>
- <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>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-help'>
- <h3>Help</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/wiki/home/page/Help/About.html" title='Get more information about XOWA'>About</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
- </ul>
- </div>
- </div>
-
- <div class="portal" id='xowa-portal-blog'>
- <h3>Blog</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/wiki/home/page/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-links'>
- <h3>Links</h3>
- <div class="body">
- <ul>
- <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
- <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
- <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-donate'>
- <h3>Donate</h3>
- <div class="body">
- <ul>
- <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li>
- <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
-
- </ul>
- </div>
- </div>
- </div>
- </body>
- </html>
|