From 6d6620c9f172d326c7ade1a975a3c29096bee487 Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 23 Apr 2008 21:15:26 +0000 Subject: [PATCH] premiers pas pour un nouveau template html --- style.css => style_default.css | 0 style_lego.css | 138 +++++++++++++++++++++++++++++++++ template_default.html | 2 +- template_lego.html | 90 +++++++++++++++++++++ 4 files changed, 229 insertions(+), 1 deletion(-) rename style.css => style_default.css (100%) create mode 100644 style_lego.css create mode 100644 template_lego.html diff --git a/style.css b/style_default.css similarity index 100% rename from style.css rename to style_default.css diff --git a/style_lego.css b/style_lego.css new file mode 100644 index 0000000..0914148 --- /dev/null +++ b/style_lego.css @@ -0,0 +1,138 @@ +html { + margin:0px; + padding:0px; +} + +body { + background-color:black; + margin:0px; + padding:0px; +} + +a { +} + +a:hover { +} + +.spacer { + clear:right; +} + +/* HEAD */ + +.head_block { + float:left; + height:100px; + padding:0.5em; + margin:0 0 0 0.5em; + -moz-border-radius:10px; +} + +#title_block { + width:60%; + background-color:#5276dd; +} + +#site_block { + width:15%; + background-color:#9652dd; +} + +#feed_block { + width:15%; + background-color:#ff4d11; +} + +h1#site_title { + color:white; +} + +#site_desc { + color:white; + font-size:small; +} + +ul#site_map { + list-style:none; +} + + +/* NAV */ + +#nav_block { + text-align:center; +} + +ul#nav_bar { + list-style:none; +} + +ul#nav_bar>li { + display:inline; + margin-left:1em; +} + + +/* STRIP */ + +#strip_block { + background-color:white; + -moz-border-radius:10px; + width: 900px; + text-align:center; + padding:10px; + /* TODO centrer sur la page */ +} + +img#strip { + border:thin solid black; +} + +.sub_block { + text-align:left; + -moz-border-radius:10px; + padding:10px; + margin:10px; + width:400px; +} + +#meta_block { + float:left; + width:390px; + margin:0px; + padding:0px; +} + +#comments_block { + background-color:#5fdf73; + float:right; +} + +#info_block { + background-color:#5276dd; +} + +#info_plus_block { + background-color:#f05036; +} + + + +/* FOOT */ + +#foot { + background-color:#333; + color:white; + text-align:center; +} + +ul#link_bar { + list-style:none; +} + +ul#linkbar>li { + display:inline; + margin-left:1em; +} + diff --git a/template_default.html b/template_default.html index d31e3d8..3e26989 100644 --- a/template_default.html +++ b/template_default.html @@ -9,7 +9,7 @@ - + diff --git a/template_lego.html b/template_lego.html new file mode 100644 index 0000000..e68008d --- /dev/null +++ b/template_lego.html @@ -0,0 +1,90 @@ + + + + + + + {general.title} - {title} + + + + + + + + + + + + + + +
+ {text} + +
+
+

« {title} »

+

{description:h}

+
+ +
+

© {author}

+

{date}

+

{lang.source}

+

{lang.licence} : {license}

+
+
+ +
+ {lang.comments} : +
    + {comments:h} +
+ {lang.forum_new} +
+ +
 
+
+ +
 
+ + + + + + +