From e1338354ed543ae89d20e1ae3c235bd205037b43 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 1 May 2021 13:29:17 +0200 Subject: Add scenario description info to create pages. --- public/style.css | 2 +- views/create.ejs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index dfd7754..c1b25fd 100644 --- a/public/style.css +++ b/public/style.css @@ -20,7 +20,7 @@ h2 { margin-left: -1px; } .header span { margin: 0 1em; } .header a { color: black; } .main { margin: 2em; } -.main p { max-width: 50rem; } +.main p, .main dl { max-width: 50rem; } .main hr { max-width: 50rem; margin-right: auto; margin-left: 0; } .main hr { border: none; border-top: 2px dotted brown; } .main hr + p { font-style: italic; } diff --git a/views/create.ejs b/views/create.ejs index a23fab5..ed9ae9e 100644 --- a/views/create.ejs +++ b/views/create.ejs @@ -9,6 +9,7 @@ Scenario:
<% }); %> +<%- include('../public/' + title.title_id + '/create.html') %>

Description:
-- cgit v1.2.3