From ab4ba3c087a30f22e143793099e536190aa274e9 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 17 Aug 2021 19:31:02 +0100 Subject: [PATCH] . --- anatomy/static/css/anatomy.css | 12 +++++++++--- static/css/anatomy.css | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/anatomy/static/css/anatomy.css b/anatomy/static/css/anatomy.css index 9918f5a8..f4ded74b 100644 --- a/anatomy/static/css/anatomy.css +++ b/anatomy/static/css/anatomy.css @@ -198,11 +198,17 @@ button a { padding: 20px } -#full-question-list li{ - padding-bottom: 20px +#full-question-list { + counter-reset: question-list; /* Set a counter named 'section', and its initial value is 0. */ } -#full-question-list img{ +#full-question-list li{ + padding-bottom: 20px; + counter-increment: question-list; + content: counter(question-list) ": "; +} + +#full-question-list img{ float: left; padding-right: 20px; padding-left: 10px; diff --git a/static/css/anatomy.css b/static/css/anatomy.css index 9918f5a8..f4ded74b 100644 --- a/static/css/anatomy.css +++ b/static/css/anatomy.css @@ -198,11 +198,17 @@ button a { padding: 20px } -#full-question-list li{ - padding-bottom: 20px +#full-question-list { + counter-reset: question-list; /* Set a counter named 'section', and its initial value is 0. */ } -#full-question-list img{ +#full-question-list li{ + padding-bottom: 20px; + counter-increment: question-list; + content: counter(question-list) ": "; +} + +#full-question-list img{ float: left; padding-right: 20px; padding-left: 10px;