diff --git a/index.css b/index.css index 9c9b8a4..02eecde 100755 --- a/index.css +++ b/index.css @@ -178,6 +178,7 @@ input[type="checkbox"]:checked + label span { /*Calendar*/ #calendar { margin-top:60px; + overflow-y: auto; } #calendar .week { @@ -215,11 +216,24 @@ input[type="checkbox"]:checked + label span { } #calendar .week .day h2 { - font-size: 30px; + font-size: 2em; margin: 20px; color: #2B2B2B; } +#calendar .week .day h2 .minititle { + font-size: 0.5em; + color: #4B4B4B; +} + +#calendar .week .day h2 .left{ + margin-right: 0.5em; +} + +#calendar .week .day h2 .right{ + margin-left: 0.0em; +} + #calendar .week .otherMonth h2 { color: #4B4B4B; } @@ -228,3 +242,8 @@ input[type="checkbox"]:checked + label span { margin-left: -20px; font-size:12px; } + +#calendar .week .day .calendar-link a { + color: black; + text-decoration: none; +} diff --git a/index.php b/index.php index c339967..60f0213 100644 --- a/index.php +++ b/index.php @@ -2,6 +2,31 @@ session_start(); include_once('getEvents.php'); $db = connect(); + +$days = array( + 1 => "Lun", + 2 => "Mar", + 3 => "Mer", + 4 => "Jeu", + 5 => "Ven", + 6 => "Sam", + 7 => "Dim" +); +$months = array( + 1 => "Janvier", + 2 => "Fevrier", + 3 => "Mars", + 4 => "Avril", + 5 => "Mai", + 6 => "Juin", + 7 => "Juillet", + 8 => "Août", + 9 => "Septembre", + 10 => "Octobre", + 11 => "Novembre", + 12 => "Decembre" +); + ?> @@ -80,16 +105,26 @@ $db = connect();