Skip to content
Extraits de code Groupes Projets
Valider 569d6519 rédigé par Eliah REBSTOCK's avatar Eliah REBSTOCK
Parcourir les fichiers

Ajouts de liens et amélioration de css sur la page d'accueil

parent 329e98b6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!21Merge de Dev dans Master
......@@ -12,7 +12,11 @@
<?php
foreach($this->most_played as $jeu) {
?>
<tr><td><img src="<?php echo BASE_URL; ?>/images/jeu/<?php echo $jeu['slug']; ?>.jpg" alt="logo jeu <?php echo $jeu['nom']; ?>" /></td><td><?php echo $jeu['nom']; ?></td><td><?php echo $jeu['parties']; ?>x</td></tr>
<tr>
<td><a href="<?php echo BASE_URL; ?>/jeu/<?php echo $jeu['slug']; ?>"><img src="<?php echo BASE_URL; ?>/images/jeu/<?php echo $jeu['slug']; ?>.jpg" alt="logo jeu <?php echo $jeu['nom']; ?>" /></a></td>
<td><a href="<?php echo BASE_URL; ?>/jeu/<?php echo $jeu['slug']; ?>"><?php echo $jeu['nom']; ?></a></td>
<td><?php echo $jeu['parties']; ?>x</td>
</tr>
<?php
}
?>
......@@ -22,11 +26,15 @@
<div class="col-6">
<h3 class="stat-title">Dernier inscrit :</h3>
<aside class="profil-image">
<aside class="profil-image"><a href="<?php echo BASE_URL; ?>/profil/<?php echo $this->last_member->slug; ?>">
<img src="<?php echo BASE_URL; ?>/images/profil_42.jpg" alt="Photo de profil de phoenix" />
</a>
</aside>
<ul class="col-4 pref">
<li><?php echo $this->last_member->prenom.' '.$this->last_member->nom; ?></li>
<li><a href="<?php echo BASE_URL; ?>/profil/<?php echo $this->last_member->slug; ?>">
<?php echo $this->last_member->prenom.' '.$this->last_member->nom; ?></a>
</li>
</ul>
</div>
......
......@@ -49,6 +49,30 @@ footer{
box-sizing: border-box;
}
.main a{
color: #159C15;
text-decoration: none;
}
.main a:hover{
color: cadetblue !important;
}
.inscription-btn{
color:blanchedalmond !important;
font-weight : bold;
text-decoration:none;
width:100%;
padding: 2px;
border-radius:10px;
background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
-webkit-transition: background 500ms; /* Safari */
transition: background 500ms ;
display: inline-block;
height:30px;
}
.inscription-btn:hover {
background: red linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
}
.main{
margin-top:235px;
padding-bottom:100px;
......@@ -165,25 +189,6 @@ header a:hover, footer a:hover {
}
.inscription-btn {
color:blanchedalmond;
font-weight : bold;
text-decoration:none;
width:100%;
padding: 2px;
border-radius:10px;
background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
-webkit-transition: background 500ms; /* Safari */
transition: background 500ms ;
display: inline-block;
height:30px;
}
.inscription-btn:hover {
background: red linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
}
nav ul {
text-align:center;
......@@ -252,6 +257,7 @@ nav ul li:hover{
list-style-type: none;
padding: 0;
text-align: center;
margin-top: 40px;
}
.stat-title{
text-align: center;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter