-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sam Ruby
committed
Aug 16, 2006
0 parents
commit b31973d
Showing
79 changed files
with
9,907 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
body { | ||
border-right: 1px solid black; | ||
margin-right: 200px; | ||
|
||
padding-left: 20px; | ||
padding-right: 20px; | ||
} | ||
|
||
h1 { | ||
margin-top: 0px; | ||
padding-top: 20px; | ||
|
||
font-family: "Bitstream Vera Sans", sans-serif; | ||
font-weight: normal; | ||
letter-spacing: -2px; | ||
text-transform: lowercase; | ||
text-align: right; | ||
|
||
color: grey; | ||
} | ||
|
||
.admin { | ||
text-align: right; | ||
} | ||
|
||
h2 { | ||
font-family: "Bitstream Vera Sans", sans-serif; | ||
font-weight: normal; | ||
color: #200080; | ||
|
||
margin-left: -20px; | ||
} | ||
|
||
h3 { | ||
font-family: "Bitstream Vera Sans", sans-serif; | ||
font-weight: normal; | ||
|
||
background-color: #a0c0ff; | ||
border: 1px solid #5080b0; | ||
|
||
padding: 4px; | ||
} | ||
|
||
h3 a { | ||
text-decoration: none; | ||
color: inherit; | ||
} | ||
|
||
h4 { | ||
font-family: "Bitstream Vera Sans", sans-serif; | ||
font-weight: bold; | ||
} | ||
|
||
h4 a { | ||
text-decoration: none; | ||
color: inherit; | ||
} | ||
|
||
img.face { | ||
float: right; | ||
margin-top: -3em; | ||
} | ||
|
||
.entry { | ||
margin-bottom: 2em; | ||
} | ||
|
||
.entry .date { | ||
font-family: "Bitstream Vera Sans", sans-serif; | ||
color: grey; | ||
} | ||
|
||
.entry .date a { | ||
text-decoration: none; | ||
color: inherit; | ||
} | ||
|
||
.sidebar { | ||
position: absolute; | ||
top: 0px; | ||
right: 0px; | ||
width: 200px; | ||
|
||
margin-left: 0px; | ||
margin-right: 0px; | ||
padding-right: 0px; | ||
|
||
padding-top: 20px; | ||
padding-left: 0px; | ||
|
||
font-family: "Bitstream Vera Sans", sans-serif; | ||
font-size: 85%; | ||
} | ||
|
||
.sidebar h2 { | ||
font-size: 110%; | ||
font-weight: bold; | ||
color: black; | ||
|
||
padding-left: 5px; | ||
margin-left: 0px; | ||
} | ||
|
||
.sidebar ul { | ||
padding-left: 1em; | ||
margin-left: 0px; | ||
|
||
list-style-type: none; | ||
} | ||
|
||
.sidebar ul li:hover { | ||
color: grey; | ||
} | ||
|
||
.sidebar ul li a { | ||
text-decoration: none; | ||
} | ||
|
||
.sidebar ul li a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.sidebar ul li a img { | ||
border: 0; | ||
} | ||
|
||
.sidebar p { | ||
border-top: 1px solid grey; | ||
margin-top: 30px; | ||
padding-top: 10px; | ||
|
||
padding-left: 5px; | ||
} | ||
|
||
.sidebar .message { | ||
cursor: help; | ||
border-bottom: 1px dashed red; | ||
} | ||
|
||
.sidebar a.message:hover { | ||
cursor: help; | ||
background-color: #ff0000; | ||
color: #ffffff !important; | ||
text-decoration: none !important; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline !important; | ||
color: blue !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:planet="http://planet.intertwingly.net/" | ||
xmlns="http://www.w3.org/1999/xhtml"> | ||
|
||
<xsl:template match="atom:feed"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<link rel="stylesheet" href="planet.css" type="text/css" /> | ||
<title><xsl:value-of select="atom:title"/></title> | ||
</head> | ||
<body> | ||
<h1><xsl:value-of select="atom:title"/></h1> | ||
|
||
<xsl:apply-templates select="atom:entry"/> | ||
|
||
<div class="sidebar"> | ||
<img src="images/logo.png" width="136" height="136" alt=""/> | ||
|
||
<h2>Subscriptions</h2> | ||
<ul> | ||
<xsl:for-each select="planet:subscription"> | ||
<xsl:sort select="planet:name"/> | ||
<li> | ||
<a href="{atom:link[@rel='self']/@href}" title="subscribe"> | ||
<img src="images/feed-icon-10x10.png" alt="(feed)"/> | ||
</a> | ||
<xsl:value-of select="planet:name"/> | ||
</li> | ||
</xsl:for-each> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> | ||
</xsl:template> | ||
|
||
<xsl:template match="atom:entry"> | ||
<xsl:variable name="date" select="substring(atom:updated,1,10)"/> | ||
<xsl:if test="not(preceding-sibling::atom:entry | ||
[substring(atom:updated,1,10) = $date])"> | ||
<h2 class="date"><xsl:value-of select="$date"/></h2> | ||
</xsl:if> | ||
|
||
<h3> | ||
<a href="{atom:source/atom:link[@rel='alternate']/@href}"> | ||
<xsl:value-of select="atom:source/planet:name"/> | ||
</a> | ||
— | ||
<a href="{atom:link[@rel='alternate']/@href}"> | ||
<xsl:value-of select="atom:title"/> | ||
</a> | ||
</h3> | ||
|
||
<div class="content"> | ||
<xsl:choose> | ||
<xsl:when test="atom:content"> | ||
<p><xsl:copy-of select="atom:content/*"/></p> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<p><xsl:copy-of select="atom:summary/*"/></p> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</div> | ||
</xsl:template> | ||
</xsl:stylesheet> |
Oops, something went wrong.