From d5e453a7b0a2f966106de4f19602e433f9c7713d Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sat, 6 Dec 2008 09:45:32 -0500 Subject: Reverted back to layout 4 Oh so many people complained at the new, pretty layout. The decision was reached in the Poll of the Week: Layout 6 had to go. --- pages/quotes.php | 3 - theme/css.php | 2 + theme/css/headers.php | 85 +++++++++++++++ theme/css/navigation.css | 173 ++++++++++++++++++++++++++++++ theme/css/night.css | 12 --- theme/css/website.css | 62 ++++++++--- theme/footer.tpl | 90 +++------------- theme/header.tpl | 34 ++++-- theme/images/Fourm.gif | Bin 0 -> 23001 bytes theme/images/Fourm_ro.gif | Bin 0 -> 23013 bytes theme/images/Home.gif | Bin 0 -> 22992 bytes theme/images/Home_ro.gif | Bin 0 -> 23014 bytes theme/images/Links.gif | Bin 0 -> 22985 bytes theme/images/Links_ro.gif | Bin 0 -> 23005 bytes theme/images/Login.gif | Bin 0 -> 23311 bytes theme/images/Login_ro.gif | Bin 0 -> 23552 bytes theme/images/Logout.gif | Bin 0 -> 23470 bytes theme/images/Logout_ro.gif | Bin 0 -> 23613 bytes theme/images/Panel.gif | Bin 0 -> 23368 bytes theme/images/Panel_ro.gif | Bin 0 -> 23577 bytes theme/images/Poll.gif | Bin 0 -> 23161 bytes theme/images/Poll_ro.gif | Bin 0 -> 23476 bytes theme/images/Projects.gif | Bin 0 -> 23098 bytes theme/images/Projects_ro.gif | Bin 0 -> 23033 bytes theme/images/Quotes.gif | Bin 0 -> 23969 bytes theme/images/Quotes_ro.gif | Bin 0 -> 23717 bytes theme/images/Random.gif | Bin 0 -> 23142 bytes theme/images/Random_ro.gif | Bin 0 -> 23043 bytes theme/images/Wiki.gif | Bin 0 -> 23256 bytes theme/images/Wiki_ro.gif | Bin 0 -> 23551 bytes theme/images/backgrounds/4ofjuly.PNG | Bin theme/images/backgrounds/ashWeds.PNG | Bin theme/images/backgrounds/christmas.PNG | Bin theme/images/backgrounds/christmasEve.PNG | Bin theme/images/backgrounds/columbus.PNG | Bin theme/images/backgrounds/easter.PNG | Bin theme/images/backgrounds/fathers.PNG | Bin theme/images/backgrounds/flagDay.PNG | Bin theme/images/backgrounds/goodFriday.PNG | Bin theme/images/backgrounds/groundhog.PNG | Bin theme/images/backgrounds/halloween.PNG | Bin theme/images/backgrounds/hatkirbybday.PNG | Bin theme/images/backgrounds/island.PNG | Bin 0 -> 14751 bytes theme/images/backgrounds/island2.PNG | Bin 0 -> 19372 bytes theme/images/backgrounds/island3.PNG | Bin 0 -> 19848 bytes theme/images/backgrounds/island4.PNG | Bin 0 -> 21981 bytes theme/images/backgrounds/island5.PNG | Bin 0 -> 10225 bytes theme/images/backgrounds/island6.PNG | Bin theme/images/backgrounds/island6night.PNG | Bin theme/images/backgrounds/islandYearly.PNG | Bin theme/images/backgrounds/kirbyweek.PNG | Bin theme/images/backgrounds/mardiGras.PNG | Bin theme/images/backgrounds/martinLuther.PNG | Bin theme/images/backgrounds/memorial.PNG | Bin theme/images/backgrounds/mothers.PNG | Bin theme/images/backgrounds/newYear.PNG | Bin theme/images/backgrounds/newYearsEve.PNG | Bin theme/images/backgrounds/valentines.PNG | Bin theme/images/backgrounds/veterans.PNG | Bin theme/images/bg_body.gif | Bin theme/images/bg_body_short.gif | Bin 0 -> 384 bytes theme/images/bg_footer.gif | Bin 0 -> 114 bytes theme/images/bg_header.gif | Bin 0 -> 642 bytes theme/images/bg_navbar.gif | Bin 0 -> 206 bytes theme/images/bg_search.gif | Bin 0 -> 837 bytes theme/images/corners_bottom.gif | Bin 0 -> 708 bytes theme/images/corners_left.png | Bin 0 -> 195 bytes theme/images/corners_right.png | Bin 0 -> 201 bytes theme/images/fourisland_header.png | Bin 24386 -> 0 bytes theme/images/fourisland_header_night.png | Bin 19678 -> 0 bytes theme/images/headers/ctnh.png | Bin 0 -> 20000 bytes theme/images/headers/fourm.png | Bin 0 -> 10596 bytes theme/images/headers/hatkirbybday.png | Bin 0 -> 12384 bytes theme/images/headers/islandYearly.png | Bin 0 -> 4527 bytes theme/images/headers/kfm.png | Bin 0 -> 10819 bytes theme/images/headers/links.png | Bin 0 -> 10711 bytes theme/images/headers/main.png | Bin 0 -> 12479 bytes theme/images/headers/main.xcf | Bin 0 -> 62769 bytes theme/images/headers/memorial.png | Bin 0 -> 11355 bytes theme/images/headers/mothers.png | Bin 0 -> 12532 bytes theme/images/headers/potw.png | Bin 0 -> 10919 bytes theme/images/headers/projects.png | Bin 0 -> 12846 bytes theme/images/headers/projects.xcf | Bin 0 -> 87437 bytes theme/images/headers/quotes.png | Bin 0 -> 12260 bytes theme/images/headers/random.png | Bin 0 -> 11632 bytes theme/images/headers/short.png | Bin 0 -> 10776 bytes theme/images/sides_top.gif | Bin 0 -> 2559 bytes theme/images/tabBG.png | Bin 0 -> 2473 bytes theme/images/tabBG2.png | Bin 0 -> 2722 bytes theme/images/tabSe.png | Bin 0 -> 258 bytes theme/images/tabUn.png | Bin 0 -> 260 bytes theme/images/top_fade.png | Bin 172 -> 0 bytes theme/images/top_fade_night.png | Bin 190 -> 0 bytes theme/js/message.js | 5 + theme/quotes/header.tpl | 47 -------- 95 files changed, 353 insertions(+), 160 deletions(-) create mode 100644 theme/css/headers.php create mode 100644 theme/css/navigation.css create mode 100755 theme/images/Fourm.gif create mode 100755 theme/images/Fourm_ro.gif create mode 100755 theme/images/Home.gif create mode 100755 theme/images/Home_ro.gif create mode 100755 theme/images/Links.gif create mode 100755 theme/images/Links_ro.gif create mode 100755 theme/images/Login.gif create mode 100755 theme/images/Login_ro.gif create mode 100755 theme/images/Logout.gif create mode 100755 theme/images/Logout_ro.gif create mode 100755 theme/images/Panel.gif create mode 100755 theme/images/Panel_ro.gif create mode 100755 theme/images/Poll.gif create mode 100755 theme/images/Poll_ro.gif create mode 100755 theme/images/Projects.gif create mode 100755 theme/images/Projects_ro.gif create mode 100755 theme/images/Quotes.gif create mode 100755 theme/images/Quotes_ro.gif create mode 100755 theme/images/Random.gif create mode 100755 theme/images/Random_ro.gif create mode 100755 theme/images/Wiki.gif create mode 100755 theme/images/Wiki_ro.gif mode change 100644 => 100755 theme/images/backgrounds/4ofjuly.PNG mode change 100644 => 100755 theme/images/backgrounds/ashWeds.PNG mode change 100644 => 100755 theme/images/backgrounds/christmas.PNG mode change 100644 => 100755 theme/images/backgrounds/christmasEve.PNG mode change 100644 => 100755 theme/images/backgrounds/columbus.PNG mode change 100644 => 100755 theme/images/backgrounds/easter.PNG mode change 100644 => 100755 theme/images/backgrounds/fathers.PNG mode change 100644 => 100755 theme/images/backgrounds/flagDay.PNG mode change 100644 => 100755 theme/images/backgrounds/goodFriday.PNG mode change 100644 => 100755 theme/images/backgrounds/groundhog.PNG mode change 100644 => 100755 theme/images/backgrounds/halloween.PNG mode change 100644 => 100755 theme/images/backgrounds/hatkirbybday.PNG create mode 100755 theme/images/backgrounds/island.PNG create mode 100755 theme/images/backgrounds/island2.PNG create mode 100755 theme/images/backgrounds/island3.PNG create mode 100755 theme/images/backgrounds/island4.PNG create mode 100755 theme/images/backgrounds/island5.PNG mode change 100644 => 100755 theme/images/backgrounds/island6.PNG mode change 100644 => 100755 theme/images/backgrounds/island6night.PNG mode change 100644 => 100755 theme/images/backgrounds/islandYearly.PNG mode change 100644 => 100755 theme/images/backgrounds/kirbyweek.PNG mode change 100644 => 100755 theme/images/backgrounds/mardiGras.PNG mode change 100644 => 100755 theme/images/backgrounds/martinLuther.PNG mode change 100644 => 100755 theme/images/backgrounds/memorial.PNG mode change 100644 => 100755 theme/images/backgrounds/mothers.PNG mode change 100644 => 100755 theme/images/backgrounds/newYear.PNG mode change 100644 => 100755 theme/images/backgrounds/newYearsEve.PNG mode change 100644 => 100755 theme/images/backgrounds/valentines.PNG mode change 100644 => 100755 theme/images/backgrounds/veterans.PNG mode change 100644 => 100755 theme/images/bg_body.gif create mode 100755 theme/images/bg_body_short.gif create mode 100755 theme/images/bg_footer.gif create mode 100755 theme/images/bg_header.gif create mode 100755 theme/images/bg_navbar.gif create mode 100755 theme/images/bg_search.gif create mode 100755 theme/images/corners_bottom.gif create mode 100755 theme/images/corners_left.png create mode 100755 theme/images/corners_right.png delete mode 100644 theme/images/fourisland_header.png delete mode 100644 theme/images/fourisland_header_night.png create mode 100755 theme/images/headers/ctnh.png create mode 100755 theme/images/headers/fourm.png create mode 100755 theme/images/headers/hatkirbybday.png create mode 100755 theme/images/headers/islandYearly.png create mode 100755 theme/images/headers/kfm.png create mode 100755 theme/images/headers/links.png create mode 100755 theme/images/headers/main.png create mode 100755 theme/images/headers/main.xcf create mode 100755 theme/images/headers/memorial.png create mode 100755 theme/images/headers/mothers.png create mode 100755 theme/images/headers/potw.png create mode 100755 theme/images/headers/projects.png create mode 100755 theme/images/headers/projects.xcf create mode 100755 theme/images/headers/quotes.png create mode 100755 theme/images/headers/random.png create mode 100755 theme/images/headers/short.png create mode 100755 theme/images/sides_top.gif create mode 100755 theme/images/tabBG.png create mode 100755 theme/images/tabBG2.png create mode 100755 theme/images/tabSe.png create mode 100755 theme/images/tabUn.png delete mode 100644 theme/images/top_fade.png delete mode 100644 theme/images/top_fade_night.png create mode 100755 theme/js/message.js delete mode 100644 theme/quotes/header.tpl diff --git a/pages/quotes.php b/pages/quotes.php index b02875e..d557ca1 100755 --- a/pages/quotes.php +++ b/pages/quotes.php @@ -27,9 +27,6 @@ include('includes/functions_quotes.php'); $pageCategory = 'quotes'; $headtags = ''; -$template = new FITemplate('quotes/header'); -$template->display(); - if (isset($_GET['id'])) { $quote_num = $_GET['id']; diff --git a/theme/css.php b/theme/css.php index 352caaa..fa0451a 100755 --- a/theme/css.php +++ b/theme/css.php @@ -28,6 +28,8 @@ include('../includes/specialdates.php'); include("css/website.css"); include("css/bubbles.css"); +include('css/navigation.css'); +include('css/headers.php'); if (sd_ifNoSpecialDay()) { diff --git a/theme/css/headers.php b/theme/css/headers.php new file mode 100644 index 0000000..bb5a179 --- /dev/null +++ b/theme/css/headers.php @@ -0,0 +1,85 @@ + +/* Four Island Header CSS */ + +/* Category-Based Headers */ +body.projects div#banner { + background-image: url("/theme/images/headers/projects.png"); +} +body.wiki div#banner { + background-image: url("/theme/images/headers/kfm.png"); +} +body.fourm div#banner { + background-image: url("/theme/images/headers/fourm.png"); +} +body.misc div#banner { + background-image: url("/theme/images/headers/random.png"); +} +body.webs div#banner { + background-image: url("/theme/images/headers/links.png"); +} +body.quotes div#banner { + background-image: url("/theme/images/headers/quotes.png"); +} +body.poll div#banner { + background-image: url("/theme/images/headers/potw.png"); +} +/* AID-Based Headers */ + +div#banner { + background-image: url("/theme/images/headers/.png"); /*850x129*/ +} diff --git a/theme/css/navigation.css b/theme/css/navigation.css new file mode 100644 index 0000000..4d3156b --- /dev/null +++ b/theme/css/navigation.css @@ -0,0 +1,173 @@ +/* Four Island NavBar CSS */ + +ul#bannernav { + list-style: none; + clear: both; + margin: 0px; +} + +div#banner-nav { + height: 30px; + clear: both; + margin: 1px 30px 0 30px; + background: url("/theme/images/bg_navbar.gif") repeat-x 0 0; +} + +ul#bannernav li { + float: left; + margin: 0; + padding: 0; + padding-right: 6px; +} + +ul#bannernav li a { + text-decoration: none; + display: block; + width: 100; + height: 30; +} + +ul#bannernav li a span { + visibility: hidden; +} + +ul#bannernav li img { + display: none; +} + +ul#bannernav li#bannernav-home a { + background-image: url("/theme/images/Home.gif"); +} + +body.home ul#bannernav li#bannernav-home a, +ul#bannernav li#bannernav-home a:hover { + background-image: url("/theme/images/Home_ro.gif"); +} + +ul#bannernav li#bannernav-projects a { + background-image: url("/theme/images/Projects.gif"); +} + +body.projects ul#bannernav li#bannernav-projects a, +ul#bannernav li#bannernav-projects a:hover { + background-image: url("/theme/images/Projects_ro.gif"); +} + +ul#bannernav li#bannernav-wiki a { + background-image: url("/theme/images/Wiki.gif"); +} + +body.wiki ul#bannernav li#bannernav-wiki a, +ul#bannernav li#bannernav-wiki a:hover { + background-image: url("/theme/images/Wiki_ro.gif"); +} + +ul#bannernav li#bannernav-fourm a { + background-image: url("/theme/images/Fourm.gif"); +} + +body.fourm ul#bannernav li#bannernav-fourm a, +ul#bannernav li#bannernav-fourm a:hover { + background-image: url("/theme/images/Fourm_ro.gif"); +} + +ul#bannernav li#bannernav-misc a { + background-image: url("/theme/images/Random.gif"); +} + +body.misc ul#bannernav li#bannernav-misc a, +ul#bannernav li#bannernav-misc a:hover { + background-image: url("/theme/images/Random_ro.gif"); +} + +ul#bannernav li#bannernav-webs a { + background-image: url("/theme/images/Links.gif"); +} + +body.webs ul#bannernav li#bannernav-webs a, +ul#bannernav li#bannernav-webs a:hover { + background-image: url("/theme/images/Links_ro.gif"); +} + +ul#bannernav li#bannernav-poll a { + background-image: url("/theme/images/Poll.gif"); +} + +body.poll ul#bannernav li#bannernav-poll a, +ul#bannernav li#bannernav-poll a:hover { + background-image: url("/theme/images/Poll_ro.gif"); +} + +ul#bannernav li#bannernav-quotes a { + background-image: url("/theme/images/Quotes.gif"); +} + +body.quotes ul#bannernav li#bannernav-quotes a, +ul#bannernav li#bannernav-quotes a:hover { + background-image: url("/theme/images/Quotes_ro.gif"); +} + +ul#bannernav li#bannernav-login a { + background-image: url("/theme/images/Login.gif"); +} + +body.login ul#bannernav li#bannernav-login a, +ul#bannernav li#bannernav-login a:hover { + background-image: url("/theme/images/Login_ro.gif"); +} + +ul#bannernav li#bannernav-logout a { + background-image: url("/theme/images/Logout.gif"); +} + +ul#bannernav li#bannernav-logout a:hover { + background-image: url("/theme/images/Logout_ro.gif"); +} + +ul#bannernav li#bannernav-panel a { + background-image: url("/theme/images/Panel.gif"); +} + +body.panel ul#bannernav li#bannernav-panel a, +ul#bannernav li#bannernav-panel a:hover { + background-image: url("/theme/images/Panel_ro.gif"); +} + +ul#bannernav li#bannernav-search { + display: block; + float: right; + width: 165px; + height: 30px; + margin: 0px; + background: url("/theme/images/bg_search.gif") 0 0 no-repeat; +} + +ul#bannernav li#bannernav-search fieldset { + border: none; + padding-top: 6px; + border-width:0pt; + font-family:Verdana,Helvetica,Arial,sans-serif; + font-size:1.1em; +} + +ul#bannernav li#bannernav-search input { + width: 125px; + height: 19px !important; + margin-left: 13px; + border: none !important; + background-color: transparent; + cursor:pointer; + font-family:Verdana,Helvetica,Arial,sans-serif; + font-weight:normal; + padding:0pt 3px; + vertical-align:middle; + line-height:1.3em; + color:#536482; + margin-top: -20px; +} + +body.fourm ul#bannernav li#bannernav-search input { + margin-top: 0px; + font-size: 1.1em !important; + margin-left: 28px; +} diff --git a/theme/css/night.css b/theme/css/night.css index 614cc79..e97ac71 100644 --- a/theme/css/night.css +++ b/theme/css/night.css @@ -2,15 +2,3 @@ body { background-color: black; background-image: url(/theme/images/backgrounds/island6night.PNG); } - -body div#banner { - background-image: url("/theme/images/fourisland_header_night.png") !important; -} - -body div#top-fade { - background-image: url(/theme/images/top_fade_night.png) !important; -} - -body.home div.bubble cite { - color: yellow; -} diff --git a/theme/css/website.css b/theme/css/website.css index de2fecd..823e80e 100755 --- a/theme/css/website.css +++ b/theme/css/website.css @@ -108,12 +108,18 @@ pre { div#banner, div#fi-banner { background-repeat: no-repeat; - width: 900px; /*728*/ - height: 200px; + width: 850px; + height: 129px; float: left; margin-top: 21px; } +#page-header { + background: url("/theme/images/bg_header.gif") repeat-x 0 0; + height: 150px; + clear: both; +} + div#banner { background-image: url("/theme/images/fourisland_header.png"); } @@ -124,8 +130,8 @@ body div#banner h1, body div#fi-banner h1 { body div#banner h1 a, body div#fi-banner h1 a { display: block; - width: 900px; - height: 200px; + width: 850px; + height: 129px; text-indent: -5000px; text-decoration: none; margin: 0; @@ -141,10 +147,27 @@ div#bannernav { text-align: center; } +span.side-left, span.side-right { + display: block; + width: 20px; + height: 150px; + background: url("/theme/images/sides_top.gif") no-repeat; +} + +span.side-left { + float: left; + margin-right: 10px; +} + +span.side-right { + background-position: 100% 0; + float: right; +} + /* Sidebar */ div#rightbar { - float: left; + float: right; width: 250px; /*210*/ padding: 0 10; } @@ -193,6 +216,7 @@ div#sidebar li img { /* Layout */ #wrap { + background: #FFFFFF url("/theme/images/bg_body.gif") repeat-y 0 0; width: 910px; margin: 10px auto; text-align: left; @@ -200,16 +224,6 @@ div#sidebar li img { margin-top: 25px; } -div#top-fade { - position: absolute; - top: 0; - left: 0; - width: 100%; - background-image: url(/theme/images/top_fade.png); - height: 400px; - z-index: 0; -} - #page-body { margin: 0 30px; clear: both; @@ -231,7 +245,7 @@ body.fourm #page-body { /* Content */ div#content { - float: right; + float: left; width: 555px; /*465*/ /*555*/ } @@ -313,6 +327,22 @@ div#hatbar.quotes-options ul { list-style: none; } +div#stripe { + position: fixed; + top: 0; + left: 0; + width: 100%; + background-color: #FBEC5D; + height: 20px; + z-index: 99; + padding-top: 5px; + text-align: center; +} + +* > html div#stripe { + position: absolute; +} + /* Tables */ table.webmail { diff --git a/theme/footer.tpl b/theme/footer.tpl index ed4e94d..422c733 100755 --- a/theme/footer.tpl +++ b/theme/footer.tpl @@ -22,72 +22,44 @@ + - - + +