Commit 2ae140cc authored by Corentin Bettiol's avatar Corentin Bettiol 💻
Browse files

change mainController & layout, add favicon, change css, add some classes,...

change mainController & layout, add favicon, change css, add some classes, work with bdd, config file
parent bc7ded60
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -6,8 +6,7 @@
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.6;
  z-index: -1;
  opacity: 0.4;
}
#videoFond > video {
  width: 100%;
@@ -38,14 +37,6 @@
  }
}

body{
  opacity: 0.75;
}

#videoFond{
  opacity: 1;
}

#header{
  margin-top: 0;
header, #menu{
  z-index: 2;
}
 No newline at end of file
+20 −4
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ article p, #pageTitle, article h3, article ul{
	width: auto;
	margin: auto;
	color: #2E2E2E;
	text-shadow: 0 0 3px #6699ff;
	text-shadow: 0 0 3px #69f;
}

#menu{
@@ -64,9 +64,16 @@ h2{
}


h3{
	margin-top: 5px;
	font-size: 1em;
h3 a{
	text-decoration: none;
	text-shadow: 0 0 1px #69f;
	transition: padding-left 0.3s, text-shadow 0.3s;
}

h3 a:hover{
	padding-left: 5px;
	text-shadow: -5px 0 4px #BBf;
	transition: padding-left 0.3s, text-shadow 0.3s;
}

#listMenu{
@@ -125,6 +132,15 @@ hr{
	border: 1px solid #CFCFCF;
}

a{
	transition: color 0.3s;
}

a:hover{
	color: #55a;
	transition: color 0.3s;
}


/*
====

img/icon.png

0 → 100644
+411 B
Loading image diff...
+0 −1
Original line number Diff line number Diff line
<?php

require_once("site/controller/mainController.php");

require_once("site/layout/layout.php");

?>
 No newline at end of file
+0 −29
Original line number Diff line number Diff line
<?php
function getPageName(){
	switch ($_GET['action']) {
	case 'contact':
		return ["Contact", "contact"];
		break;
	case 'about':
		return ["À Propos", "about"];
		break;
	case 'projects':
		return ["Projets", "projects"];
		break;
	case 'changelog':
		return ["Changelog", "changelog"];
		break;
	case 'rss':
		return ["Rss", "rss"];
		break;
	case '404':
		return ["Erreur 404 - File not found", "404"];
		break;
	case 'article':
		return [$_GET['title'], $_GET['title']];
		break;
	default:
		return ["Blog", "blog"];
		break;
	}
}
 No newline at end of file
Loading