Here you can see a sample CSS file for a theme in its entirety. This contains styling for layouts, borders, general styling as well as optional special styling covered in the
CSS Section
/*=======================
Layout
========================*/
html, body {
height: 100%;
}
body{
color: #383838;
font-size: 12pt;
font-family: "Lucida Grande","Lucida Sans Unicode",Verdana;
margin: 0px;
line-height: 1.8em;
}
#container {
text-align: left;
padding-left: 120px;
padding-right: 120px;
}
/*=======================
Layout: Header
========================*/
#header {
margin-bottom: 20px;
background-image: url(<?=$directory?>images/header/bg.gif);
height:61px;
padding-left: 120px;
}
#footer {
font-size: 10pt;
font-family: Verdana;
clear: both;
padding: 8px;
line-height: 1.2em;
margin-left: 120px;
margin-right: 120px;
border-top: 1px solid #383838;
}
.clear {
clear: both;
}
/*=======================
Layout: Columns1
========================*/
.Columns1 #contents {
margin-left: 17px;
margin-right: 17px;
line-height: 2em;
}
/*=======================
Layout: Columns2
========================*/
.Columns2 #leftbar{
float: left;
width: 300px;
min-height: 100px;
}
.Columns2 #contents{
margin-left: 330px;
line-height: 2em;
}
/*=======================
Layout: Columns2Right
========================*/
.Columns2Right #rightbar{
float: right;
width: 300px;
min-height: 100px;
}
.Columns2Right #contents{
margin-right: 330px;
min-height: 100px;
}
/*=======================
Layout: Columns3
========================*/
.Columns3 #leftbar{
float: left;
width: 250px;
}
.Columns3 #contents{
margin-left: 280px;
margin-right: 280px;
}
.Columns3 #rightbar{
float: right;
width: 250px;
}
/*=======================
Layout: EditAlone
========================*/
.EditAlone #contents {
margin-left: 17px;
margin-right: 17px;
}
/*=======================
Border: 0 (Content Only)
(Must be in every theme)
========================*/
.Border0 {
margin-bottom: 10px;
}
/*=======================
Border: 1 (Plain Title)
========================*/
.Border1 {
margin-top: 6px;
margin-bottom: 10px;
padding: 2px;
}
.Border1 .BorderHeader {
font-family: Verdana, sans-serif;
font-size: 20pt;
font-weight: bold;
margin-bottom: 5px;
color: #5A5A5A;
line-height: 120%;
}
/*=======================
Border: 2, 3, 4 (Round Box)
========================*/
.Border2 {
background-color: #E3F4FF;
border: 1px solid #7ECBFD;
padding: 7px;
margin-bottom: 10px;
}
.Border2 .BorderHeader {
font-size: 120%;
font-weight: bold;
}
/*=======================
Border Samples
========================*/
.border0Sample{
background-image: url(<?=$directory?>borders/images/samples/border0.gif);
}
.border1Sample{
background-image: url(<?=$directory?>borders/images/samples/border1.gif);
}
.border2Sample{
background-image: url(<?=$directory?>borders/images/samples/border2.gif);
}
/*=======================
General
========================*/
a {
text-decoration : none;
color : #0600ee;
}
a:visited {
text-decoration : none;
color : #0600ee;
}
a:active {
text-decoration : none;
color : #0600ee;
}
a:hover {
text-decoration :underline;
color : #0600ee;
}
img {
border: 0;
}
h1,h2,h3,h4 {
padding: 0px;
margin: 0px;
color: #545454;
font-weight: bold;
line-height: 1.8em;
}
h1 {
font-size: 25pt;
font-weight: bold;
color: #000;
}
h2 {
color: #003C7F;
font-size: 18pt;
}
.bbheader {
display: inline;
}
input,textarea,select {
/*color : black;
font-size : 8pt;
font-family : Verdana;
border : 1px solid;
border-color : black;*/
}
.photo {
margin: 4px;
border: 3px solid #E8E8E8;
}
.borderedImage {
margin: 4px;
border: 3px solid #E8E8E8;
}
em {
font-style: italic;
}
ol, ul {
padding-left: 15px;
}
.NavHeader {
padding-left: 14px;
font-weight: bold;
font-size: 16pt;
color: #000;
}
#HelpNav ul{
list-style-type: none;
line-height: 1.6;
}
.Nav0 , .Nav0 a{
font-size: 14pt;
font-weight: bold;
color: #003C7F;
}
.Nav1 , .Nav1 a{
color: #434343;
font-size: 12pt;
font-weight: normal;
}
.Nav2 , .Nav2 a{
font-size: 10pt;
font-weight: normal;
}
.code {
font-family:Consolas,"Courier New",Courier,Monospace;
font-size: small;
line-height: 1.2em;
color: #000;
}
.code pre {
padding: 0px;
}
blockquote {
font-size: 130%;
font-size: normal;
line-height: 1.5em;
font-family: "Times New Roman", serif;
background: transparent url(<?=$directory?>images/quotel.gif) left top no-repeat;
}
blockquote div {
background: transparent url(<?=$directory?>images/quoter.gif) right bottom no-repeat;
padding: 0 48px;
}
/*=======================
Style the navigation bar.
This should be in every theme
========================*/
.navigationContainer {
border-top: 1px solid #E0E0E0;
}
.navigationContainer ul{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Verdana, sans-serif;
font-size: 12pt;
text-align: center;
}
.navigationContainer li {
margin: 0px;
}
.navigationContainer a {
display: block;
padding: 4px;
height: 24px;
background: url(<?=$directory?>images/navback2.gif);
color: #4B4B4B;
}
.navigationContainer ul .active a{
background: url(<?=$directory?>images/navback2over.gif);
}
.navigationContainer a:link, .navigationContainer a:visited{
text-decoration: none;
color: #4B4B4B;
}
.navigationContainer a:hover{
background: url(<?=$directory?>images/navback3over.gif);
}
/*=======================
Site management / edit page links.
(Overrides what is in common.css)
========================*/
/* Site management links */
#SiteManageLinks{
font-size: 10pt;
right: 0px;
top: 0px;
position: absolute;
z-index: 100;
margin:0px;
font-family: "verdana";
text-align: right;
background-image:url(<?=$directory?>images/header/top.gif);
padding-left: 5px;
padding-right: 5px;
color: #EFEFEF;
height: 25px;
}
#SiteManageLinks a {
color: white;
}
#TemplateBar {
padding: 0px;
padding-left: 5px;
padding-right: 5px;
font-size: 10pt;
color: #FFF;
height: 25px;
background: none;
}
/*=======================
Edit Tabs. Shared by most
parts for their edit page. Overrides
the simple tab style in common.css
========================*/
.editTabs {
font-family: verdana;
line-height: 1.6;
}
.editTabsUnderline {
border-top: 1px solid #C4C4C4;
}
.editTabs li a{
color: #3399E7;
background: url(<?=$directory?>/images/tabs/tab2-left.gif) left top no-repeat;
border: 0px solid #fff;
}
.editTabs li a span{
background: url(<?=$directory?>/images/tabs/tab2-right.gif) right top no-repeat;
}
.editTabs li a:hover {
background: url(<?=$directory?>/images/tabs/tab2-left-hover.gif) left top no-repeat;
color: #000;
}
.editTabs li a:hover span {
background: url(<?=$directory?>/images/tabs/tab2-right-hover.gif) right top no-repeat;
}
.editTabs .selected a {
border: 0px solid #fff;
color: #000;
background: url(<?=$directory?>/images/tabs/tab-left.gif) left top no-repeat;
border-bottom: 1px solid #fff;
}
.editTabs .selected a span {
background: url(<?=$directory?>/images/tabs/tab-right.gif) right top no-repeat;
}
.editTabs .selected a, .editTabs .selected a span {
font-weight:bold;
}
.editTabs .selected a:hover {
background: url(<?=$directory?>/images/tabs/tab-left.gif) left top no-repeat;
}
.editTabs .selected a:hover span {
background: url(<?=$directory?>/images/tabs/tab-right.gif) right top no-repeat;
}