mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
fix: various styling fixes; simplify tfe.php structure and CSS with grid
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user