Update 2 files

- /html/journal.php
- /html/src/css/style.css
This commit is contained in:
Jan BELLON 2024-03-07 14:42:13 +00:00
parent 56c0726b56
commit 9b820614bd
2 changed files with 5 additions and 10 deletions

View File

@ -63,7 +63,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
if ($resultat) {
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>";
}
}
}

View File

@ -63,10 +63,6 @@ a {
padding: 1em 0;
}
.athena-link:hover {
box-shadow: 0 0 15px rgba(255, 255, 255, 0);
}
.athena {
height: 7em;
border-radius: 3.5em;
@ -84,14 +80,13 @@ a {
font-size: 3em;
}
.article-link:hover {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
}
.article {
background-color: var(--dark-background);
border-radius: 10px;
margin: 1em 0;
}
.article:hover {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
}
.article-content {