Update 2 files
- /html/news.php - /html/src/css/style.css
This commit is contained in:
parent
4b46a07182
commit
a48b868c69
@ -73,7 +73,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
|
|||||||
|
|
||||||
require_once '../include/parsedown.php';
|
require_once '../include/parsedown.php';
|
||||||
$parsedown = new Parsedown();
|
$parsedown = new Parsedown();
|
||||||
echo "<div class='article'>";
|
echo "<div class='article-info'>";
|
||||||
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
|
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
|
||||||
$req = $bdd->prepare("SELECT ID, titre, date, auteur, classification FROM articles WHERE ID = :article AND classification <= :accreditation");
|
$req = $bdd->prepare("SELECT ID, titre, date, auteur, classification FROM articles WHERE ID = :article AND classification <= :accreditation");
|
||||||
$req->bindParam(":article", $article);
|
$req->bindParam(":article", $article);
|
||||||
|
@ -127,16 +127,16 @@ a {
|
|||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-link {
|
.article-preview .article-link {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-titre {
|
.article-preview .article-titre {
|
||||||
font: 1.5em crfont, Arial;
|
font: 1.5em crfont, Arial;
|
||||||
padding: 0 0 0.3em 0;
|
padding: 0 0 0.3em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-date {
|
.article-preview .article-date {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,24 +144,24 @@ a {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-preview .article-auteur {
|
.article-info .article-auteur {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-preview .article-classification {
|
.article-info .article-classification {
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-preview .article-date {
|
.article-info .article-date {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-preview .article-titre {
|
.article-info .article-titre {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-preview .article-id {
|
.article-info .article-id {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user