/* $Id: layout-fixed.css,v 1.5.2.3 2009/02/13 19:20:19 johnalbin Exp $ */ /* * LAYOUT STYLES * * Define CSS classes to create a table-free, 3-column, 2-column, or single * column layout depending on whether blocks are enabled in the left or right * columns. * * This layout is based on the Zen Columns layout method. * http://drupal.org/node/201428 * * Only CSS that affects the layout (positioning) of major elements should be * listed here. Such as: * display, position, float, clear, width, height, min-width, min-height * margin, border, padding, overflow */ /** body **/ body { padding: 0px; margin: 0px; border: 0px; /* background-color: #7A96DF; */ } #page, #closure-blocks { /* * If you want to make the page a fixed width and centered in the viewport, * this is the standards-compliant way to do that. See also the ie.css file * for the necessary IE5 hack to center a div. */ margin-left: auto; margin-right: auto; width: 960px; padding: 0px; border-left: 0px solid black; border-right: 0px solid black; } #page-inner { background: #ffffff url(images/innerwrap.gif) repeat-y repeat-x; } #navigation-top, #navigation { position: absolute; /* Take the named anchors out of the doc flow */ left: -10000px; /* and prevent any anchor styles from appearing. */ } #skip-to-nav { float: right; margin: 0 !important; font-size: 0.8em; display: none; } #skip-to-nav a:link, #skip-to-nav a:visited { color: #fff; /* Same as background color of page */ } #skip-to-nav a:hover { color: #000; text-decoration: none; } /* Alternatively, the skip-to-nav link can be completely hidden until a user tabs to the link. Un-comment the following CSS to use this technique. */ /* #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited { position: absolute; left: 0; top: -500px; width: 1px; height: 1px; overflow: hidden; } #skip-to-nav a:active, #skip-to-nav a:focus { position: static; width: auto; height: auto; } */ /** header **/ #header { } #head-image { padding-top: 0px; } #header-inner { } #logo-title { } #logo { float: left; display: none; } #site-name { display: none; } #site-slogan { } #header-blocks { clear: both; /* Clear the logo */ } /** main (container for everything else) **/ #main { position: relative; } #main-inner { background: #ffffff url(images/innerwrap.gif) repeat-y repeat-x; } /** content **/ #content, #content-bottom, .no-sidebars #content { float: left; width: 960px; margin-left: 0; margin-right: -960px; /* Negative value of #content's width + left margin. */ padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */ } .sidebar-left #content { width: 760px; margin-left: 200px; /* The width of #sidebar-left. */ margin-right: -960px; /* Negative value of #content's width + left margin. */ } .sidebar-right #content-bottom, .sidebar-right #content { width: 600px; margin-left: 10px; margin-right: -560px; /* Negative value of #content's width + left margin. */ } .two-sidebars #content { width: 500px; margin-left: 200px; /* The width of #sidebar-left */ margin-right: -700px; /* Negative value of #content's width + left margin. */ } .two-sidebars.logged-in #content { width: 500px; margin-left: 175px; /* The width of #sidebar-left */ margin-right: -725px; /* Negative value of #content's width + left margin. */ } #content-inner { margin: 5px; padding: 0px 0px; /* background-color: white; background: #ffffff url(images/innerwrap.gif) top right repeat-y; */ font-family: Georgia, "Times New Roman", "Bitstream Vera Serif", serif; width: 44em; } .no-sidebars #content-inner { padding-left: 3em; width: 65em; } #content-inner a { color: #000; text-decoration: none; } #content-inner a:hover { color: #000; text-decoration: underline; } /** navbar **/ #navbar { font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; float: left; width: 100%; border-top: 1px solid #999; border-bottom: 1px solid #999; margin-top: -4px; margin-left: 0px; background-color: #C9CFC2; margin-right: -1010px; /* Negative value of #navbar's width + left margin. */ padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */ height: 2.6em; /* The navbar can have any arbritrary height. We picked one that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6 Set this to the same value as the margin-top below. */ } .sidebar-right #navbar { margin-left: -50px; font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; } .sidebar-right { font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; } .sidebar-left #navbar { margin-left: 0px; } .with-navbar #content, .with-navbar #sidebar-left, .with-navbar #sidebar-right { margin-top: 2.6em; /* Set this to the same value as the navbar height above. */ } #navbar-inner { } /* #search-box { width: 200px; margin-right: -200px; /* Negative value of #search-box's width. */ float: left; } */ .search-box { float: right; margin-bottom: 0; overflow: visible; width: auto; } .search-box-inner { float: right; width: 232px; } .search-box-inner form#search-theme-form { background: url(../images/search-bg.png) no-repeat top center; height: 35px; position: absolute; right: 0; top: 5px; width: 232px; z-index: 10; } .search-box-inner #search-input { padding: 8px 0 0 10px; } .search-box-inner input#edit-search-theme-form-header { background: none; border: none; color: #333; float: left; margin: 0; padding: 0; width: 185px; } .search-box-inner .searchButtonPng { margin: -1px 0 0 10px; padding: 0; } .search-box-inner #search-input input { margin: 2px 0 0 0; } #primary { margin-left: 0px; /* Width of search-box */ } #secondary { margin-left: 200px; /* Width of search-box */ } #navbar ul /* Primary and secondary links */ { margin: 0; padding: 8px 0px 0px 20px; text-align: left; font-size: 110%; } #navbar ul a:hover { text-decoration: underline; } #navbar li /* A simple method to get navbar links to appear in one line. */ { float: left; padding: 0 10px 0 0; } #navbar li + li { border-left: 1px solid black; padding-left: 10px; } /** sidebar-left **/ #sidebar-left { float: left; width: 200px; margin-left: 5px; margin-right: -200px; /* Negative value of #sidebar-left's width + left margin. */ padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */ } .logged-in #sidebar-left { width: 175px; } #sidebar-left-inner { margin: 0 20px 0 0; padding: 0; } /** sidebar-right **/ #sidebar-right { float: left; width: 270px; margin-left: 600px; /* Width of content + sidebar-left. */ margin-right: -980px; /* Negative value of #sidebar-right's width + left margin. */ padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */ } /* .logged-in #sidebar-right { margin-left: 653px; } */ #sidebar-right-inner { margin: 0 0 0 20px; padding: 0; } /** footer **/ #footer { background-color: #C9CFC2; height: 20px; padding-top: 5px; padding-bottom: 2px; border-top: 1px solid #999; } #footer-inner div { display: inline; } #footer-inner span#hebdate { float: right; padding-right: 3em; } /** closure **/ #closure-blocks /* See also the #page declaration above that this div shares. */ { } /** Prevent overflowing content **/ #header, #content, #navbar, #sidebar-left, #sidebar-right, #footer, #closure-blocks { overflow: visible; word-wrap: break-word; /* A very nice CSS3 property */ } #navbar { overflow: visible; /* May need to be removed if using a dynamic drop-down menu */ } /* If a div.clear-block doesn't have any content after it and its bottom edge touches the bottom of the viewport, Firefox and Safari will mistakenly place several pixels worth of space between the bottom of the div and the bottom of the viewport. Uncomment this CSS property to fix this. Note: with some over-large content, this property might cause scrollbars to appear on the #page div. */ /* #page { overflow-y: hidden; } */ /*** Settings for schedule sidebar (placeholder) ***/ div#holidays { margin-top: -2em; } #placeholder { width: 286px; } div#holidays { text-align: center; margin-left: 0px; padding: 0px 0px 0px 0px; width: 286px; line-height: .75em; } div#holidays table { width: 291px; } #holidays tr > td { text-align: right; } #holidays tr td + td { text-align: left; padding-left: 5px; } td#holsp { padding-left: 00px; } #skip-to-nav { display: hidden; } h4.title { display: inline; font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; } table.tableSelect-processed { width: 100% } .posted-by { padding-left: 3em; font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; font-style: italic; color: #BFBFBF } span.posted-by-date { padding-left: 1em; } /*** Settings for custom mobile page ***/ body.page-indexm-shtml, body.page-indexm-shtml .sidebar-right #content, body.page-indexm-shtml #page { background: transparent; background-color: #fff; width: 300px; padding: 0px; margin: 0px; } body.page-indexm-shtml #content { width: 300px; } body.page-indexm-shtml td#holsp { padding-left: 0px; } body.page-indexm-shtml div#holidays { text-align: center; margin-left: 0px; padding: 0px 0px 0px 0px; width: 286px; line-height: .75em; } body.page-indexm-shtml td#holsp h4 { margin-left: 0px; padding-left: 0px; } #holidays tr > td#holsp { text-align: center; } .two-sidebars #sidebar-right .title, #sidebar-right .title, #content-area .title { background:url("images/bg-shade-light.png") repeat-x scroll left bottom #FFFFFF; color:#777777; clear: both; display:block; letter-spacing:normal; padding:5px 10px 2px 10px; text-align:left; } h4 #collapsibutton2 .title { padding-right: 5px; } .content h4.title:before { content: url("images/rt-pointer.png"); } .content h4.visible:before { content: url("images/dn-pointer.png"); } .not-logged-in.page-node-61.node-type-page #main-inner div.content { padding: 0 200px; } .not-logged-in.page-node-61.node-type-page div#content-header { padding-left: 200px; } #block-nice_menus-1 h2, .nice-menu-hide-title { display: none; } .block #nice-menu-1 { margin: -4px 0 4px 0; padding: 0; } .feed-icon { float: right; padding-right: 5px; }