forked from sch/Blasta
CSS : Set general colour to black, due to issues with some browsers (Thank you, roughnecks).
XSLT : Add a few improvements to design, structure and titles.
This commit is contained in:
parent
b36ecd090d
commit
6515233c96
2 changed files with 21 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
* {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #2c6825; /* #439639 */
|
||||
text-decoration: none;
|
||||
|
@ -17,7 +21,7 @@ a:hover {
|
|||
}
|
||||
|
||||
body {
|
||||
background-color:#f5f5f5;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
a, div, h1, h2, h3, h4, h5, p, span {
|
||||
|
|
|
@ -144,10 +144,24 @@ xmlns:atom='http://www.w3.org/2005/Atom'>
|
|||
</div>
|
||||
<xsl:if test='count(atom:entry) > 1'>
|
||||
<div>
|
||||
<h3>
|
||||
<img src='/graphic/syndicate.svg' height='22' width='22'/>
|
||||
<h2>
|
||||
<xsl:element name='a'>
|
||||
<xsl:attribute name='href'>
|
||||
<xsl:value-of select='atom:link[@rel="self"]/@href'/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name='download'>blasta_atom_syndication_feed.atom</xsl:attribute>
|
||||
<xsl:attribute name='id'>follow</xsl:attribute>
|
||||
<xsl:attribute name='title'>Subscribe to updates with a news reader software.</xsl:attribute>
|
||||
<img alt='logo' src='/graphic/syndicate.svg' height='18' width='18'/>
|
||||
</xsl:element>
|
||||
 
|
||||
<xsl:value-of select='atom:subtitle'/>
|
||||
</h2>
|
||||
<p>
|
||||
» Syndicating 10 bookmarks.
|
||||
</p>
|
||||
<h3>
|
||||
Blasta Syndication Feed
|
||||
</h3>
|
||||
<!-- xsl:for-each select='atom:entry[position() <21]' -->
|
||||
<ul>
|
||||
|
|
Loading…
Reference in a new issue