refonte page game

This commit is contained in:
Jerome Morjon 2015-03-16 16:44:29 +01:00
parent 4caa605783
commit 12b4b140d8
6 changed files with 37 additions and 12 deletions

View File

@ -67,6 +67,38 @@ nav input {
border-radius: 20px;
border: 3px solid black;
}
.text-center
{
margin-top: 6%;
text-align: center;
background-color: rgba(0, 0, 0, 0.2);
}
.text-center img
{
height: 250px;
margin: 2%;
}
.text-center img:hover
{
padding-bottom : 5px;
border-bottom: 2px solid black;
}
.titreIcon
{
text-align:center;
margin-top: 2%;
}
.titreIcon img
{
height: 150px;
}
button {
cursor: pointer;
display: inline-block;

BIN
SRC/public/imgs/games.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -1,18 +1,11 @@
@extends('frontend/template')
@section('content')
<div class="referents">
<div class="referent game"
onclick='location.href = "{{ URL::to('puzzle') }}";'
style="background:url('{{ URL::to('imgs/puzzle.jpg') }}'); width: 50%;">
<div class="infos">Puzzle</div>
<div class="titreIcon">
<img src="imgs/games.png" />
</div>
<div class="referent game"
onclick='location.href = "{{ URL::to('memo') }}";'
style="background:url('{{ URL::to('imgs/memo.jpg') }}'); width: 50%;">
<div class="infos">Mémo</div>
</div>
<div class="text-center">
<a href="{{ URL::to('puzzle') }}" ><img src="imgs/puzzle/iconPuzzle.png" alt="puzzle"/></a>
<a href="{{ URL::to('memo') }}" ><img src="imgs/memo/memo.png" alt="memo"/></a>
</div>
@endsection