@import url(nav.css); @import url(slides.css); /*------------------------------------------------------------------ home.css Project: Harvard homepage site www.harvard.edu IN PRODUCTION Version: 1.0 Last change: 11/14/08Written by: Peggy Bustamante and Max Daniels -------------------------------------------------------------------*/ /*------------------------------------------------------------------ B A S I C -------------------------------------------------------------------*/ body { margin: 0; padding: 0; font-family: Helvetica, Arial, Tahoma, sans-serif; font-size: 100%; line-height: 1.25em; color: #000000; background: #000 url(../images/bg_home1.gif) top center no-repeat; /* rel to stylesheet */ } img {border: none;} ul {margin: 0; padding: 0;} li {margin: 0; padding: 0; list-style-type: none;} a {text-decoration: none;} /*------------------------------------------------------------------ L A Y O U T -------------------------------------------------------------------*/ #content { position: relative; width:960px; font-size: 0.8em; margin: 1.15em auto 0em; padding: 0; } #header { margin: 0em auto 1.25em; padding: 0; /*border: 1px dashed teal;*/ } div#nav { position: absolute; top: 0; right: 0; } #banner { float: left; /*border: 1px solid teal;*/ } #banner h1 { position: absolute; top: -9999px; } #featuredimage { margin-bottom: 25px; padding: 3px; background: #991122; border: 1px solid #991122; /* leave in. layout problem when taken out */ } #featuredimage img { float: left; height: 407px; width: 611px; } #featuredtext { float: right; width: 260px; font-family: Georgia, Utopia, Times, 'Times Roman', 'Times New Roman', Palatino, 'Palatino Linotype', serif; _margin-right:8px; /* IE6 */ margin-top: 30px; margin-right: 17px; margin-bottom: 0; margin-left: 0; /*border: 1px dashed black;*/ } #newssection { margin-bottom: 2.75em; } #newsbox { width:615px; /*height:128px;*/ margin: 0; padding: 0; float:left; background: url(../images/bg_home2.png); /* IE6 can't handle PNG */ _background-image:none; _background-color:#212121; } /* #slides { float: left; width: 615px; height: 128px; } */ #harvardworld { float: right; width: 317px; padding: 0; line-height: 1em; } #footer { margin: 20px auto; padding: 0; /*border: 1px solid teal;*/ } .offset { position: absolute; left: -9999px; } div#skipnav a:focus, div#skipnav a:active { position: relative; top: 100px; left: 10030px; display: block; padding: 15px; width: 15em; z-index: 9; font-size: 1.5em; text-align: center; font-weight: bold; color: #991122; background-color: #fff; filter:alpha(opacity=75); /* CSS3 standard */ opacity:0.75; } /*------------------------------------------------------------------ T Y P O G R A P H Y & D E S I G N-------------------------------------------------------------------*/ em {font-style: italic;}strong {font-weight: bold; font-style: normal;} /* B A N N E R */ #banner img { float: left; } #banner h1 { margin-left: -9999px; font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif; /* font-size: 16px; letter-spacing: .27em; color: white; padding: 6px ; margin-left: 33px; font-weight: lighter; */ } /* F E A T U R E D I M A G E */ #featuredtext h3 { font-weight: bold; width: 286px; font-size: 1.6125em; color: #FFF; margin-top: 0; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid #cc6666; } #featuredtext p { margin-top: 1em; margin-bottom: 0.5em; font-size: 1.15em; line-height: 1.533em; color: white; } #featuredtext a { text-decoration: none; font-weight: bold; color: #000000; } #featuredtext a:hover, #featuredtext a:active { text-decoration: none; border-bottom: 1px dotted #000000; color: #000000; } /* N E W S S E C T I O N */ #newsbox h2 a { color: #bbb; } #newsbox h2 a:hover, #newsbox h2 a:active { text-decoration: none; /*background: #991122;*/ /*font-weight: bold;*/ color: #dd3344; } /* Harvard in the World */ #harvardworld h4 { font-size: 0.8em; letter-spacing: .125em; margin-top: 0; margin-bottom: 0.8em; font-weight: normal; } #harvardworld li { border: 1px solid #666; margin-top: -1px; /* gets rid of double thickness */ } #harvardworld li a { display: block; padding: 0.5em 0.8em 0.5em 0.8em; color: #dd3344; background: #000; /*font-weight: normal;*/ /*padding-bottom: 4px;*/ } #harvardworld a { text-decoration: none; font-weight: bold; color: #dd3344; } #harvardworld a:hover, #harvardworld a:active { text-decoration: none; background: #991122; font-weight: bold; color: #ffffff; } #font4 { font-size:12px; font-weight: bold; color:#000000 } /* F O O T E R */ #footer { font-size: .75em; font-weight: bold; text-align: center; clear:both; } #footer a { text-decoration: none; color: #dd3344; } #footer a:hover, #footer a:active { text-decoration: none; border-bottom: 1px dotted #ffffff; color: #ffffff; } #footer span { padding-left: 0.5em; padding-right: 0.5em; } /*------------------------------------------------------------------ M A R K U P - F R E E C L E A R I N G from http://www.positioniseverything.net/easyclearing.html -------------------------------------------------------------------*/ div#header:after, div#newssection:after, div.news-header:after, div.slide:after, div#featuredimage:after, div.page-content:after, div.page-content .content:after, div.page-nav:after, #faq ul li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } /* IE6; hides from IE-mac \*/ * html div#header, * html div#newssection, * html div.news-header, * html div.slide, * html div#featuredimage, * html div.page-content, * html div.page-content .content, * html div.page-nav, * html #faq ul li { height: 1%; } /* End hide from IE-mac */ /* finally, for IE7 */ *:first-child+html div#header, *:first-child+html div#newssection, *:first-child+html div.news-header, *:first-child+html div.slide, *:first-child+html div#featuredimage, *:first-child+html div.page-content, *:first-child+html div.page-content .content, *:first-child+html div.page-nav, *:first-child+html #faq ul li { min-height: 1px; }