Print stylesheet:

* headings use sans-serif, non-headings use serif - typographic standard
* <a> that contain an href will show the URL in brackets after the </a>
* <a> is no longer underlined and normal text colours are used
* added new class 'locallink' to suppress URLs in brackets for href="#..."
* <pre> border thinned and solid instead of dashed
* <hr> increased width, reduced height

English XHTML readme:
* added class="locallink" to every <a> with href="#..."
* removed first line-break in <pre> to prevent empty line


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5238 4a71c877-e1ca-e34f-864e-861f7616d084
master
Steven Koenig 2008-06-08 18:04:02 +00:00
parent e5b6cf18b6
commit 80a196de48
2 changed files with 44 additions and 25 deletions

View File

@ -17,31 +17,31 @@
<h1 id="top">Content</h1>
<ul>
<li><a href="#readme">Warzone 2100 - Readme</a>
<li><a href="#readme" class="locallink">Warzone 2100 - Readme</a>
<ul>
<li><a href="#contents">Contents of Warzone 2100</a></li>
<li><a href="#gamestate">State of the game</a>
<li><a href="#contents" class="locallink">Contents of Warzone 2100</a></li>
<li><a href="#gamestate" class="locallink">State of the game</a>
<ul>
<li><a href="#bugreporting">Reporting bugs</a></li>
<li><a href="#bugreporting" class="locallink">Reporting bugs</a></li>
</ul>
</li>
<li><a href="#configuration">Configuration</a>
<li><a href="#configuration" class="locallink">Configuration</a>
<ul>
<li><a href="#configfile">WZ-dir and configuration file</a></li>
<li><a href="#cmdline">Command-line options</a></li>
<li><a href="#music">Music</a></li>
<li><a href="#multiplay">Multiplaying via internet</a></li>
<li><a href="#configfile" class="locallink">WZ-dir and configuration file</a></li>
<li><a href="#cmdline" class="locallink">Command-line options</a></li>
<li><a href="#music" class="locallink">Music</a></li>
<li><a href="#multiplay" class="locallink">Multiplaying via internet</a></li>
</ul>
</li>
<li><a href="#cheats">Cheats</a>
<li><a href="#cheats" class="locallink">Cheats</a>
<ul>
<li><a href="#cheatmode">Cheat-mode</a></li>
<li><a href="#cheatslists">Cheats lists</a></li>
<li><a href="#cheatmode" class="locallink">Cheat-mode</a></li>
<li><a href="#cheatslists" class="locallink">Cheats lists</a></li>
</ul>
</li>
<li><a href="#debugkeys">Debug-keys</a></li>
<li><a href="#hotkeys">Important hotkeys</a></li>
<li><a href="#furtherinfo">Additional resources</a></li>
<li><a href="#debugkeys" class="locallink">Debug-keys</a></li>
<li><a href="#hotkeys" class="locallink">Important hotkeys</a></li>
<li><a href="#furtherinfo" class="locallink">Additional resources</a></li>
</ul>
</li>
</ul>
@ -141,7 +141,7 @@
</tr>
<tr>
<td>--cheat</td>
<td>Enables the usage of cheats and debug-keys, see <a href="#cheats" title="Cheats">cheats</a> and <a href="#debugkeys" title="Debug-keys">debug-keys</a></td>
<td>Enables the usage of cheats and debug-keys, see <a href="#cheats" title="Cheats" class="locallink">cheats</a> and <a href="#debugkeys" title="Debug-keys" class="locallink">debug-keys</a></td>
</tr>
<tr>
<td>--help</td>
@ -197,8 +197,7 @@
<p>"path=." specifies that the following files are found in the folder the playlist was found. If you do not specify a path all file-names have to be given with "absolute" path. This "absolute" path is still relative to your warzone-data-dir. File-names have to match those in the file-system and you can not specify files outside of the warzone-data-dir.</p>
<p>Note: Since we are using PhysFS we recommend you to use only Latin letters in directory and file-names (more exactly this means: A to Z, a to z, 0 to 9, _-+ and space). You will receive the following error (running with --debug sound) if "bad" characters are used: Failed opening [[PATH TO FILE]]: Insecure filename.</p>
<p>This example shows how a playlist-file could look like:</p>
<pre>
[game]
<pre>[game]
path=.
shuffle=yes
neos_aurore.ogg
@ -434,7 +433,7 @@ neos_symphonie_du_vide.ogg
<div id="fileinfo">
<ul>
<li>AUTHOR: <a href="mailto:kreuvf@warzone2100.de">Kreuvf</a></li>
<li>LAST UPDATE: 2008/06/06</li>
<li>LAST UPDATE: 2008/06/08</li>
</ul>
</div>
</div>

View File

@ -1,57 +1,77 @@
/*
AUTHOR: Steven "Kreuvf" Koenig
CONTACT: webmaster@kreuvf.de or kreuvf@warzone2100.de
LAST UPDATE: 2008/06/05
LAST UPDATE: 2008/06/08
DESCRIPTION: CSS-file for print-look of Warzone 2100-Readme
*/
body {
font-family: sans-serif;
font-family: serif;
font-size: 10pt;
text-align: justify;
}
h1 {
font-family: sans-serif;
font-size: 20pt;
font-weight: 700;
}
h2 {
font-family: sans-serif;
font-size: 19pt;
font-weight: 700;
}
h3 {
font-family: sans-serif;
font-size: 15pt;
font-weight: 700;
}
h4 {
font-family: sans-serif;
font-size: 13pt;
font-weight: 700;
}
h5 {
font-family: sans-serif;
font-size: 10pt;
font-weight: 700;
}
h6 {
font-family: sans-serif;
font-size: 10pt;
font-weight: 500;
font-style: italic;
}
a[href]:after {
content:" ("attr(href)")";
}
a[href].locallink:after {
content: "";
}
a:link, a:hover, a:visited, a:focus, a:active {
color: inherit;
background-color: inherit;
text-decoration: none;
}
hr {
width: 67%;
width: 80%;
margin-left: auto;
margin-right: auto;
height: 3pt;
height: 2pt;
}
pre {
border-style: dashed;
border-width: 2pt;
border-style: solid;
border-width: 1pt;
padding: 4pt 4pt 4pt 4pt;
margin: 4pt 4pt 4pt 4pt;
}