
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- Type the title of your site here -->
<title>Hearts and Hands for Haiti - {title}</title>
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
<!--[if IE 6]>
<__script__ type="text/javascript" src="/modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
<__script__ src="uploads/javascript/sucker.js"></__script>
{global_content name='JavaScript for IE page width'}
</head>
</__body>
<div id="wrap">
<!-- start accessibility skip links -->
<ul class="accessibility">
<li><a href="#menu_vert" accesskey="s" title="Skip to navigation">Skip to navigation</a></li>
<li><a href="#main">Skip to content</a></li>
</ul>
<!-- end accessibility skip links -->
<!-- Start Header, with logo image that links to the default start page -->
<div><!-- End Header -->
<a href="index.php"><img src="uploads/images/logo1.jpg" width="760" height="80" alt="Logo" /></a></div>
<!-- Start Horizontal Menu -->
<div id="menu_horiz">
<h2 class="accessibility">Main Navigation</h2>
<div id="wrapper">
{cms_module module='menumanager' template='hhh01 : andreas01 : andreasmenu' number_of_levels='2'}
</div>
</div><!-- end topnav -->
<!-- End Horizontal Menu -->
<img src="uploads/images/front.jpg" width="760" height="152" alt="Love, Hope, Faith" />
<!-- Start Vertical Navigation -->
<div id="avmenu">
<div class="announce">
<h2 class="accessibility">News</h2>
{cms_module module="news" number="5"}
</div>
</div>
<!-- End Vertical Navigation -->
<!-- Start Breadcrumbs -->
<!--
Breadcrumbs is hidden for now
<div class="breadcrumbs">
{breadcrumbs starttext='You are here' root='Home' delimiter='»'}
</div>
-->
<!-- End Breadcrumbs -->
<div id="extras">
{global_content name='side'}
</div>
<!-- Start Content (Navigation and Content columns) -->
<div id="content" class="clearfix">
<!-- Start Content Area -->
<div id="main">
<h2>{title}</h2>
{content} <br />
<!-- Start relational links -->
<!-- hidden
<div class="hr"></div>
<div class="right49">
<p><a href="#main">^ Top</a></p>
</div>
<div class="left49">
<p>{cms_selflink dir="previous"} <br />
{cms_selflink dir="next"}</p>
</div>
-->
<!-- End relational links -->
</div>
<!-- End Content Area -->
</div>
<!-- End Content -->
<!-- Start Footer -->
<div id="footer" class="clearfix">
Copyright © 2005 Hearts & Hands for Haiti. Design by <a href="http://llhdesign.com" target="_blank">Linda Hargrove</a>.
</div>
<!-- End Footer -->
</div><!-- end wrap -->
<__body>
</__html>
Code: Select all
/* andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas
Version: 1.0
(July 25, 2005)
Screen layout: */
/*
This layout depends on modified news summary template
<!-- Start News Display Template -->
{foreach from=$items item=entry}
<h3>
{$entry->titlelink}
</h3>
<p>
{$entry->category}
{if $entry->author}
by {$entry->author}
{/if}
{if $entry->formatpostdate}
<strong>
{$entry->formatpostdate}
</strong><br />
{/if}
{if $entry->summary}
{eval var=$entry->summary}
</p>
<p class="textright">[{$entry->morelink}]</p>
{else if $entry->content}
{eval var=$entry->content}
</p>
{/if}
{/foreach}
<!-- End News Display Template -->
Copy paste this template to your news summary template and delete from here
*/
body {
margin: 0 auto;
padding: 0;
font: 76% Verdana,Tahoma,Arial,sans-serif;
background: #f4f4f4 url(uploads/hhh01/bg.gif) top center repeat-y;
}
#wrap {
background: #ffffff;
color: #303030;
margin: 0 auto;
width: 760px;
}
#header {
margin: 0 auto;
padding: 0px;
height: 0px;
}
#header h1 {
width: 250px;
margin: 0 0 0px 0;
float: left;
}
#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 0px 0;
font-size: 0.8em;
line-height: 1.2em;
}
#frontphoto {
margin: 0 0 0 0;
border: 0;
}
#avmenu {
clear: left;
float: left;
width: 125px;
margin: 0 auto;
padding: 0;
font-size: 0.9em;
}
#avmenu ul {
list-style: none;
width: 150px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}
#avmenu li {
margin-bottom: 4px;
}
/* first level */
#avmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
padding: 6px 0 0 100px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
}
#avmenu li a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
#avmenu li a.menuactive {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
/* second level */
#avmenu li li a {
font-weight: normal;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 24px;
background: #f4f4f4;
border:0;
}
#avmenu li li a:hover {
background: #eaeaea;
color: #286ea0;
border:0;
}
#avmenu li li a.menuactive {
background: #eaeaea;
color: #286ea0;
border:0;
}
/* third level */
#avmenu li li li a {
font-weight: normal;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 34px;
background: #f4f4f4;
border:0;
}
#avmenu li li li a:hover {
background: #eaeaea;
color: #286ea0;
border:0;
}
#avmenu li li li a.menuactive {
background: #eaeaea;
color: #286ea0;
border:0;
}
.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
background-color: #f4f4f4;
line-height: 1.3em;
}
#extras {
float: right;
width: 100px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
line-height: 1.5em;
}
#extras p {
margin: 0 0 1.5em 0;
}
#content {
margin: 0 110px 20px 160px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height: 1.6em;
text-align: left;
}
#content h2 {
font-size: 24px;
color: #069;
margin: 5px 0 5px 0;
font-family: bangle;
}
#content img {
padding: 0px;
display:inline;
background: #cccccc;
border: 4px solid #f0f0f0;
}
h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}
a {
text-decoration: none;
color: #286ea0;
}
a:hover {
text-decoration: underline;
color: #286ea0;
}
a img {
border: 0;
}
#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
border-top: 4px solid #f0f0f0;
width: 760px;
text-align: center;
color: #808080;
font-size: 0.9em;
}
#footer a {
color: #808080;
text-decoration: underline;
}
#footer a:hover {
text-decoration: underline;
color: #ffcc00;
}
.left {
margin: 10px 10px 5px 0;
float: left;
}
.right {
margin: 10px 0 5px 10px;
float: right;
}
.textright {
text-align: right;
}
.center {
text-align: center;
}
.small {
font-size: 0.8em;
}
.bold {
font-weight: bold;
}
.hide {
display: none;
}
/* HORIZ NAV */
* html div#menu_horiz {
/* hide ie/mac \*/
height: 10%;
/* end hide */
}
div#menu_horiz {
background-color: #F7C806;
width: 760px;
margin: 0 none;
text-align: left;
background: #f7c806;
}
div#menu_horiz ul {
margin: 0;
padding: 0;
list-style: none;
border-bottom: 0px solid #C0C0C0;
border-left: 0px solid #C0C0C0;
}
div#menu_horiz li {
display: block;
list-style: none;
margin: 0 ;
border-right: 1px solid #EFAE20;
}
div#menu_horiz li a {
border-right: none;
}
div#menu_horiz a,
div#menu_horiz a:link,
div#menu_horiz a:active,
div#menu_horiz a:visited {
display: block;
padding: 5px 10px;
/* hide from ie/mac \*/
display: block;
/* end hide */
text-decoration: none;
margin: 0;
color: #18507C;
background: #F7C806;
}
div#menu_horiz li a:hover {
background-color: #EFEA20;
}
div#menu_horiz .activeparent {
display: inline-block;
/* hide from ie/mac \*/
display: block;
/* end hide */
background-color: #EFAE20;
}
div#menu_horiz .current a,
div#menu_horiz .current a:link,
div#menu_horiz .current a:active,
div#menu_horiz .current a:visited,
div#menu_horiz .current a:hover,
div#menu_horiz .activeparent a,
div#menu_horiz .activeparent a:link,
div#menu_horiz .activeparent a:active,
div#menu_horiz .activeparent a:visited,
div#menu_horiz .activeparent a:hover
{
background-color: #EFAE20;
}
/* END HORIZ NAV */
/* CALENDER STYLES */
/* make all links red */
.calendar tr td a
{
color: red;
}
/* highlight "today" for the small calendar */
.calendar-today
{
font-weight: bold;
}
/* display the "upcominglist" as one line per entry (assuming table_id='cal-upcominglist') */
#cal-upcominglist .calendar-date-title
,#cal-upcominglist .calendar-summary-title
{
display: none;
}
#cal-upcominglist h2
,#cal-upcominglist .calendar-date
,#cal-upcominglist .calendar-summary
{
display: inline;
margin-right: 5px;
}
/* tidy up text sizes for lists */
#cal-list h1, #cal-upcominglist h1
{
color: red;
font-size: 120%;
}
#cal-list h2, cal-upcominglist h2
{
font-size: 110%;
}
/** large calendar rules (assuming table_id='big') **/
/* border on for #big */
#big{
margin: 5px;
border-collapse: collapse;
border: 0px solid black;
}
/* nice squares for the #big table */
#big th
{
border: 1px solid #999999;
padding: 3px;
width: 75px;
}
#big td {
border: 1px solid #999999;
vertical-align: top;
padding: 3px;
height: 75px;
width: 75px;
}
/* format summaries nicely in #big */
#big ul
{
margin: 0px;
padding: 0px;
padding-left: 5px;
}
#big li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}
/* background colours for #big */
#big td
{
background-color: #f2f2f2;
}
#big .calendar-day
{
background-color: #ffffff;
}
#big .calendar-today
{
font-weight: bold;
background-color: #408CB3;
}
.calendar-event .calendar-date-title,
.calendar-event .calendar-summary-title,
.calendar-event .calendar-details-title
{
display: none;
}