Update 2 files
- /html/journal.php - /html/src/css/style.css
This commit is contained in:
parent
56c0726b56
commit
9b820614bd
@ -63,7 +63,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
|
|||||||
|
|
||||||
if ($resultat) {
|
if ($resultat) {
|
||||||
foreach($resultat as $row) {
|
foreach($resultat as $row) {
|
||||||
echo "<a href='?article=" . $row['ID'] . "' class='article-link'><div class='article'><div class='article-content'><div><h1>" . $row['titre'] . "</h1></div><div><h2>" . $row['auteur'] . "</h2></div><div>" . $date->format('d/m/Y') . "</div></div></div></a>";
|
echo "<a href='?article=" . $row['ID'] . "'><div class='article'><div class='article-content'><div><h1>" . $row['titre'] . "</h1></div><div><h2>" . $row['auteur'] . "</h2></div><div>" . $date->format('d/m/Y') . "</div></div></div></a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,10 +63,6 @@ a {
|
|||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.athena-link:hover {
|
|
||||||
box-shadow: 0 0 15px rgba(255, 255, 255, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.athena {
|
.athena {
|
||||||
height: 7em;
|
height: 7em;
|
||||||
border-radius: 3.5em;
|
border-radius: 3.5em;
|
||||||
@ -84,14 +80,13 @@ a {
|
|||||||
font-size: 3em;
|
font-size: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-link:hover {
|
|
||||||
box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
|
|
||||||
}
|
|
||||||
|
|
||||||
.article {
|
.article {
|
||||||
background-color: var(--dark-background);
|
background-color: var(--dark-background);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
margin: 1em 0;
|
}
|
||||||
|
|
||||||
|
.article:hover {
|
||||||
|
box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-content {
|
.article-content {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user