diff --git a/css/common.css b/css/common.css new file mode 100644 index 0000000..4539674 --- /dev/null +++ b/css/common.css @@ -0,0 +1,231 @@ +/* -------------------------------------*/ +/* ---------->>>> =Global <<<<----------*/ +/* -------------------------------------*/ + +* { + margin: 0; + padding: 0; +} + +body { + background-color: #fff; + font-family: "Lucida Grande", Helvetica, sans-serif; + font-size: 0.74em; +} + +a { + text-decoration: none; + color: #093d92; +} + +a:hover { + text-decoration: underline; +} + +/* -------------------------------------*/ +/* --------->>>> =Headings <<<<---------*/ +/* -------------------------------------*/ + +#contents h1 { + font-size: 2.4em; + font-weight: bold; + margin-bottom: 1em; + } + +#contents h2 { + font-size: 2.1em; + font-weight: bold; + margin-top: 2.0em; + margin-bottom: 0.6em; + padding-bottom: 0.1em; + border-bottom: 1px solid #919699; + } + +#contents h3 { + font-size: 1.5em; + font-weight: bold; + margin-top: 1.0em; + } + +#contents h4 { + font-size: 1.2em; + font-weight: bold; + margin-top: 2em; + } + +#contents h5 { + font-size: 1.1em; + font-weight: bold; + margin-top: 1.0em; + margin-bottom: 0.5em; + } + +/* -------------------------------------*/ +/* --------->>>> =Contents <<<<---------*/ +/* -------------------------------------*/ + +#contents { + padding: 0 2em; + padding-top: 4em; +} + +table#metadata { + border-collapse: collapse; + margin-left: 1em; +} + +table#metadata tr { + border: 1px solid #919699; +} + +table#metadata tr.alt { + background-color: #f0f5f9; +} + +table#metadata th { + font-weight: bold; + text-align: left; + padding: 0.8em; + vertical-align: top; +} + +table#metadata td { + padding: 0.8em; +} + +table#metadata ul { + list-style: none; +} + +#contents hr { + border: 0; + color: #aaa; + background-color: #aaa; + height: 1px; + margin-bottom: 1.3em; + margin-top: 1.3em; +} + +#contents p { + line-height: 1.5em; + margin: 0.4em 0 1.0em 0; +} + +code { + font-family: Monaco, 'Courier New', Courier, monospace; + font-size: 1.1em; + color: #333; +} + +ul#tasksList { + list-style: none; +} + +ul.methods { + list-style: none; + margin-left: 2.4em; + margin-top: 0.4em; +} + +ul.methods li { + margin-bottom: 0.3em; +} + +.definition { + margin-bottom: 4em; +} + +code.methodDeclaration { + display: block; +} + +code.methodDeclaration .parameter { + font-family: Helvetica, sans-serif; + font-style: italic; +} + +ul.seeAlso { + list-style: none; + margin: 0; + } + +ul.seeAlso li { + margin-bottom: 0.3em; + } + +span.specialType { + font-style: italic; + font-size: 0.9em; + color: #999966; + } + +dl.parameterList { + list-style: none; + margin-left: 0; + margin-top: 0.2em; + } + +dl.parameterList dt { + font-style: italic; + } + +dl.parameterList dd { + margin-left: 1.8em; + } + +p#lastUpdated { + text-align: center; +} + +/* -------------------------------------*/ +/* --------->>>> =Tooltips <<<<---------*/ +/* -------------------------------------*/ + +ul.methods li span.tooltipRegion span.tooltip { + font-size: 1.0em; + display: none; + padding: 0.3em; + border: 1px solid #aaa; + background-color: #fdfec8; + color: #000; + text-align: left; + } + +ul.methods li span.tooltipRegion:hover span.tooltip { + display: block; + position: absolute; + margin-left: 2em; + -webkit-box-shadow: 0 6px 20px #666; + box-shadow: 0 6px 20px #666; + } + +/* -------------------------------------*/ +/* ----------->>>> =Index <<<<----------*/ +/* -------------------------------------*/ + +#indexContainer { + margin: 4em; +} + +.column { + float: left; + width: 200px; + margin-right: 40px; + margin-top: 2em; + } + +.column h5 { + border-bottom: 1px solid #aaa; + } + +.column ul { + margin: 8px 0 0 0; + padding: 0; + font-size: 0.9em; + list-style: none; + } + +.column ul li { + margin: 0 0 4px 0; + padding: 0; + } \ No newline at end of file diff --git a/css/print.css b/css/print.css new file mode 100644 index 0000000..082156a --- /dev/null +++ b/css/print.css @@ -0,0 +1,15 @@ +#title { + display: none; +} + +ul#buttons { + display: none; +} + +ul#tableOfContents { + display: none; +} + +ul#breadcrumbs { + display: none; +} diff --git a/css/screen.css b/css/screen.css index 268a629..cd70bdf 100644 --- a/css/screen.css +++ b/css/screen.css @@ -1,65 +1,3 @@ -/* -------------------------------------*/ -/* ---------->>>> =Global <<<<----------*/ -/* -------------------------------------*/ - -* { - margin: 0; - padding: 0; -} - -body { - background-color: #fff; - font-family: "Lucida Grande", Helvetica, sans-serif; - font-size: 0.74em; -} - -a { - text-decoration: none; - color: #093d92; -} - -a:hover { - text-decoration: underline; -} - -/* -------------------------------------*/ -/* --------->>>> =Headings <<<<---------*/ -/* -------------------------------------*/ - -#contents h1 { - font-size: 2.4em; - font-weight: bold; - margin-bottom: 1em; - } - -#contents h2 { - font-size: 2.1em; - font-weight: bold; - margin-top: 2.0em; - margin-bottom: 0.6em; - padding-bottom: 0.1em; - border-bottom: 1px solid #919699; - } - -#contents h3 { - font-size: 1.5em; - font-weight: bold; - margin-top: 1.0em; - } - -#contents h4 { - font-size: 1.2em; - font-weight: bold; - margin-top: 2em; - } - -#contents h5 { - font-size: 1.1em; - font-weight: bold; - margin-top: 1.0em; - margin-bottom: 0.5em; - } - /* -------------------------------------*/ /* ---------->>>> =Header <<<<----------*/ /* -------------------------------------*/ @@ -88,7 +26,7 @@ ul#buttons { border-width: 1px 0; border-style: solid; border-color: #2b334f; - height: 1.8em; + height: 21px; list-style: none; position: absolute; @@ -106,7 +44,8 @@ ul#buttons li#toc_button button { border: 0; background: none; text-align: left; - padding: 0.4em 0.4em 0.2em 0.4em; + padding: 2px 0.4em 0 0.4em; + height: 21px; width: 230px; border-right: 1px solid #acacac; color: #000; @@ -225,122 +164,12 @@ ul#tableOfContents ul li a { overflow: auto; left: 0; right: 0; - padding: 0 2em; - padding-top: 4em; } #contents.tableOfContentsOpen { left: 230px; } -table#metadata { - border-collapse: collapse; - margin-left: 1em; -} - -table#metadata tr { - border: 1px solid #919699; -} - -table#metadata tr.alt { - background-color: #f0f5f9; -} - -table#metadata th { - font-weight: bold; - text-align: left; - padding: 0.8em; - vertical-align: top; -} - -table#metadata td { - padding: 0.8em; -} - -table#metadata ul { - list-style: none; -} - -#contents hr { - border: 0; - color: #aaa; - background-color: #aaa; - height: 1px; - margin-bottom: 1.3em; - margin-top: 1.3em; -} - -#contents p { - line-height: 1.5em; - margin: 0.4em 0 1.0em 0; -} - -code { - font-family: Monaco, 'Courier New', Courier, monospace; - font-size: 1.1em; - color: #333; -} - -ul#tasks { - list-style: none; -} - -ul.methods { - list-style: none; - margin-left: 2.4em; - margin-top: 0.4em; -} - -ul.methods li { - margin-bottom: 0.3em; -} - -.definition { - margin-bottom: 4em; -} - -code.methodDeclaration { - display: block; -} - -code.methodDeclaration .parameter { - font-family: Helvetica, sans-serif; - font-style: italic; -} - -ul.seeAlso { - list-style: none; - margin: 0; - } - -ul.seeAlso li { - margin-bottom: 0.3em; - } - -span.specialType { - font-style: italic; - font-size: 0.9em; - color: #999966; - } - -dl.parameterList { - list-style: none; - margin-left: 0; - margin-top: 0.2em; - } - -dl.parameterList dt { - font-style: italic; - } - -dl.parameterList dd { - margin-left: 1.8em; - } - -p#lastUpdated { - text-align: center; -} - /* -------------------------------------*/ /* ------->>>> =Breadcrumbs <<<<--------*/ /* -------------------------------------*/ @@ -384,55 +213,4 @@ ul#breadcrumbs a { ul#breadcrumbs a:hover { text-decoration: underline; -} - -/* -------------------------------------*/ -/* --------->>>> =Tooltips <<<<---------*/ -/* -------------------------------------*/ - -ul.methods li span.tooltipRegion span.tooltip { - font-size: 1.0em; - display: none; - padding: 0.3em; - border: 1px solid #aaa; - background-color: #fdfec8; - color: #000; - text-align: left; - } - -ul.methods li span.tooltipRegion:hover span.tooltip { - display: block; - position: absolute; - margin-left: 2em; - } - -/* -------------------------------------*/ -/* ----------->>>> =Index <<<<----------*/ -/* -------------------------------------*/ - -#indexContainer { - margin: 4em; -} - -.column { - float: left; - width: 200px; - margin-right: 40px; - margin-top: 2em; - } - -.column h5 { - border-bottom: 1px solid #aaa; - } - -.column ul { - margin: 8px 0 0 0; - padding: 0; - font-size: 0.9em; - list-style: none; - } - -.column ul li { - margin: 0 0 4px 0; - padding: 0; - } \ No newline at end of file +} \ No newline at end of file diff --git a/index2xhtml.xslt b/index2xhtml.xslt index b86d0eb..c2c4e6d 100644 --- a/index2xhtml.xslt +++ b/index2xhtml.xslt @@ -7,8 +7,13 @@ <xsl:apply-templates select="project" mode="title"/> - - + + + + + + +
diff --git a/object2xhtml.xslt b/object2xhtml.xslt index a8706ea..b4837e9 100644 --- a/object2xhtml.xslt +++ b/object2xhtml.xslt @@ -10,7 +10,9 @@ - + + +