--- a/vstup/css/styl.css Wed Feb 08 10:16:04 2012 +0100
+++ b/vstup/css/styl.css Wed Feb 08 10:16:39 2012 +0100
@@ -9,6 +9,16 @@
border: none;
}
+a:hover {
+ text-shadow: 1px 1px 1px #eee;
+}
+a[href^="https://"]:hover {
+ text-shadow: 1px 1px 1px #6f6;
+}
+a[href^="http://"]:hover {
+ text-shadow: 1px 1px 1px #66f;
+}
+
#tělo {
width: 900px;
text-align: left;
@@ -44,6 +54,7 @@
#nabídka a:hover {
color: #77bed2;
+ text-shadow: none;
}
#text {
@@ -116,6 +127,9 @@
padding-left: 6px;
padding-right: 6px;
}
+td.číslo {
+ text-align: right;
+}
thead tr {
background: grey;
color:black;
--- a/šablona/funkce/src/cz/frantovo/xmlWebGenerator/makra/Diagram.java Wed Feb 08 10:16:04 2012 +0100
+++ b/šablona/funkce/src/cz/frantovo/xmlWebGenerator/makra/Diagram.java Wed Feb 08 10:16:39 2012 +0100
@@ -95,7 +95,7 @@
* TODO: generovat i PNG bitmapu
*/
PrintStream vstupProcesu = new PrintStream(p.getOutputStream());
- vstupProcesu.print(zdroják.toString());
+ vstupProcesu.print(zdroják);
vstupProcesu.close();
String chyby = načtiProud(p.getErrorStream());
--- a/šablona/makra/tabulka.xsl Wed Feb 08 10:16:04 2012 +0100
+++ b/šablona/makra/tabulka.xsl Wed Feb 08 10:16:39 2012 +0100
@@ -68,7 +68,12 @@
<tr>
<xsl:for-each select="tokenize(., $oddělovač)">
<xsl:if test="normalize-space(.)">
- <td><xsl:value-of select="normalize-space(.)"/></td>
+ <xsl:element name="td">
+ <xsl:if test="number(normalize-space(.))">
+ <xsl:attribute name="class">číslo</xsl:attribute>
+ </xsl:if>
+ <xsl:value-of select="normalize-space(.)"/>
+ </xsl:element>
</xsl:if>
</xsl:for-each>
</tr>