diff options
author | neoraider <devnull@localhost> | 2006-04-15 19:31:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-15 19:31:05 +0200 |
commit | ac0c6f0b35a99fed2308aef85df818db3d871a95 (patch) | |
tree | 13f8ef737325c26444eb129c8d73a6f4f8c82f24 | |
parent | 9b75fe7dbb5d0facae0ad516b580886c3e5a7aec (diff) | |
download | neon-ac0c6f0b35a99fed2308aef85df818db3d871a95.tar neon-ac0c6f0b35a99fed2308aef85df818db3d871a95.zip |
Neuer MediaWiki-like Style TheWhiteOne.
-rw-r--r-- | code/nav.inc.php | 3 | ||||
-rw-r--r-- | config/config.inc.php | 2 | ||||
-rw-r--r-- | styles/TheWhiteOne/Bullet.gif | bin | 0 -> 809 bytes | |||
-rw-r--r-- | styles/TheWhiteOne/style.css | 144 |
4 files changed, 147 insertions, 2 deletions
diff --git a/code/nav.inc.php b/code/nav.inc.php index 06ce84d..bb7ce12 100644 --- a/code/nav.inc.php +++ b/code/nav.inc.php @@ -72,7 +72,8 @@ function Parse() { $ccount = 0; - $ret = '<li>'; + if($this->link) $ret = '<li class="nav_' . urlencode($this->link) . '">'; + else $ret = '<li>'; $a = $GLOBALS['nav']->ParseLink($this->text, $this->link); diff --git a/config/config.inc.php b/config/config.inc.php index 2175083..20436cf 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -18,6 +18,6 @@ // page design - $GLOBALS['config']['default_style'] = 'GreenGrid'; + $GLOBALS['config']['default_style'] = 'TheWhiteOne'; $GLOBALS['config']['title'] = 'Neon - '; ?> diff --git a/styles/TheWhiteOne/Bullet.gif b/styles/TheWhiteOne/Bullet.gif Binary files differnew file mode 100644 index 0000000..907abcb --- /dev/null +++ b/styles/TheWhiteOne/Bullet.gif diff --git a/styles/TheWhiteOne/style.css b/styles/TheWhiteOne/style.css new file mode 100644 index 0000000..9821725 --- /dev/null +++ b/styles/TheWhiteOne/style.css @@ -0,0 +1,144 @@ +body { + color:#000000; + background-color:#FFFFFF; + font-family:sans-serif; + font-size:small; + margin-right:0; + margin-left:0; +} + +h2 { + font-size:x-large; + font-weight:normal; + border-bottom:solid #AAAAAA 1px; +} + +a:link { + color:#3333FF; + text-decoration:none; +} +a:visited { + color:#663366; + text-decoration:none; +} +a:hover { + text-decoration:underline; +} +a:active { + text-decoration:underline; +} + +a.active_page_link { + font-weight:bold; +} + +.spaced-top { + margin-top:0.8em; +} + +.spaced-bottom { + margin-bottom:0.8em; +} + +select.pagelist, select.userlist, select.grouplist { + width:35em; +} + +textarea.pageedit { + width:100%; +} + +table.privtab { + border-collapse:collapse; +} + +table.privtab tr.line2 { + background-color:#DDDDDD; +} + +table.privtab tr td { + text-align:center; + padding-left:15px; +} + +table.privtab tr.group td { + font-weight:bold; +} + +table.privtab tr td.page, table.privtab tr td.submit { + text-align:left; + padding-left:0; +} + +div#content { + text-align:justify; + padding:0.8em; + margin-left:12em; + background-color:#FFFFFF; + border:solid #AAAAAA 1px; + border-right:none; +} + +div#nav { + position:fixed; + padding:0 0.8em 0 0; + font-size:85%; +} + +div#nav ul { + list-style-type:none; + padding-left:0.5em; + margin:0; +} + +div#nav ul li ul { + list-style-image:url(Bullet.gif); + margin-left:-0.5em; + margin-bottom:0.5em; + background-color:FFFFFF; + border:solid #AAAAAA 1px; + border-left:none; + width:11.4em; + padding:0.3em 0 0.3em 2em; +} + +div#nav ul li ul li { + text-align:left; + padding:0.1em 0 +} + +div#nav ul li ul li ul { + margin-bottom:0; + padding-left:0.8em; +} + +div#nav div.login { + width:100%; + margin-left:-1em; +} + +div#nav div.login input { + width:100%; + margin-bottom:0.8em; +} + +div#nav div.login div.login_submit { + text-align:right; +} + +div#nav div.login div.login_submit input { + width:auto; + margin:0; +} + +div#nav li.nav_\%21Login { + list-style-image:none; +} + +h1, h2, h3, h4, h5, h6 { + margin-top:0; +} + +.error { + color:#FF0000; +} |