[Assorted-commits] SF.net SVN: assorted: [207] personal-site/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-01-03 11:03:57
|
Revision: 207 http://assorted.svn.sourceforge.net/assorted/?rev=207&view=rev Author: yangzhang Date: 2008-01-03 03:03:47 -0800 (Thu, 03 Jan 2008) Log Message: ----------- latest personal site, published Modified Paths: -------------- personal-site/trunk/Makefile Added Paths: ----------- personal-site/trunk/src/dark.css Removed Paths: ------------- personal-site/trunk/static/dark.css Modified: personal-site/trunk/Makefile =================================================================== --- personal-site/trunk/Makefile 2008-01-03 09:47:38 UTC (rev 206) +++ personal-site/trunk/Makefile 2008-01-03 11:03:47 UTC (rev 207) @@ -3,12 +3,15 @@ DARK := out/dark.html INDEX := out/index.html -all: $(INDEX) $(PLAIN) $(DARK) +all: $(INDEX) $(PLAIN) $(DARK) out/dark.css svn export --force static out out: mkdir -p out +out/dark.css: src/dark.css + cpp -P -CC -traditional-cpp $^ $@ + $(INDEX): $(DARK) ln -sf dark.html $(INDEX) Copied: personal-site/trunk/src/dark.css (from rev 205, personal-site/trunk/static/dark.css) =================================================================== --- personal-site/trunk/src/dark.css (rev 0) +++ personal-site/trunk/src/dark.css 2008-01-03 11:03:47 UTC (rev 207) @@ -0,0 +1,156 @@ +/* + * This is loosely based on the 'Blackbox' theme by Viktor Persson + * (http://arcsin.se/). + */ + +#define DIM_GOLD #B8860B +#define BRIGHT_GOLD #DAA520 +#define TEXT_WHITE #F5F5F5 +#define TEXT_GRAY #C0C0C0 +#define BRIGHT_BLUE #E0FFFF +#define DIM_BLUE #87CEEB + +/* Standard elements */ +/* +* { + margin: 0; + padding: 0; +} + */ + +a { + color: DIM_BLUE; + text-decoration: none; +} + +a:hover { + color: BRIGHT_BLUE; +} + +body { + background: black url(img/bg.png) repeat-x fixed left bottom; + color: TEXT_WHITE; + margin: 20px 0; + text-align: center; + font: normal 0.8em sans-serif,Arial; +} + +ul { + /* margin: 12px 0; */ + margin-left: -25px; +} + +li { + /* list-style: url(img/li.gif); */ + /* margin-left: 18px; */ +} + +code { + font: normal 1em "Lucida Sans Unicode",serif; + background: url(img/bgcode.gif); + color: #888; + display: block; + padding: 3px 6px; + white-space: pre; + margin-bottom: 12px; +} + +/* Misc */ +div.quote { + margin-bottom: 12px; + font: normal 1.1em "Lucida Sans Unicode",serif; + background: url(img/quote.gif) no-repeat; + padding-left: 28px; + color: gray; +} + + +/* Main structure */ +.main { + background: #000; + border: 3px double #EEE; + border-color: DIM_GOLD; /* #222; /* #141414 #202020 #222 #202020; */ + margin: 20px auto 4px auto; + text-align: left; + width: 600px; +} + +/* Header */ +.title { + float: left; + width: 190px; +} +.title h1 { + color: TEXT_GRAY; + font: normal 1.5em sans-serif; + padding-left: 10px; + /* padding: 16px 20px; */ + text-transform: lowercase; +} + + +/* Menu */ +div.menu { + float: right; +} +.menu a { + background: #000; /* url(img/bgmenu.png) repeat-x; */ + /* + border-left: 1px solid #222; + border-right: 1px solid #222; + border-top: 1px solid #222; + */ + color: DIM_GOLD; /* #7799bb; */ + float: left; + padding-top: 4px; + width: 100px; height: 36px; + border-top: 3px solid black; +} +.menu a span { + padding-left: 6px; +} +.menu a:hover { + background-position: left bottom; + color: BRIGHT_GOLD; + border-top: 3px solid BRIGHT_GOLD; +} + + +/* Content */ +.content { + /* border-top: 1px solid DIM_GOLD; */ + background: black; + clear: both; + padding: 8px 10px; +} +.content h1, img { + display: none; +} +.content h2 { + /* margin: 0 0 4px; */ + text-transform: lowercase; + border-top: 1px solid DIM_GOLD; + font: 1.3em sans-serif; + font-weight: normal; + color: silver; +} +.content p { + /* margin: 0 0 12px; */ +} + +/* Footer */ +.footer { + padding: 5px; + background: #0A0A0A; + color: #666; +} +/* TODO fix the spacing +.footer p { + padding-top: -10px; + padding-bottom: -10px; +} +*/ + +/* + * vim:noet:sw=4:ts=4 + */ Deleted: personal-site/trunk/static/dark.css =================================================================== --- personal-site/trunk/static/dark.css 2008-01-03 09:47:38 UTC (rev 206) +++ personal-site/trunk/static/dark.css 2008-01-03 11:03:47 UTC (rev 207) @@ -1,143 +0,0 @@ -/* - * This is loosely based on the 'Blackbox' theme by Viktor Persson - * (http://arcsin.se/). - */ - -/* Standard elements */ -/** { - margin: 0; - padding: 0; -}*/ - -a { - color: skyblue; - text-decoration: none; -} -a:hover { - color: lightcyan; -} -body { - background: black url(img/bg.png) repeat-x fixed left bottom; - color: whitesmoke; - margin: 20px 0; - text-align: center; - font: normal 0.8em sans-serif,Arial; -} -ul { - /* margin: 12px 0; */ - margin-left: -25px; -} -li { - /* list-style: url(img/li.gif); */ - /* margin-left: 18px; */ -} -code { - font: normal 1em "Lucida Sans Unicode",serif; - background: url(img/bgcode.gif); - color: #888; - display: block; - padding: 3px 6px; - white-space: pre; - margin-bottom: 12px; -} - - -/* Misc */ -div.quote { - margin-bottom: 12px; - font: normal 1.1em "Lucida Sans Unicode",serif; - background: url(img/quote.gif) no-repeat; - padding-left: 28px; - color: gray; -} - - -/* Main structure */ -.main { - background: #000; - border: 3px double #EEE; - border-color: darkgoldenrod; /* #222; /* #141414 #202020 #222 #202020; */ - margin: 20px auto 4px auto; - text-align: left; - width: 600px; -} - -/* Header */ -.title { - float: left; - width: 190px; -} -.title h1 { - color: silver; - font: normal 1.5em sans-serif; - padding-left: 10px; - /* padding: 16px 20px; */ - text-transform: lowercase; -} - - -/* Menu */ -div.menu { - float: right; -} -.menu a { - background: #000; /* url(img/bgmenu.png) repeat-x; */ - /* - border-left: 1px solid #222; - border-right: 1px solid #222; - border-top: 1px solid #222; - */ - color: darkgoldenrod; /* #7799bb; */ - float: left; - padding-top: 4px; - width: 100px; height: 36px; - border-top: 3px solid black; -} -.menu a span { - padding-left: 6px; -} -.menu a:hover { - background-position: left bottom; - color: goldenrod; - border-top: 3px solid goldenrod; -} - - -/* Content */ -.content { - /* border-top: 1px solid darkgoldenrod; */ - background: black; - clear: both; - padding: 8px 10px; -} -.content h1, img { - display: none; -} -.content h2 { - /* margin: 0 0 4px; */ - text-transform: lowercase; - border-top: 1px solid darkgoldenrod; - font: 1.3em sans-serif; - font-weight: normal; - color: silver; -} -.content p { - /* margin: 0 0 12px; */ -} - -/* Footer */ -.footer { - padding: 5px; - background: #0A0A0A; - color: #666; -} -/* TODO fix the spacing -.footer p { - padding-top: -10px; - padding-bottom: -10px; -} -*/ - -/* - * vim:noet:sw=4:ts=4 - */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |