Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use YUI css framework for consistency across browsers.
- Loading branch information
Showing
9 changed files
with
83 additions
and
6 deletions.
There are no files selected for viewing
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,30 @@ | |||
Software License Agreement (BSD License) | |||
Copyright (c) 2009, Yahoo! Inc. | |||
All rights reserved. | |||
|
|||
Redistribution and use of this software in source and binary forms, | |||
with or without modification, are permitted provided that the following | |||
conditions are met: | |||
|
|||
* Redistributions of source code must retain the above copyright | |||
notice, this list of conditions and the following disclaimer. | |||
|
|||
* Redistributions in binary form must reproduce the above copyright | |||
notice, this list of conditions and the following disclaimer in the | |||
documentation and/or other materials provided with the distribution. | |||
|
|||
* Neither the name of Yahoo! Inc. nor the names of its contributors | |||
may be used to endorse or promote products derived from this software | |||
without specific prior written permission of Yahoo! Inc. | |||
|
|||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED | |||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,14 @@ | |||
# Events | # Events | ||
|
|
||
![Ukulele](Ukulele.jpg) | Here is a list of recent events, most recent first: | ||
|
|
||
<?rb for event in @events.sort_by {|e| e.date}.reverse ?> | <?rb for event in @events.sort_by {|e| e.date}.reverse ?> | ||
+ ${event.speaker}, ${event.title} (${event.date.to_s("%B %d, %Y")}) | + ${event.speaker}, ${event.title} (${event.date.to_s("%B %d, %Y")}) | ||
<?rb end ?> | <?rb end ?> | ||
|
|||
Oldest first, with different date format: | |||
|
|||
<?rb for event in @events.sort_by {|e| e.date} ?> | |||
+ ${event.speaker}, ${event.title} (${event.date.to_s("%m/%d/%y")}) | |||
<?rb end ?> | |||
|
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
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,11 @@ | |||
/* CSS for screen display here */ | /* CSS for screen display here */ | ||
@import url("reset-fonts-grids.css"); | |||
@import url("base-min.css"); | |||
|
|||
body { font-size : 93%; } | |||
|
|||
div#sidebar { margin-top: 4em; } | |||
ul.nav { margin-top: 0; } | |||
ul.nav li { list-style: none; padding-bottom: 0.1em; } | |||
ul.nav li.selected { list-style: square; } | |||
|
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,9 @@ | |||
- Home: index.html | - Home: index.html | ||
- Events: events.html | - Events: events.html | ||
- My submenu: |
|
||
- Home again: index.html | # You can have submenus like this: | ||
- Events again: events.html | # - My submenu: | ||
# - Food: food.html | |||
# - Drinks: | |||
# - Wine: wine.html | |||
# - Beer: beer.html |
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