My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
SamplePage  

Phase-Support
Updated Jul 7, 2009 by pierre.c...@gmail.com

File site.css

@color_headers:#c6c6c6;
@color_text:#fff;
@color_links:#fff;
@color_holinks:#c6c6c6;
@font_family:Helvetica, Arial, sans-serif;
@page_width:834px;

/*= BODY */
body {background:#000;color:@color_text;font-family:@font_family;}
a, a:link, a:visited {color:@color_links;}
a:hover {color:@color_holinks;text-decoration:none;}
h1, h2, h3, h4, h5, strong, em {color:@color_headers;font-family:@font_family;}

#b-body-wrapper {width:@page_width;margin:0 auto;}

@inc(/css/home.css);

File home.css

@b_nav_height:18px;
@b_nav_font_size:10px;
@b_nav_padding:4px;
@b_anime_height:253px;

body#t-index #b-body-wrapper {min-height:@eval(@b_nav_height+@b_anime_height)px;min-width:@eval(@page_width+20px);width:@page_width;height:@eval(@b_nav_height+@b_anime_height)px;position:absolute;top:50%;left:50%;margin:-@eval((@b_nav_height+@b_anime_height)/2)px 0 0 -@eval(@page_width/2)px;}

#b-brand {position:absolute;top:@eval(4px+@b_nav_height)px;left:459px;}
#b-brand h1 {width:370px;height:253px;}
#b-brand h1 a {}
#b-brand h1 a span {background:url(images/site1.jpg) no-repeat -459px -4px;}


#b-nav {height:@b_nav_height;width:200px;position:relative;font-size:@b_nav_font_size;overflow:hidden;}
#b-nav li {float:left;padding:@b_nav_padding 10px @b_nav_padding 0;}
#b-nav li a {text-decoration:none;}
#b-nav #m-accueil {}
#b-nav #m-book {}
#b-nav #m-contact {}


#b-pictures {}
#b-pictures h2 {width:399px;height:253px;}
#b-pictures h2 span {background:url(images/site1.jpg) no-repeat -3px -266px;}

Comments

Calculation is made to center the b-body-wrapper verticaly and horizontaly...

Powered by Google Project Hosting