PHP Classes

File: docs/media/reset.css

Recommend this page to a friend!
  Classes of Stefan Gabos  >  Zebra MPTT  >  docs/media/reset.css  >  Download  
File: docs/media/reset.css
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Zebra MPTT
Store a tree using the MPTT algorithm in MySQL
Author: By
Last change:
Date: 3 years ago
Size: 3,203 bytes
 

Contents

Class file image Download
/* = GENERAL RESETS AND BASIC INITIALIZATIONS
----------------------------------------------------------------------------------------------------------------------*/
/* transform the font size so that 1em is 10px so that you can use em's
but think in pixels as now 1em is 10px, 1.2em is 12px and so on */
html { font-size: 62.5%; height: 100%; }

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, aabbr, acronym, address,
big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i,
center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {

    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    font-size: 100%;
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;

}

a, blockquote, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, img, input, label, li, ol, p, pre, span, table, ul {

    position: relative

}

body {

    text-align: center; /*  this is for IE6 so that it will center the main wrapper */
    line-height: 1.5;    /*  unit-less line-height does not inherit a percentage value of its parent element,
                            but instead is based on a multiplier of the font-size */
    height: 100%;
}

/* = FONT STACKS
----------------------------------------------------------------------------------------------------------------------*/

/*body    { font-family: Geneva, 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif } /* "wide" sans serif */
body    { font-family: Tahoma, Arial, Helvetica, sans-serif } /* "narrow" sans serif */
/*body    { font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif } /* "wide" serif */
/*body    { font-family: 'Times New Roman', Times, serif } /* "narrow" serif */

h1, h2, h3, h4, h5, h6 { font-weight: normal; margin: 0 0 1em; line-height: 1.2 }

/* set default body font size. declarations that follow, are percentual relative to this */
body,
p       { font-size: 100% }
h1      { font-size: 200% }
h2      { font-size: 180% }
h3      { font-size: 150% }
h4      { font-size: 110%; font-weight: 600 }
h5      { font-size: 120% }
h6      { font-size: 100% }

small,
sup,
sub     { font-size: 70% }

p small   { display: block; line-height: 1 }

p, ul, ol, dl, dd, pre { margin: 0 0 1em }

strong, b, dt { font-weight: 600 }
em, i { font-style: italic }

/* = CLEARFIX
----------------------------------------------------------------------------------------------------------------------*/
.clearfix { *zoom: 1 }
.clearfix:after { content: ""; display: block; clear: both; visibility: hidden; font-size: 0; height: 0 }

/* = TABLES
----------------------------------------------------------------------------------------------------------------------*/
table {

    border-collapse: collapse;
    border-spacing: 0;
    /* tables still need cellspacing="0" */

}

/* = LISTS
----------------------------------------------------------------------------------------------------------------------*/
ul, ol          { list-style-type: disc; margin-left: 1.2em }
ul.float li ,
ol.float li {
    float: left;
}
For more information send a message to info at phpclasses dot org.