diff --git a/TODO.md b/TODO.md index 1c42196..acbcadb 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,14 @@ # TODO ## Done +- [x] Redesign TFE detail page + - [x] Author moved above title (smaller body font) + - [x] Remove "← Retour" back link + - [x] Split jury promoteurs into interne/externe using `getThesisJury()` + - [x] Jury fields order: promoteur interne → externe → président → lecteurs + - [x] Contact URL strips `http(s)://` prefix for display + - [x] Right-column images get `border-radius: 8px` + - [x] Remove orphan `.tfe-back-link` CSS rule - [x] Improve À propos page layout - [x] Replace two-column (prose + aside) with sticky-TOC-nav + main-content layout - [x] Sticky left nav with section anchors (À propos, Contacts, Crédits + erg link) diff --git a/public/assets/css/tfe.css b/public/assets/css/tfe.css index 20a0f8a..3da60b2 100644 --- a/public/assets/css/tfe.css +++ b/public/assets/css/tfe.css @@ -32,12 +32,14 @@ gap: 1.5rem; } -/* Back link — top of left column */ -.tfe-back-link { - font-size: .88rem; - color: var(--text-tertiary); - text-decoration: underline; - text-underline-offset: 2px; +/* Author (p) — above title, smaller */ +.tfe-author { + font-family: var(--font-body); + font-size: 1rem; + font-weight: 400; + color: var(--text-primary); + margin: 0; + line-height: 1.4; } /* Title (h1) — primary heading, very large */ @@ -51,17 +53,6 @@ letter-spacing: -0.01em; } -/* Author (p) — large but secondary */ -.tfe-author { - font-family: var(--font-display); - font-size: 1.9rem; - font-weight: 400; - color: var(--text-primary); - margin: 0; - line-height: 1.15; - letter-spacing: -0.01em; -} - /* Metadata description list — target
directly inside article > header */ article dl { display: flex; @@ -125,12 +116,14 @@ article dl dd a { aside figure { overflow: hidden; margin: 0; + border-radius: 8px; } aside figure img { width: 100%; height: auto; display: block; + border-radius: 8px; } aside figure embed, @@ -188,10 +181,6 @@ aside figcaption { .tfe-title { font-size: 1.7rem; } - - .tfe-author { - font-size: 1.5rem; - } } @media (max-width: 600px) { @@ -202,8 +191,4 @@ aside figcaption { .tfe-title { font-size: 1.4rem; } - - .tfe-author { - font-size: 1.25rem; - } } diff --git a/public/tfe.php b/public/tfe.php index e759568..186d655 100644 --- a/public/tfe.php +++ b/public/tfe.php @@ -16,9 +16,9 @@ extract($ctrl->handle());
- ← Retour + +

-

@@ -26,8 +26,6 @@ extract($ctrl->handle());

-

-
@@ -78,24 +76,31 @@ extract($ctrl->handle());
- + +
+
Promoteur·ice interne :
+
+
+ + + +
+
Promoteur·ice externe :
+
+
+ + +
Président·e du jury :
-
+
- -
-
Promoteur·ice :
-
-
- - - +
Lecteur·ices :
-
+
@@ -121,11 +126,15 @@ extract($ctrl->handle()); +
Contact :
- - + + (ouvre dans un nouvel onglet)
diff --git a/src/TfeController.php b/src/TfeController.php index dcc3625..149cc92 100644 --- a/src/TfeController.php +++ b/src/TfeController.php @@ -78,6 +78,10 @@ class TfeController // Caption (WebVTT) files — N-th VTT is paired with the N-th