[xiph-cvs] r6713 - in websites-ngen: . xiph.org xiph.org/CSS xiph.org/flac xiph.org/flac/CSS

comatoast at xiph.org comatoast at xiph.org
Mon May 17 12:39:36 PDT 2004



Author: comatoast
Date: 2004-05-17 15:39:35 -0400 (Mon, 17 May 2004)
New Revision: 6713

Added:
   websites-ngen/xiph.org/aftermaintext.include
   websites-ngen/xiph.org/flac/CSS/
   websites-ngen/xiph.org/flac/CSS/all.css
   websites-ngen/xiph.org/flac/css.inherit
   websites-ngen/xiph.org/flac/index.markdown
Modified:
   websites-ngen/wrapup.py
   websites-ngen/xiph.org/CSS/all.css
Log:
Added /flac/. Wow, that color really is ugly.
Oh, and I added a thingy that'll let you pick the language from the upper-right. It probably breaks (and it's allowed to)
on IE5/Mac, but I'm not sure I care about that browser anymore. I might put it elsewhere.

<p><p>Modified: websites-ngen/wrapup.py
===================================================================
--- websites-ngen/wrapup.py	2004-05-17 08:16:56 UTC (rev 6712)
+++ websites-ngen/wrapup.py	2004-05-17 19:39:35 UTC (rev 6713)
@@ -96,13 +96,14 @@
                 self.afterMainTextInclude = ''
                 
                 self.afterContentInherit  = ''
+		self.afterContentInclude  = ''
 
                 # Now we need to stuff these attributes from their respective files.
                 
                 inheritables = "inhead css beforecontent aftermaintext aftercontent".split()
                 inheritables = [i + ".inherit" for i in inheritables]
 
-		includables =  "inhead css beforecontent aftermaintext".split()
+		includables =  "inhead css beforecontent aftermaintext aftercontent".split()
                 includables =  [i + ".include" for i in includables]
                 
                 # this if cascade is ugly, ugly, ugly, ugly. Suggestions, please.
@@ -140,6 +141,8 @@
                                         self.beforeContentInclude = contents
                                 if filename.endswith('aftermaintext.include'):
                                         self.afterMainTextInclude = contents
+				if filename.endswith('aftercontent.include'):
+					self.afterMainTextInclude = contents
 
         def renderToFile(self):
                 outfile = file(self.destFilename, "w")
@@ -167,8 +170,8 @@
                 ret +=	self.beforeContentInclude
                 ret += 	"<div id='content'>\n"
                 ret +=	self.mainText
+		ret +=	self.afterMainTextInclude
                 ret +=	self.afterMainTextInherit
-		ret +=	self.afterMainTextInclude
                 ret +=	"</div>\n"
                 ret +=	self.afterContentInherit
                 ret += "</body>\n"

Modified: websites-ngen/xiph.org/CSS/all.css
===================================================================
--- websites-ngen/xiph.org/CSS/all.css	2004-05-17 08:16:56 UTC (rev 6712)
+++ websites-ngen/xiph.org/CSS/all.css	2004-05-17 19:39:35 UTC (rev 6713)
@@ -99,6 +99,18 @@
         margin-top: 1em;
 }
 
+div#languages {
+	position: absolute;
+	top: 0;
+	right: 0;
+	text-transform: lowercase;
+	color: #aaa;
+	background: #f5f5f5; /* white smoke */
+	border-bottom: 1px solid gray;
+	border-left: 1px solid gray;
+	padding: 0 .125em .125em .25em;
+}
+
 div#copyright {
         border-top: 1px solid #aaa;
         margin: 1em 2em 0;

Added: websites-ngen/xiph.org/aftermaintext.include
===================================================================
--- websites-ngen/xiph.org/aftermaintext.include	2004-05-17 08:16:56 UTC (rev 6712)
+++ websites-ngen/xiph.org/aftermaintext.include	2004-05-17 19:39:35 UTC (rev 6713)
@@ -0,0 +1,4 @@
+<div id='languages'>
+	<a href='./' title='English'	hreflang='en-US'>en</a> |
+	<a href='es' title='Español'	hreflang='es'   >es</a>
+</div>

Added: websites-ngen/xiph.org/flac/CSS/all.css
===================================================================
--- websites-ngen/xiph.org/flac/CSS/all.css	2004-05-17 08:16:56 UTC (rev 6712)
+++ websites-ngen/xiph.org/flac/CSS/all.css	2004-05-17 19:39:35 UTC (rev 6713)
@@ -0,0 +1,3 @@
+html {
+	background: #cac8a9; /* "less nasty" */
+}

Added: websites-ngen/xiph.org/flac/css.inherit
===================================================================
--- websites-ngen/xiph.org/flac/css.inherit	2004-05-17 08:16:56 UTC (rev 6712)
+++ websites-ngen/xiph.org/flac/css.inherit	2004-05-17 19:39:35 UTC (rev 6713)
@@ -0,0 +1,4 @@
+<style type='text/css'>
+	@import url(/CSS/all.css);
+	@import url(/flac/CSS/all.css);
+</style>

Added: websites-ngen/xiph.org/flac/index.markdown
===================================================================
--- websites-ngen/xiph.org/flac/index.markdown	2004-05-17 08:16:56 UTC (rev 6712)
+++ websites-ngen/xiph.org/flac/index.markdown	2004-05-17 19:39:35 UTC (rev 6713)
@@ -0,0 +1,5 @@
+FLAC
+====
+
+<abbr title='Free Lossless Audio Codec'>FLAC</abbr> is Xiph.Org&rsquo;s lossless audio compression
+codec.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list