]> Lady’s Gitweb - Caudex/blob - transforms/metadata.xslt
Initial commit; minimal working implementation
[Caudex] / transforms / metadata.xslt
1 <?xml version="1.0"?>
2 <!--
3 ⁌ 🪾📰 Caudex ∷ transforms/metadata.xslt
4
5 © 2024 Lady [@ Lady’s Computer]
6
7 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
8 If a copy of the M·P·L was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
9 -->
10 <transform
11 xmlns="http://www.w3.org/1999/XSL/Transform"
12 xmlns:html="http://www.w3.org/1999/xhtml"
13 xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
14 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
15 version="1.0"
16 >
17 <书社:id>urn:fdc:ladys.computer:20240204:Caudex:metadata.xslt</书社:id>
18 <template match="xslt:include[@书社:id='urn:fdc:ladys.computer:20240204:Caudex:metadata.xslt']" mode="书社:metadata">
19 <html:style type="text/css">
20 <text><![CDATA[@charset "UTF-8";
21 @namespace html "http://www.w3.org/1999/xhtml";
22 @namespace 书社 "urn:fdc:ladys.computer:20231231:Shu1She4";
23 html*[hidden]{Display:None}
24 ]]></text>
25 <if test="//html:body[@class='index' or @class='fullindex']">
26 <text><![CDATA[/*Index styling*/
27 html|html{Margin:0;Padding:0;Height:100%}
28 html|body{Box-Sizing:Border-Box;Margin:0;Height:100%;Padding:1EM}
29 html|main{Display:Block;Width:100%;Height:100%}
30 html|main>html|*{Display:Inline-Block;Box-Sizing:Border-Box;Border:.5EM Transparent None;Height:100%;Width:50%;Vertical-Align:Top;Overflow:Auto}
31 html|main>html|nav{Border-Right-Style:Solid;Overflow:Scroll}
32 html|main>html|div{Border-Left-Style:Solid}
33 ]]></text>
34 </if>
35 </html:style>
36 </template>
37 </transform>
This page took 0.086328 seconds and 5 git commands to generate.