fix: various styling fixes; simplify tfe.php structure and CSS with grid

This commit is contained in:
Pontoporeia
2026-07-10 11:56:27 +02:00
parent 61029ea437
commit ce936e3b71
6 changed files with 1597 additions and 1674 deletions
+11 -17
View File
@@ -1,9 +1,7 @@
<main class="tfe-main" id="main-content">
<article class="tfe-layout">
<article class="tfe-content-row">
<!-- Two-column layout: left 40% (info), right 60% (files) -->
<div class="tfe-content-row">
<div class="tfe-left-column">
<div class="tfe-left-column">
<p class="tfe-author"><?= htmlspecialchars(
$data["authors"] ?? "Auteur inconnu",
@@ -258,19 +256,17 @@
<?php endif; ?>
</div>
<div class="tfe-synopsis-column">
<?php if (!empty($data["context_note"])): ?>
<p class="tfe-context-note"><em>Note Contextuelle :</em><br><?= nl2br(htmlspecialchars($data["context_note"])) ?></p>
<?php endif; ?>
<?php if (!empty($data["context_note"])): ?>
<p class="tfe-context-note"><em>Note Contextuelle :</em><br><?= nl2br(htmlspecialchars($data["context_note"])) ?></p>
<?php endif; ?>
<?php if (!empty($data["synopsis"])): ?>
<div class="tfe-synopsis-text">
<?= nl2br(htmlspecialchars($data["synopsis"])) ?>
</div>
<?php else: ?>
<div class="tfe-synopsis-text tfe-synopsis-empty"></div>
<?php endif; ?>
<?php if (!empty($data["synopsis"])): ?>
<div class="tfe-synopsis-text">
<?= nl2br(htmlspecialchars($data["synopsis"])) ?>
</div>
<?php else: ?>
<div class="tfe-synopsis-text tfe-synopsis-empty"></div>
<?php endif; ?>
</div><!-- /tfe-left-column -->
@@ -469,8 +465,6 @@
</div><!-- /tfe-right-column -->
</div>
</article>
</main>