simple-learning

Simple learning web program
git clone git://git.laack.co/simple-learning.git
Log | Files | Refs | README | LICENSE

commit 36b37633da983e5927ca8bc087e6c8ee7c267cbf
parent dfcd2510ce9e249ad50959891ae2aed57b591157
Author: Andrew Laack <andrew@laack.co>
Date:   Sun, 30 Aug 2026 15:57:25 -0500

Improved styling

Diffstat:
Mlearning/static/styles.css | 5+++++
Mlearning/templates/course_page.jingoo | 4+++-
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/learning/static/styles.css b/learning/static/styles.css @@ -8,6 +8,11 @@ h1 { color: #480000 ; } +.page-nav-next { + padding: 0px 10px 0px 0px; + float: right; +} + .page-nav { padding: 0px 10px 0px 0px; } diff --git a/learning/templates/course_page.jingoo b/learning/templates/course_page.jingoo @@ -7,7 +7,9 @@ {% else if line.line_type == "ListItem"%} <li>{{line.content}}</li> {% else if line.line_type == "Link"%} + <div/> <a href="{{line.content}}">{{line.content}}</a> + <div/> {% else if line.line_type == "Hidden"%} <details> <summary>{{line.content}}</summary> @@ -31,6 +33,6 @@ <a class="page-nav" href="{{previous_page_link}}">previous</a> {% endif %} {% if next_page_link != "" %} - <a class="page-nav" href="{{next_page_link}}">next</a> + <a class="page-nav-next" href="{{next_page_link}}">next</a> {% endif %} </div>