From a03437d60161fb688295efd0a07eb780cb87bc03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20MANSON?= Date: Wed, 5 Oct 2016 21:25:34 +0200 Subject: [PATCH] ajout du css, placement basic des blocs. --- css/style.css | 32 ++++++++++++++++++++++++++++++++ index.html | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 css/style.css diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..2696830 --- /dev/null +++ b/css/style.css @@ -0,0 +1,32 @@ +#logo { + position:relative; + margin-left: auto; + margin-right: auto; + width: 317px; +} + +.navserv li,.navsite li{display:inline;} +.navserv { + float:left; +} +.navsite {float right} + +section +{ + margin-left: 30px; + margin-right: auto; + width: 50%; + display:inline-block; +} +aside +{ + float:right; + width: 25%; + display:inline-block; +} +footer +{ + display:inline; + text-align:center; +} + diff --git a/index.html b/index.html index 3207580..e85bc4f 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ blog.jmanson.fr - Le Blog de Jeremy - +