Move aspect styles to a CSS class
This commit is contained in:
parent
18bdbdceaf
commit
7d55580bce
@ -70,3 +70,9 @@ path.planet-symbol {
|
|||||||
fill: none;
|
fill: none;
|
||||||
stroke: #000080;
|
stroke: #000080;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
line.aspect {
|
||||||
|
stroke-width: 1;
|
||||||
|
stroke: #000000;
|
||||||
|
stroke-dasharray: 20,10;
|
||||||
|
}
|
||||||
|
@ -643,7 +643,7 @@
|
|||||||
<xsl:variable name="x2" select="$r_aspect * math:cos($rad2)"/>
|
<xsl:variable name="x2" select="$r_aspect * math:cos($rad2)"/>
|
||||||
<xsl:variable name="y2" select="$r_aspect * -math:sin($rad2)"/>
|
<xsl:variable name="y2" select="$r_aspect * -math:sin($rad2)"/>
|
||||||
|
|
||||||
<line style="stroke-width:1;stroke:#000000;stroke-dasharray:20,10">
|
<line class="aspect">
|
||||||
<xsl:attribute name="x1"><xsl:value-of select="$x1"/></xsl:attribute>
|
<xsl:attribute name="x1"><xsl:value-of select="$x1"/></xsl:attribute>
|
||||||
<xsl:attribute name="y1"><xsl:value-of select="$y1"/></xsl:attribute>
|
<xsl:attribute name="y1"><xsl:value-of select="$y1"/></xsl:attribute>
|
||||||
<xsl:attribute name="x2"><xsl:value-of select="$x2"/></xsl:attribute>
|
<xsl:attribute name="x2"><xsl:value-of select="$x2"/></xsl:attribute>
|
||||||
|
Loading…
Reference in New Issue
Block a user