[xiph-cvs] r6762 - in websites-ngen: . xiph.org/CSS/sidebars xiph.org/speex xiph.org/speex/CSS xiph.org/vorbis
comatoast at xiph.org
comatoast at xiph.org
Wed May 26 02:30:33 PDT 2004
Author: comatoast
Date: 2004-05-26 05:30:32 -0400 (Wed, 26 May 2004)
New Revision: 6762
Added:
websites-ngen/xiph.org/CSS/sidebars/simple.css
websites-ngen/xiph.org/vorbis/beforecontent.inherit
Modified:
websites-ngen/style.txt
websites-ngen/xiph.org/speex/CSS/all.css
websites-ngen/xiph.org/speex/css.inherit
websites-ngen/xiph.org/vorbis/css.inherit
Log:
Factored out the simple sidebar as used on /speex/ and used it on /vorbis/.
Modified: websites-ngen/style.txt
===================================================================
--- websites-ngen/style.txt 2004-05-26 09:20:47 UTC (rev 6761)
+++ websites-ngen/style.txt 2004-05-26 09:30:32 UTC (rev 6762)
@@ -1,10 +1,11 @@
A www.xiph.org style guide
==========================
+
Behind the Scenes
-----------------
-* Four-column tabs for indentation.
+* Use four-column tabs for indentation.
* Keep lines to 100 columns or fewer.
@@ -23,12 +24,16 @@
of the document, wrapup and Markdown wonât be able to cope with the UTF-8 BOM that some
editors add in.
-* Prefer ## to -------- for second-level headings. Unlike in this file and in readme.txt.
+* Prefer ## to -------- for second-level headings, unlike in this file and in todo.txt.
* Directories generally not shown to users should start with a capital letter.
- Prime examples of this are the */CSS/ directories and /Error/.
+ Prime examples of this are the */CSS/ directories and /Error/. However, their subdirectories
+ should start with lowercase lettersâlike /CSS/sidebars/.
+* Donât have multiple files or directories that differ only by case; this will cause problems
+ on systems that are case-insensitive.
+
Spelling, Grammar, and Punctuation
----------------------------------
@@ -36,11 +41,14 @@
* "Copyright © 2004 Xiph.Org" and "Copyright (c) 2004 Xiph.Org" are redundant;
prefer "© 2004 Xiph.Org" to both. Failing that, use "Copyright 2004 Xiph.Org".
+
### English-Specific Considerations
+
* For em dashes, leave no space between the dash and the wordsâlike this.
* For the love of all thatâs holy, leave no space between a question mark and its
preceding sentence. Same for exclamation points, periods, commas, and colons.
+
URLs and Linkage
----------------
@@ -57,13 +65,14 @@
* Non-US English versions of pages have their language code tacked on the end, as in
<http://www.xiph.org/vorbis/download/es> or <http://www.xiph.org/about/fr-CA>.
+ [slash forward]: http://www.alistapart.com/articles/slashforward/
+
Open Questions
--------------
+
* Tone: How should we write? Iâd like to display a visible sense of humor on the site.
* Prefer verbs in URLs to adjectives when possible. For example, prefer "/speex/compare/" to
"/speex/comparison/". This ought to be done with care; "/foobar/document/" is plain silly
as it invites the user to actually document our stuff, rather than read documentation.
-
-
Added: websites-ngen/xiph.org/CSS/sidebars/simple.css
===================================================================
--- websites-ngen/xiph.org/CSS/sidebars/simple.css 2004-05-26 09:20:47 UTC (rev 6761)
+++ websites-ngen/xiph.org/CSS/sidebars/simple.css 2004-05-26 09:30:32 UTC (rev 6762)
@@ -0,0 +1,44 @@
+div#content {
+ margin-right: 15em;
+}
+
+div#sidebar {
+ position: absolute;
+ top: 2em;
+ right: 1em;
+ width: 13em;
+ margin: 0;
+ padding: 0;
+}
+
+div#sidebar ul {
+ list-style: none;
+ margin: 0 0 2em;
+ padding: 0;
+ border: 1px solid gray;
+ border-top: none;
+ background: #f5f5f5; /* white smoke */
+}
+
+div#sidebar li {
+ border-top: 1px solid gray;
+ margin: 0;
+ padding: 0;
+}
+
+div#sidebar a {
+ display: block;
+ padding: .5em 2em;
+ font-weight: bold;
+}
+
+div#sidebar a:link,
+div#sidebar a:visited {
+ color: black;
+ text-decoration: none;
+}
+
+div#sidebar a:hover {
+ background: #e4e4e4;
+
+/* be sure to set div#sidebar a:hover { background: } with your color overrides */
Modified: websites-ngen/xiph.org/speex/CSS/all.css
===================================================================
--- websites-ngen/xiph.org/speex/CSS/all.css 2004-05-26 09:20:47 UTC (rev 6761)
+++ websites-ngen/xiph.org/speex/CSS/all.css 2004-05-26 09:30:32 UTC (rev 6762)
@@ -3,47 +3,15 @@
background: rgb(98, 121, 49);
}
-div#content {
- margin-right: 15em;
-}
-
-div#sidebar {
- position: absolute;
- top: 2em;
- right: 1em;
- width: 13em;
- margin: 0;
- padding: 0;
-
-}
-
div#sidebar ul {
- list-style: none;
- margin: 0 0 2em;
- padding: 0;
- border: 1px solid gray;
- border-top: none;
+ border-color: gray;
background: #f5f5f5; /* white smoke */
}
div#sidebar li {
- border-top: 1px solid gray;
- margin: 0;
- padding: 0;
+ border-color: gray;
}
-div#sidebar a {
- display: block;
- padding: .5em 2em;
- font-weight: bold;
-}
-
-div#sidebar a:link,
-div#sidebar a:visited {
- color: black;
- text-decoration: none;
-}
-
div#sidebar a:hover {
background: #c1dfb1;
background: rgb(146, 181, 72);
Modified: websites-ngen/xiph.org/speex/css.inherit
===================================================================
--- websites-ngen/xiph.org/speex/css.inherit 2004-05-26 09:20:47 UTC (rev 6761)
+++ websites-ngen/xiph.org/speex/css.inherit 2004-05-26 09:30:32 UTC (rev 6762)
@@ -1,4 +1,5 @@
<style type='text/css'>
@import url(/CSS/all.css);
+ @import url(/CSS/sidebars/simple.css);
@import url(/speex/CSS/all.css);
</style>
Added: websites-ngen/xiph.org/vorbis/beforecontent.inherit
===================================================================
--- websites-ngen/xiph.org/vorbis/beforecontent.inherit 2004-05-26 09:20:47 UTC (rev 6761)
+++ websites-ngen/xiph.org/vorbis/beforecontent.inherit 2004-05-26 09:30:32 UTC (rev 6762)
@@ -0,0 +1,14 @@
+<!-- Working around faithfully reproduced whitespace-sensitive bugs -->
+<div id='sidebar'>
+<ul
+><li><a href='/'>Xiph.Org Home</a></li
+><li><a href='/vorbis/'>Vorbis Home</a></li
+><li><a href='/vorbis/news/'>News</a></li
+><li><a href='/vorbis/compare/'>Compare</a></li
+><li><a href='/vorbis/samples/'>Samples</a></li
+><li><a href='/vorbis/download/'>Download</a></li
+><li><a href='/vorbis/doc/'>Documentation</a></li
+><li><a href='/vorbis/roadmap/'>Roadmap</a></li
+><li><a href='/vorbis/users/'>Users</a></li></ul>
+</div>
+
Modified: websites-ngen/xiph.org/vorbis/css.inherit
===================================================================
--- websites-ngen/xiph.org/vorbis/css.inherit 2004-05-26 09:20:47 UTC (rev 6761)
+++ websites-ngen/xiph.org/vorbis/css.inherit 2004-05-26 09:30:32 UTC (rev 6762)
@@ -1,4 +1,5 @@
<style type='text/css'>
@import url(/CSS/all.css);
+ @import url(/CSS/sidebars/simple.css);
@import url(/vorbis/CSS/all.css);
</style>
--- >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