Tidied up documentation file a bit (not yet sufficiently)

This commit is contained in:
Simon Brooke 2018-03-18 13:28:07 +00:00
parent 2fc53be9e7
commit dacc4a6429
4 changed files with 484 additions and 695 deletions

693
adl_user_doc.html Executable file → Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,43 +1,169 @@
/****************************************************** /************************************************************************\
* Application Description Language framework * *
* adl2documentation.xslt * weft.css *
* * *
* (c) 2007 Cygnet Solutions Ltd * Purpose: rational reconstruction of the lost Weft stylesheet. *
* * *
* Produce basic documentation of an ADL file * Author: Simon Brooke *
* * Created: 2nd November 2013 *
* $Author: sb $ * *
* $Revision: 1.2 $ \************************************************************************/
*
******************************************************/
BODY body
{ {
color: Black; background: white;
background-color: White; color: black;
font-family: Sans-Serif; font-family: helvetica, gill, ariel, sans-serif;
margin: 3em 20% 5em 20%;
width: 60%;
} }
TD, TH
a:link
{ {
color: rgb( 64, 64, 64);
}
a:hover, a:active
{
background: silver;
}
a:visited
{
color: rgb( 128,128,192);
}
blockquote
{
font-family: 'URW Chancery L', 'Monotype Corsiva', 'Apple Chancery', 'ITC Zapf Chancery', cursive;
font-weight: lighter;
font-style: italic;
color: rgb( 128,128,192);
margin-left: 0.5em;
margin-right: 1em;
}
footer {
font-size: smaller;
text-align: center;
bottom: 0;
}
header {
top: 0;
}
header, footer {
width: 100%;
position: fixed;
z-index: 149;
background-color: rgba( 255, 255, 255, 0.8);
}
h1 {
text-indent: -3em;
padding-left: 3em;
line-height: 130%;
}
h1, h2, h3, h4, h5, dt
{
font-family: "Arial Black", Impact, sans-serif;
color: rgb( 128, 128, 128);
text-align: left; text-align: left;
vertical-align: top; margin-left: 0.5em;
padding: 0.1em 0.5em; margin-right: 1em;
font-weight: 900;
} }
.documentation h1 em {
font-size: 200%;
vertical-align: top;
}
h1 strong {
font-size: 250%;
}
h1 em, h2 em, h3 em, h4 em, h5 em {
font-family: 'URW Chancery L', 'Monotype Corsiva', 'Apple Chancery', 'ITC Zapf Chancery', cursive;
font-weight: lighter;
font-style: italic;
color: rgb( 128,128,192);
}
h1, h2, h3, h4, h5 {
}
hr
{
margin-left: 1em;
margin-right: 1em;
height: 1px;
}
p
{
margin-left: 1em;
margin-right: 2em;
text-align: justify;
font-family: helvetica, gill, ariel, sans-serif;
}
ul.navbox {
margin: 0;
padding: 0;
list-style: none;
}
.copyright
{
color: rgb( 128,128,192);
font-size: x-small;
text-align: center;
}
.logo
{
color: rgb( 128,128,192);
font-style: normal;
float: left;
}
.help
{ {
font-style: italic; font-style: italic;
background: silver;
} }
.odd .daynum
{ {
color: Black; color: white;
background-color: rgb( 240, 240, 256); background: rgb( 128,128,192);
font-weight: bold;
} }
.even #nav {
{ margin: 0;
color: Black; padding: 0;
background-color: rgb( 240, 256, 240); width: 100%;
background:rgba(255,255,255,0.8);
} }
#nav ul li {
padding: 0;
margin: 0;
display: inline;
}
#nav ul li a {
text-decoration: none;
font-weight: bold;
padding: 0.1em 0.75em;
margin: 0;
}
#nav ul li.active a { background: silver;}
#nav ul li a:hover { background: silver; }
#nav ul li a:active { background: gray; color: white; }

16
remove-edit-sections.xslt Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="UTF-8" omit-xml-declaration="yes"/>
<xsl:template match="*[@class='editsection']">
</xsl:template>
<!-- just copy anything we can't match -->
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>