From fe2a85d0a27aca9cbc9c4155d7fc15f611381b45 Mon Sep 17 00:00:00 2001 From: iGor Date: Sun, 26 Apr 2015 08:30:15 +0200 Subject: [PATCH] =?UTF-8?q?am=C3=A9lioration=20centrage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/accueil.css | 30 +++++++++++--- index.html | 104 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 115 insertions(+), 19 deletions(-) diff --git a/css/accueil.css b/css/accueil.css index 399fa6c..1318a94 100644 --- a/css/accueil.css +++ b/css/accueil.css @@ -1,22 +1,42 @@ +#accueil { + margin-top: 1%; +} + button, .button { - height: 225px; - width: 225px; + height: 205px; + width: 205px; overflow: hidden; - word-wrap: break-word; white-space: normal; - margin: 6px; + margin: 15px; hyphens: auto; -moz-hyphens: auto; } +.content .text { + box-sizing: border-box; +} + .content { display: table-cell; vertical-align: middle; - height: 220px; + height: 200px; } .text { + min-width: 144px; margin-left: auto; margin-right: auto; } +/* @media (max-width: 1100px) { + button, .buttons { + height: 180px; + width: 180px; + } + .content { + height: 175px; + } + .text { + min-width; 140px; + } +} */ diff --git a/index.html b/index.html index c98c81e..f003603 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,6 @@