Connexion
One Laptop per Child Logo
Google Search
Google

[Accueil :: Mor.pho.GEN.e.sis :: Mor.pho.GEN.e.sis - Master Code Révision 2.0 :: Cette page]

Code style.css

/* Thanks to Snow77, Skalpa and Leostotch for the initial work, Dugris for help */
/* Mor.pho.GEN.e.sis version 2.0 by kris (http://www.xoofoo.org and http://www.frxoops.org) */
/* file name : style.css (version 2.0) - 22 mai 2007 */

@import url(forms.css);
@import url(blocks.css);
@import url(content.css);

* { margin: 0; padding: 0; border: none; outline: none; text-decoration: none;}

html, body {
margin: 0;
padding: 0 10px;
color: #fff;
background-color: #000;
font-family: "Lucida Grande", Verdana, sans-serif;
font-size: 10pt;
}
table { width: 100%;}
table td {
padding: 0;
border-width: 0;
vertical-align: top;
}
/* ======= encapsulage du thème dans le body ======= */
#xo-wrapper {}
#xo-bgstatic {}
#xo-canvas {
margin: 0;
color: #333;
background-color: #fff;
}
body.theme-dialog #xo-canvas {
margin: 0 6px;
}
/*================= Zone de contenu ===================*/
#xo-canvas-content {
padding: 12px;
color: #666;
background-color: #c6c7c9;
}
#xo-page {
color: #666;
background-color: #fff;
border-width: 1px 2px 1px 1px;
border-style: solid;
border-color: #b6b7b8;
}
#xo-canvas-rightcolumn {padding: .5em;}
#xo-content {
clear: both;
margin: 0;
padding: .5em;
color: #333;
background-color: #fff;
}
#xo-uptop {
margin: 0;
padding-top: 5px;
font-size: .9em;
text-align: right;
}
#xo-uptop a {
color: #32529C;
background-color: transparent;
}
#xo-uptop a:hover {
color: #EAAD7B;
background-color: inherit;
}
#xo-logger-output { font-size: .8em;}
/* ============== header ================= */
#xo-header {}
#xo-top {
height: 32px;
color: #333;
background-color: #E2E2E2;
}
/* ---------- Bannières ---------- */
#xo-banner {
/*color: #666;*/
clear: both;
position: relative;
z-index: 100;
width: 100%;
height: 80px;
background-color: #E9E9E9;
}
#xo-banner.commercial {
height: 100px;
}
body.theme-dialog #xo-banner {
padding-top: 6px;
padding-left: 10px;
height: 48px;
}
#xo-banner-ad {
position: absolute;
top: 15px;
right: 60px;
}
#xo-banner-ad object, #xo-banner-ad img {
display: block;
}
/*---------------------- Nom du site dans le header ----------------------------*/
#xo-site-title {
position: relative;
top: 10px;
padding: 10px 0 0 20px;
background-color: transparent;
font-family: "Lucida Grande","Trebuchet MS", Verdana, sans-serif;
font-size: 2.2em;
font-weight: bold;
}
a#xo-site-title {
color: #EAAD7B;
background-color: transparent;
}
a:hover#xo-site-title {
color: #fff;
background-color: inherit;
}
#xo-site-title.commercial {
margin: 0 20px;
padding: 10px 0 0 0px;
}
#xo-site-title .commercial a:hover {
color: #EAAD7B;
background-color: inherit;
}
/*----------------------- titre du slogan du site dans le header ------------------------*/
#xo-site-slogan {
position: relative;
top: 10px;
padding-left: 70px;
color: #666;
background-color: transparent;
font-style: italic;
}
#xo-site-slogan.commercial {}
/*------------------------ Affichage du logo ----------------------------*/
#xo-main-logo {
position: relative;
top: 15px;
padding-left: 10px;
color: #666;
background: transparent;
}
#xo-main-logo.commercial {}
/*-------- Affichage des champs de saisie dans le header-----------*/
#xo-banner form {
display: inline;
margin: 0;
}
#xo-banner input {
margin: 0px 0px 0px 2px;
width: 8em;
color: #333;
background-color: #E2E2E2;
}
#xo-userbar input:hover {
color: #333;
background-color: #DBDCDC;
}
/*============== Styles pour l'include userbar.html =================*/
#xo-userbar {
display: block;
float: right;
padding-top: 2px;
padding-right: 1em;
color: #666;
background-color: transparent;
}
#xo-userbar form {
display: inline;
padding: 0;
}
#xo-userbar button {
margin: 0 -3px;
padding: 0;
background: transparent none;
border: none;
}
#xo-userbar button img {
width: 22px;
height: 22px;
}
#xo-userbar button:hover {
border: 0 !important;
}
#xo-userbar img {
width: 22px;
height: 22px;
}
#xo-userbar input {
width: 80px;
color: #333;
background-color: #c6c7c9;
}

#xo-userbar a {
color: #32529C;
background-color: inherit;
text-decoration: none;
}
#xo-userbar a:hover {
color: #EAAD7B;
background-color: inherit;
}
#xo-uname {
color: #32529C;
background-color: transparent;
font-size: 1.1em;
font-weight: bold;
}
/*============== Styles pour l'include searchbar.html =================*/
#xo-searchbar {
display: block;
float: left;
margin-top: 5px;
margin-left : 1em;
}
#xo-searchbar button {
margin-left: 5px;
padding: 0 2px 2px 2px;
}
#xo-searchbar input[type=text]{
color: #333;
background-color: #c6c7c9;
}
#xo-searchbar input[type=text]:hover {
color: #333;
background-color: transparent;
}
/*------------------- Affichage des drapeaux de langues ----------------*/
#xo-language {
display: block;
float: left;
margin-top : 5px;
padding-left: 1em;
color: #666;
background-color: transparent;
}
#xo-language img{
width: 22px;
height: 22px;
}
/*============= Style pour l'include globalnav.html ================*/
#xo-globalnav {
margin: 0px;
padding: 2px 45px 0;
min-height: 20px;
color: #32529C;
background-color: #E2E2E2;
list-style-type: none;
font-size: 1.1em;
font-weight: bold;
}

  • html #xo-globalnav { height: 20px; }

  • #xo-globalnav .x2-label {
    display: none;
    }
    #xo-globalnav li {
    display: inline;
    margin: 0;
    padding-left: .5em;
    padding-right: .5em;
    font-size: .9em;
    }
    #xo-globalnav a {
    color: #32529C;
    background-color: inherit;
    text-decoration: none;
    }
    #xo-globalnav a:hover {
    color: #EAAD7B;
    background-color: inherit;
    text-decoration: none;
    }
    /*=============== Affichage Pied de page - Footer ====================*/
    #xo-footer {
    margin: 0;
    padding: .5em;
    height: 30px;
    color: #ccc;
    background-color: #666;
    font-size: .8em;
    }
    body.theme-dialog #xo-footer { padding: .2em .5em; font-size: .8em;}
    #xo-footer a {
    color: #ccc;
    background-color: inherit;
    text-decoration: none;
    }
    #xo-footer a:hover {
    color: #fff;
    background-color: inherit;
    text-decoration: underline;
    }
    #xo-footer .validw3c {
    position: relative;
    display: block;
    float: left;
    top : 1px;
    right: 2px;
    background-color: transparent;
    }
    #xo-footer .copyright {
    position: absolute;
    margin: 4px 100px;
    background-color: transparent;
    font-size: 0.9em;
    line-height: 15px;
    font-weight: normal;
    text-decoration: none;
    }
    #xo-footer .design {
    position: relative;
    float: right;
    top: 4px;
    right : 15px;
    background-color: transparent;
    font-size: 0.9em;
    line-height: 15px;
    font-weight: normal;
    text-decoration: none;
    }
    #xo-footer .rss {
    position: relative;
    display: block;
    float: right;
    top : 4px;
    right: 2px;
    background-color: transparent;
    }
    #xo-footer .rss a:hover { text-decoration: none;}
    /*========== Menu principal dans bloc =============*/
    #mainmenu a {
    display: block;
    margin: 0;
    padding: 1px;
    font-weight: 500;
    }
    #mainmenu a:hover {
    text-decoration: none !important;
    }
    #mainmenu a.menuTop, #mainmenu a.menuMain {padding-left: 8px; }
    #mainmenu a.menuSub {
    padding-left: 20px;
    color: #fff;
    background-color: inherit;
    font-size: .8em;
    font-style: italic;
    }
    #mainmenu a.menuSub:hover {
    color: #32529C;
    background-color: inherit;
    }

    /*============ Menu utilisateur dans bloc ============*/
    #usermenu a {
    display: block;
    margin: 0;
    padding: 2px;
    color: #32529C;
    background-color: inherit;
    font-weight: normal;
    font-size: 0.8em;
    line-height: 1em;
    }
    #usermenu a:hover {
    padding-left: 3em;
    color: #666;
    background-color: inherit;
    font-style: italic;
    text-decoration: none !important;
    border-left: 1px solid #666;
    border-bottom: 1px solid #666;
    }
    #usermenu a.menuTop {}
    #usermenu a.highlight {
    color: #ccc;
    background-color: #333;
    }

    /*=========== Règles nécessaires pour les anciens templates des modules ============*/
    #usermenu a, #mainmenu a { display: block;}
    .xo-canvas-column .menuSub { padding-left: 1em;}

    /*============== Styles pour system_siteclosed.html =================*/
    #xo-siteclose {
    margin: 50px;
    padding: 30px;
    width: 400px;
    color: #000;
    background-color: #e2e2e2;
    border: 1px solid #7d7d7d;
    font-size: 1.2em;
    font-weight: bold;
    }
    /*============== Styles pour system_redirect.html =================*/
    #xo-redirect {
    width: 780px;
    margin: 50px auto;
    padding: 1em;
    text-align: center;
    font-weight: bold;
    }

    #xo-redirect .notreload {
    padding-top: 2px;
    height: 28px;
    color: #fff;
    background-color: inherit;
    }

    #xo-redirect .notreload a {
    color: #cc0000;
    background-color: transparent;
    font-weight: bold;
    text-decoration: none;
    }

    #xo-redirect .message {
    padding: 1em;
    min-height: 60px;
    color: #333;
    background-color: #f3f3f3;
    border: solid 1px #546f90;
    font-size: 1.2em;
    text-align: center;
    }
    #xo-redirect .message img{
    padding: 1em;
    }

    mis à jour le : 26.05.07 par kris