/usr/share/photoml/xsl/html/cssinc.xsl is in photoml 0.28-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!--
This file contains a template for including the CSS definition
used by the HTML output XSL transforms. (The CSS definition was
originally designed by Oskar Ojala.)
Copyright © 2005,2011 Brendt Wohlberg <photoml@wohlberg.net>
This is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License
at http://www.gnu.org/licenses/gpl-2.0.txt.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-->
<xsl:output method="xml" indent="yes"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
<!--
The direct approach for including the stylesheet is to include
a line such as
<link href="cssinc.css" rel="stylesheet" type="text/css"/>
within the <head> element of the HTML output. Since O. Ojala
notes that browser support for this is still somewhat limited,
the alternative approach used here is to call a named template,
defined in an included XSL, which defines the CSS style.
-->
<xsl:template name="include-stylesheet">
<xsl:param name="font-size">11</xsl:param>
<style type="text/css">
body {
margin-left: 2%;
margin-right: 2%;
margin-top: 1%;
margin-bottom: 5%;
font-family: sans-serif;
font-size: <xsl:value-of select="$font-size"/>pt;
color: black;
background-color: rgb(255,255,255);
}
table {
border: solid;
border-width: 2px;
width: 100%;
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
}
table.nb {
border-width: 0px;
}
tr {
vertical-align: top;
}
td {
font-family: sans-serif;
font-size: <xsl:value-of select="$font-size"/>pt;
color: black;
background-color: rgb(248,248,248);
border: 1px solid black;
padding-left: 4px;
padding-right: 4px;
}
td.plain {
border-width: 0px;
}
th {
font-family: sans-serif;
font-size: <xsl:value-of select="$font-size"/>pt;
font-weight: bold;
color: black;
background-color: rgb(235,235,235);
border: 1px solid black;
}
.gtitle {
text-align: center;
font-size: 170%;
padding-bottom: 0.4em;
}
.gid {
font-style: italic;
}
.fn {
margin-left: 6px;
font-style: italic;
font-size: 85%;
color: #ffb31a;
}
.gc {
font-style: italic;
font-size: 85%;
padding-left: 1em;
}
.cblock {
margin-left: 18%;
margin-right: 18%;
padding-top: 4px;
padding-bottom: 4px;
}
.citem {
font-size: 115%;
font-style: italic;
padding-left: 0.6em;
padding-right: 0.6em;
}
.gend {
padding-bottom: 3em;
}
.left {
text-align : left;
}
.center {
text-align: center;
}
.right {
text-align: right;
}
a {
text-decoration: none;
color: #2e5c89;
}
a:hover {
color: #247cd2;
}
</style>
</xsl:template>
</xsl:stylesheet>
|