CSS guide


/**
 * CSS Guide for Mambo 4.5 templates 
 * @author Wee Keat Chin
 * @url www.visualdensity.com
 * @email weekeat@visualdensity.com
 */


/**
 * General Body Styling
 * --------------------
 * These are normal css setup reccommended for your
 * HTML template although they are not neccessary
 */

body {
margin: 0px 0px 0px 0px;
background-color : #FFFFFF ;
color : #465675;
}

td,tr,p,div {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #333333;
}

h4 {
color: #FF9900; 
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 14px; font-weight: bold;
}

h5 {
color: #FF9900; 
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 13px; font-weight: bold;
}

h6 {
color: #FF9900; 
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 12px; font-weight: bold;
}

a:link, a:visited {
font-size: 11px; 
color: #23598d; 
text-decoration: none;
font-family:  Arial, Verdana, Helvetica, sans-serif;
}

a:hover {
color: #23598d; text-decoration: underline;
}

ul {
margin: 0px 0px 0px 0px;
}

li {
list-style: inside 3px;
}



/**
 * General Mambo Styles
 * --------------------
 * The following are styles that are often used
 * site wide by Mambo to provide better control
 * of content's appearences.
 */

hr { 
/* often used in components like Akobook, and Simpleboard forum
  to define the separator lines */
background: transparent; 
height:1px; 
border: 1px solid #314B77;
}

hr.separator {
/* found this css style in Peekmambo's css style. Still haven't worked out
  if this is a custom style or an in built style. Will update when I find out*/
background: transparent;
height: 1px;
width: 75px;
border: 1px solid #314B77;
}

.pagenavbar { 
/*for some weird reasons, this is not used in page nav, but found it used 
 for nick names in forum threads by Simpleboard */
}

.pagenav {
/* as the name implies, this is for formatting texts for
  those "<< Start < Previous 1 Next > End >>" links */
font-weight: normal;
}

a.pagenav, a.pagenav:visited {
/* same as above, but for links */
font-weight: bold;
color: #343A58;
}

a.pagenav:hover {
/* same as above, but for links with mouse pointer over it */
color: #FF9900;
}

.small {
/* general style for texts when small size fonts are used. In 
  the contents, this style is used for "Written by..." texts */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #343A58;
text-decoration: none;
font-weight: normal;
}

.smalldark {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 10px;
    color: #343A58;
    text-decoration: none;
    font-weight: normal;
    }





/**
 * Mambo Form Styles
 * -----------------
 * Here are 2 styles that Mambo uses to let users control
 * how their forms and buttons may look.
 */

.button {
/* this style applies to most form buttons generated by
  Mambo and its components. Change its format here*/
color: #FFFFFF; 
font-family: Arial, Verdana, Helvetica, sans-serif;
margin-top: 4px;
font-weight: normal;
text-align: center;
font-size: 12px;
background: #94B1CF;
border: 1px solid #000066;
height: 20px;
}

.inputbox {
/* Again, the name implies that this style changes the 
  way those input box looks */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 12px;
color: #343A58;
background: #FFFFFF;
border: 1px solid;
}





/**
 * Mambo Tabbed Frontend Admin Interface
 * -------------------------------------
 * The CSS styles here defines how the frontend admin interface
 * will look like when editing and adding news through frontend.
 */

.ontab {
/* For styling of the "Tab" buttons when editing contents through the frontend
  (when you log in as admin in the frontend). This .ontab is the styling for the
  tab when it is active or after its "clicked" */
background-color: #323A15;
border-left: outset 1px #DCF2FA;
border-right: outset 1px #808080;
border-top: outset 1px #DCF2FA;
border-bottom: solid 1px #d5d5d5;
text-align: center;
font-weight: bold;
color: #FFFFFF;
}
.offtab {
/* Same as above, used for styling of the "Tab" buttons when editing contents through the frontend.
  This .ontab is the styling for the tab when it is NOT active or when it is NOT "clicked" */
background-color : #e5e5e5;
border-left: outset 1px #E0E0E0;
border-right: outset 1px #E0E0E0;
border-top: outset 1px #E0E0E0;
border-bottom: solid 1px #d5d5d5;
text-align: center;
cursor: hand;
font-weight: normal;
}

.tabpadding {
/* this style is used set the size of the tab in 
  in the above */
padding-top: 5px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
}

.tabheading {
/* Not too sure what this is used for. Couldn't find anything
  related to it yet at the moment */
}

.pagetext {
/* this style is used to style the content of the editing form
  contents (where HTMLArea sits and all its forms + contents) in
  the frontend Administration interface */
visibility: hidden;
display: none;
position: relative;
top: 0;
}



/**
 * Mambo Menu Styling
 * ------------
 * You can control the way menu behave and look
 * by using the CSS settings below
 */

a.mainlevel:link, a.mainlevel:visited {
/* this styling is for the MAIN items in the menu */
color: #3D4E6D;
font-weight: bold;
text-decoration:none;
text-align: left;
}

a.mainlevel:hover {
/* same as above, but when hovering */
color: #FF9900; 
font-weight: bold;
text-decoration:none;
text-align: left;
}

a.sublevel:link, a.sublevel:visited {
/* this styling is for menu items that HAS A PARENT */
font-family: Arial, Verdana, Helvetica, sans-serif;
color: #343A58; 
font-weight: normal;
}

a.sublevel:hover {
/* pffff!.. you know this! */
color: #FFFFFF; 
text-decoration: none;
}





/**
 * Mambo General styling for Sections/Categories/Contents
 * ------------------------------------------------------
 * These stylings are either sometimes or often used across
 * Sections, categories and contents. They, therefore, deserves
 * to be mentioned and separated from others.
 */

.createdate {
/* name says it all.. its for styling the date the content/articles are created under 
  contents title */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 9px;
color: #343A58;
text-decoration: none;
font-weight: normal;
}

.modifydate {
/* need me to say? :) Well it styles the "Last updated on" text
  at the end of articles/contents */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #343A58;
text-decoration: none;
font-weight: normal;
}

a.readon:link, a.readon:visited {
/* For formatting the "Read on..." link for blogs and on frontpage. */
color: #23598d; 
text-decoration: none; 
font-family:  Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
}

a.readon:hover {
/* Pfft..! */
color: #23598d; text-decoration: underline;
font-weight: normal;
font-family:  Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
}



No comments:

Post a Comment