Css Common
/* --------------------------------------------------------------
 
This CSS extends Wikidot's built-in style "Flannel Nature" for a
customized look for HYEC website.
 
Author:       Doan Nhu Tung
Last updated: 19 Feb 2009
 
--------- CONTENTS ----------------------------------------------
 
1. BODY AND UNIVERSAL RESET
 
2. PAGE STRUCTURE
    a) Containers
    b) Header
    c) Main content
    d) Side-bar
    e) Text headings
    f) Body
    g) Footer
    h) User-defined div's
 
3. GLOBAL NAVIGATION
    a) Top navigation
    b) User box
    c) Search box
 
4. WIDGETS
    a) Tab set
 
----------------------------------------------------------------*/
 
/* 1. BODY AND UNIVERSAL RESET
================================================================*/
 
body
{
    font-family: arial,helvetica,sans-serif;
    font-size: 82%;
    line-height: 1.5em;
    background-color: #8a8a8a;
}
 
a{
    color: #006600;    
}
 
/* 2. PAGE STRUCTURE
================================================================*/
 
/* a) Containers:
----------------------------------------------------------------*/
 
#container-wrap{
    padding: 0 0 0 35px;
    background-image: url(/local--files/special:graphics/sideback-l.png);
    background-repeat: repeat-y;
    background-position: top left;
    background-color: white;
    width: 915px;
    margin-left: auto;
    margin-right: auto;
}
 
#container {
    padding: 0 35px 0 0;
    background-image: url(/local--files/special:graphics/sideback-r.png);
    background-repeat: repeat-y;
    background-position: top right;
}
 
/* b) Header
----------------------------------------------------------------*/
 
#header{
    height: 120px;
    background-image: none;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-bottom-color: #044004;
}
 
#header-extra-div-1{
    display: none;
}
 
#header h1 a span{
    display:none;
}
 
#header h2{
    display:none;
}
 
#header h1 a,#header h1 a:hover{
    display: block;
    margin: 0; padding:0;
    background-image: url(/local--files/special:graphics/hyec-logo-beta.jpg);
    height: 80px;
    width: 225px;
    position: absolute;
    bottom: 20px; left: 25px;
}
 
/* c) Main content
----------------------------------------------------------------*/
#content-wrap{
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}
 
#main-content{
    background-color: #ffffff;
    margin: 0;
    padding: 25px 35px 20px 35px;
    min-height: 870px;
}
 
/* d) Side bar
----------------------------------------------------------------*/
#side-bar{
    width: 260px;
    float: right;
    margin: 35px 0px 0px 0px;
    padding: 0px 20px 0px 20px;
    border: 0px;
    background-color: #ffffff;
}
 
#side-bar a:hover{
    background-color: #EEE;
}
 
/* e) Text headings
----------------------------------------------------------------*/
 
#page-title, h1, h2, h3, h4, h5, h6{
    font-family: arial, helvetica, sans-serif;
}
 
h1, h2, #page-title{
    color: #005500;
}
 
#page-title{
    font-size: 2.2em;
    font-style: normal;
    font-weight: normal;
    line-height: 1.4em;
}
 
h1{
    font-size: 1.8em;
    font-weight: normal;
    line-height: 1.2em;
    margin-top: 1.6em;
}
 
h2{
    font-weight: normal;
    font-size: 1.6em;
}
 
h3{
    font-weight: bold;
    font-size: 1.2em;
}
 
h4{
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: -0.5em;
}
 
h5{
    font-weight: normal;
    font-size: 1.4em;
    line-height: 1.4em;
    color: #f87431;
}
 
h6{
    font-weight: normal;
    font-size: 1.4em;
    line-height: 1.4em;
}
 
/* f) Body
----------------------------------------------------------------*/
 
blockquote{
    border-style: none;
    border-left: 2px solid #005500;
    padding: 1px 3em;
    background-color: #f8f8ff;
    background-image: url(/local--files/special:graphics/blockquote.png);
    background-repeat: no-repeat;
    background-position: top left;
}
 
/* g) Footer
----------------------------------------------------------------*/
 
/* h) User-defined div's
----------------------------------------------------------------*/
 
.right-side-bar{
    float: right;
    width: 230px;
    padding: 1em 10px 1em 10px;
}
 
.text-1-column{
    float: left;
    width: 520px;
    padding: 1em 20px 1em 0px;
    margin-right: 19px;
}
 
.text-2-columns{
    float: left;
    width: 240px;
    padding: 0px 20px 0px 0px;
    margin-right: 19px;
}
 
.notice{
    margin: 1.5em 3em;
    border-style: none;
    border-top: 2px solid #FF8C00;
    border-bottom: 2px solid #FF8C00;
    padding: 1px 3em;
    background-color: #f8f8ff;
    background-image: url(/local--files/special:graphics/notice.png);
    background-repeat: no-repeat;
    background-position: top left;
}
 
.infobox{
    margin: 1.5em 3em;
    border-style: none;
    border-top: 2px solid #005500;
    border-bottom: 2px solid #005500;
    padding: 1px 3em;
    background-color: #f8f8ff;
    background-image: url(/local--files/special:graphics/info.png);
    background-repeat: no-repeat;
    background-position: top left;
}
 
/* 3. GLOBAL NAVIGATION
================================================================*/
 
/* a) Top navigation
----------------------------------------------------------------*/
 
#top-bar{
    position: absolute;
    right: 0em;
    bottom: 0px;
    z-index:0;
}
 
#top-bar ul{
    display: block;
    margin:0; padding:0;
    list-style:none;
}
#top-bar li{
    list-style: none;
    float:left;
    margin: 0;
    padding:0;
 
}
#top-bar li ul{
    padding: 0;
    margin: 0;
    width: 17em;
    border: 1px;
    border-style: solid;
    border-color: #2f8928;
}
 
#top-bar  li ul li{
    padding: 0;
    margin: 0;
    width: 15em;
    display: block;
    float: none;
}
 
#top-bar li a{
    text-align: center;
    display: block;
    margin: 0;
    padding: 1px 1em;
    text-decoration: none;
    color: #104d10;
}
 
#top-bar a:hover {
    color:#fff;
    background-color: #2f8928;
    text-decoration: none;
}        
 
#top-bar li ul li a{
    width: 15em;
    text-align: left;
    background-color: #ffffff;
    border: none;
}
#top-bar li ul li a:hover{
 
}
 
#top-bar li ul {
    position: absolute;
    /*left: -999em;*/
    visibility: hidden;
}
 
#top-bar li:hover ul, #top-bar li.sfhover ul {
    /*left: auto;*/
    visibility: visible;
}
 
/* b) User box
----------------------------------------------------------------*/
 
#login-status{
    right: 1.2em;
    width: 25em;
    text-align: right;
    color: #104d10;
}
 
#login-status a{
    color: #104d10;
}
 
#login-status a:hover{
    color: #ffffff;
}
 
#account-options{
    text-align:left;
}
 
/* c) Search box
----------------------------------------------------------------*/
 
#search-top-box{
    top: 3.5em;
}
 
/* 4. WIDGETS
================================================================*/
 
/* a) Tab set
----------------------------------------------------------------*/
 
.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav { /* protect nested tabviews from other orientations */
    border:solid #DEF2BB; /* color between tab list and content */
    border-width:0 0 3px;
    Xposition:relative;
    zoom:1;
}
 
.yui-navset .yui-nav a,
.yui-navset .yui-navset-top .yui-nav a {
    background:#fff; /* unselected tab background */
    border:solid #DEF2BB; /* unselected tab side border */
    border-width: 1px;
    color:#005500; /* unselected tab text color */
    position:relative;
    text-decoration:none;
    font-weight: bold;
}
 
.yui-navset .yui-nav a em,
.yui-navset .yui-navset-top .yui-nav a em {
    border:solid #DEF2BB; /* unselected tab top border */
    border-width: 1px 0px 0px 0px;
}
 
.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav .selected a:focus, /* no focus effect for selected */
.yui-navset .yui-nav .selected a:hover { /* no hover effect for selected */
    background:#DEF2BB; /* selected tab background */
    color:#005500; /* selected tab text color */
    font-weight: bold;
}
 
.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav .selected a em {
    border-color:#DEF2BB; /* selected tab border color */
}
 
.yui-navset .yui-nav a:hover,
.yui-navset .yui-nav a:focus {
    background:#DEF2BB; /* hover tab background */
    outline:0;
}
 
.yui-navset .yui-content {
    background:#fff; /* content background color */
}
 
.yui-navset .yui-content,
.yui-navset .yui-navset-top .yui-content {
    border:1px solid #DEF2BB; /* content border */
    border-top-color:#DEF2BB; /* different border color */
    padding: 1.25em 1em; /* content padding */
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License