From 288b5f3943c875a60c7452e8bc27bfb65930c7a7 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 28 Nov 2015 11:18:21 +0100 Subject: [PATCH 1/7] css --- html/index.php | 29 +++++++++++++++++------------ html/style.css | 10 ++++++++++ 2 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 html/style.css diff --git a/html/index.php b/html/index.php index 6683c23..1318584 100644 --- a/html/index.php +++ b/html/index.php @@ -54,6 +54,14 @@ if (isset($_POST['xd_check'])){ } } +//title +if($currentArena == ""){ + $siteTitle = $lang['SITE_NAME']; + +}else{ + $siteTitle=$currentArenaArr['title']; +} + ?> @@ -62,15 +70,18 @@ if (isset($_POST['xd_check'])){ - - - - - + + + + <?php echo $siteTitle; ?> +
+

Date: Sat, 28 Nov 2015 11:24:18 +0100 Subject: [PATCH 2/7] css --- html/style.css | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/html/style.css b/html/style.css index 72df76e..b0fdca9 100644 --- a/html/style.css +++ b/html/style.css @@ -1,10 +1,30 @@ -body{width:100%;font-size:100%; top: 0px;line-height:140%;word-wrap:break-word;text-rendering:optimizelegibility;margin:0 auto;font-family : "lucida grande", "gill sans", arial, sans-serif;} -header{background-color:#A60800; width: 100%; overflow: hidden;height: auto;} -header h1{display: block; font-size:300%; color:#FFF;float: left; width: 45%;font-family: 'Special Elite', cursive;margin-left: 5%;} -header nav{display: block; width: 45%;color:#FFF; float: left;} +body{ + width:100%; + font-size:100%; + top: 0px; + line-height:140%; + word-wrap:break-word; + text-rendering:optimizelegibility; + margin:0 auto; + font-family : "lucida grande", "gill sans", arial, sans-serif; +} +header{ + background-color:#A60800; + width: 100%; + overflow: hidden; + height: auto; +} +header h1{ + display: block; + font-size:300%; + color:#FFF;float: left; + width: 45%; + margin-left: 5%;} -nav{padding-top: 10px;padding-bottom:10px;background-color:#015C65;height: auto; overflow: hidden;width: 90%; border:1px solid rgb(204, 204, 204); margin: 0 auto;text-align: center;} -nav ul li a{color:#fff;} -nav ul li a:hover{background-color:#FFD273;} -nav ul li{display : inline;padding : 0 0.5em;} -nav ul{list-style-type : none; margin: 0 auto; } \ No newline at end of file + header nav{ + display: block; + width: 45%; + color:#FFF; + float: left; + +} From c82d235ded64e60f3f67a1752652c15bf876b0b7 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 28 Nov 2015 11:29:11 +0100 Subject: [PATCH 3/7] titles Artificials Intelligences\' arena --- lang/en.php | 2 +- lang/fr.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/en.php b/lang/en.php index cdc02e1..a5a1cf5 100644 --- a/lang/en.php +++ b/lang/en.php @@ -1,6 +1,6 @@ 'Artificials Intelligences\' arena', + 'SITE_NAME' => 'bots\'arena', 'SITE_DESCRIPTION' => 'blah blah blah but english', 'HOME' => 'Home page' ); \ No newline at end of file diff --git a/lang/fr.php b/lang/fr.php index 26a686a..dc15bb5 100644 --- a/lang/fr.php +++ b/lang/fr.php @@ -1,6 +1,6 @@ 'Arène pour intelligences (ou persque) artificielles', + 'SITE_NAME' => 'Arène à bots', 'SITE_DESCRIPTION' => 'blah blah blah mais en francais', 'HOME' => 'accueil' ); \ No newline at end of file From f8e8da5ac86a70658288b239dc23f24507befc49 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 28 Nov 2015 11:35:36 +0100 Subject: [PATCH 4/7] fix hteumeuleu --- html/index.php | 3 +-- html/style.css | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/html/index.php b/html/index.php index 1318584..d1ed15e 100644 --- a/html/index.php +++ b/html/index.php @@ -93,8 +93,7 @@ if($currentArena == ""){ } echo ''.$arena['title'].''; } - ?> - + ?>
Date: Sat, 28 Nov 2015 11:37:15 +0100 Subject: [PATCH 5/7] r --- html/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/style.css b/html/style.css index cd132e9..56b468b 100644 --- a/html/style.css +++ b/html/style.css @@ -25,7 +25,7 @@ header h1{ display: block; width: 45%; color:#FFF; - float: left; + float: right; } #menus{ From 291874393f28d31764b6fa5331c137658e560fbb Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 28 Nov 2015 11:47:36 +0100 Subject: [PATCH 6/7] =?UTF-8?q?un=20chouilla=20de=20css=20avant=20d'aller?= =?UTF-8?q?=20faire=20=C3=A0=20manger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/style.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/html/style.css b/html/style.css index 56b468b..f5f32ea 100644 --- a/html/style.css +++ b/html/style.css @@ -29,5 +29,17 @@ header h1{ } #menus{ - width:100%; + margin-left: 50px; + width:100%; + display: table; +} +#menus a{ + color: #fff; + display: table-cell; + text-decoration: none; + text-align: center; +} +.selected{ + color:#000000; + background-color:#fff; } From 63f890985e9a5c39e0ff50df04be673d40e5e7e9 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 28 Nov 2015 13:19:39 +0100 Subject: [PATCH 7/7] css minimaliste pour les menus --- html/style.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/html/style.css b/html/style.css index f5f32ea..a917449 100644 --- a/html/style.css +++ b/html/style.css @@ -38,8 +38,13 @@ header h1{ display: table-cell; text-decoration: none; text-align: center; + border-radius: 15px 15px 0px 0px; } -.selected{ - color:#000000; +#menus a.selected{ + color:#202020; background-color:#fff; } +#languages{ + float: right; + text-align: right; +}