source: projects/vine-manual-build/trunk/local.xsl.in @ 4516

Revision 4516, 1.8 KB checked in by yasumichi, 13 years ago (diff)

ページ上部が head 要素の子となっていたのを body 要素の子となるように修正

RevLine 
[840]1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
2
[2796]3        <xsl:import href="/usr/share/xml/gnome/xslt/docbook/html/db2html.xsl"/>
[840]4       
[2796]5        <xsl:param name="db.chunk.chunk_top">0</xsl:param>
[4067]6        <xsl:param name="db.chunk.max_depth">2</xsl:param>
[4068]7
8        <!-- Q&A のスタイル変更 -->
9        <xsl:template match="question" mode="label.markup">
10                <xsl:text>Q</xsl:text>
11                <xsl:number level="multiple" count="qandaentry" format="1"/>
12        </xsl:template>
13        <xsl:template match="answer" mode="label.markup">
14                <xsl:text>A</xsl:text>
15                <xsl:number level="multiple" count="qandaentry" format="1"/>
16        </xsl:template>
17
[2796]18        <!--xsl:param name=""></xsl:param>
19        <xsl:param name=""></xsl:param-->
[4516]20        <!-- 上部のナビゲーションバーを変更 -->
21        <xsl:template name="db2html.division.top">
[2796]22                <div id="toplogo">
[2801]23                        <img src="@IMAGEDIR@/logo-vinelinux-nostring.png" alt="Vine Linux" />
[2796]24                        <div id="toplogo-title">
25                                <h1><strong>V</strong>ine<strong>L</strong>inux オンラインマニュアル</h1>
26
27                                <p>- コンパクトで軽量な日本語ディストリビューション -</p>
28                        </div>
29                </div>
30                <div id="menu">
31                        <ul id="main">
[2817]32                                <li><a class="left" href="@VMDIR@/index.html">マニュアル一覧</a></li>
33                                <li><a href="http://vinelinux.org/">公式サイト</a></li>
34                                <li><a href="http://vinelinux.org/ml.html">メーリングリスト</a></li>
35                                <li><a href="http://vinelinux.org/errata.html">更新情報</a></li>
36                                <li><a href="http://vinelinux.org/bts.html">バク情報</a></li>
37                                <li><a href="http://planet.vinelinux.org/">開発者ブログ</a></li>
38                                <li><a href="http://trac.vinelinux.org/">Wiki</a></li>
[2796]39                        </ul>
40                </div>
[840]41        </xsl:template>
[2796]42
43        <!-- スタイルシートを独自のものに変更 -->
44        <xsl:template name="db2html.css">
[2801]45                <link rel="stylesheet" type="text/css" href="@CSSFILE@"/>
[840]46        </xsl:template>
47</xsl:stylesheet>
48
Note: See TracBrowser for help on using the repository browser.