]> Lady’s Gitweb - Caudex/blob - transforms/metadata.xslt
Make repository REUSE‐compliant
[Caudex] / transforms / metadata.xslt
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: MPL-2.0
5 -->
6 <!--
7 ⁌ 🪾📰 Caudex ∷ transforms/metadata.xslt
8
9 © 2024 Lady [@ Ladys Computer]
10
11 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
12 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/>.
13 -->
14 <transform
15 xmlns="http://www.w3.org/1999/XSL/Transform"
16 xmlns:html="http://www.w3.org/1999/xhtml"
17 xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
18 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
19 version="1.0"
20 >
21 <书社:id>urn:fdc:ladys.computer:20240204:Caudex:metadata.xslt</书社:id>
22 <template match="书社:id[string()='urn:fdc:ladys.computer:20240204:Caudex:metadata.xslt']" mode="书社:metadata">
23 <html:style type="text/css">
24 <text><![CDATA[@charset "UTF-8";
25 @namespace html "http://www.w3.org/1999/xhtml";
26 @namespace 书社 "urn:fdc:ladys.computer:20231231:Shu1She4";
27 html*[hidden]{Display:None}
28 ]]></text>
29 <if test="//html:body[@class='index' or @class='fullindex']">
30 <text><![CDATA[/*Index styling*/
31 html|html{Margin:0;Padding:0;Height:100%}
32 html|body{Box-Sizing:Border-Box;Margin:0;Height:100%;Padding:1EM}
33 html|main{Display:Block;Width:100%;Height:100%}
34 html|main>html|*{Display:Inline-Block;Box-Sizing:Border-Box;Border:.5EM Transparent None;Height:100%;Width:50%;Vertical-Align:Top;Overflow:Auto}
35 html|main>html|nav{Border-Right-Style:Solid;Overflow:Scroll}
36 html|main>html|div{Border-Left-Style:Solid}
37 ]]></text>
38 </if>
39 </html:style>
40 </template>
41 </transform>
This page took 0.053799 seconds and 5 git commands to generate.