commit 26e2d82b001d3ca5de79d427bdb19f1c6135c465
parent dbca09ccc0c77b7722983ff4eef805c066bb7558
Author: Andrew Laack <andrew@laack.co>
Date: Fri, 28 Aug 2026 17:52:43 -0500
tasteful css
Diffstat:
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/learning/static/styles.css b/learning/static/styles.css
@@ -8,6 +8,10 @@ h1 {
color: #480000 ;
}
+.page-nav {
+ padding: 0px 10px 0px 0px;
+}
+
h2 {
color: #500000 ;
}
@@ -65,18 +69,17 @@ content-block {
}
.sidenav {
- height: 100%; /* Full-height: remove this if you want "auto" height */
- width: 160px; /* Set the width of the sidebar */
- position: fixed; /* Fixed Sidebar (stay in place on scroll) */
- z-index: 1; /* Stay on top */
- top: 0; /* Stay at the top */
+ height: 100%;
+ width: 160px;
+ position: fixed;
+ z-index: 1;
+ top: 0;
left: 0;
- background-color: #111; /* Black */
- overflow-x: hidden; /* Disable horizontal scroll */
+ background-color: #111;
+ overflow-x: hidden;
padding-top: 20px;
}
-/* The navigation menu links */
.sidenav a {
padding: 6px 8px 6px 16px;
text-decoration: none;
@@ -86,7 +89,7 @@ content-block {
}
.main {
- margin-left: 160px; /* Same as the width of the sidebar */
+ margin-left: 160px;
padding: 0px 10px;
}
diff --git a/learning/templates/course_page.jingoo b/learning/templates/course_page.jingoo
@@ -18,9 +18,9 @@
{% endif %}
{% endfor %}
{% if previous_page_link != "" %}
- <a href="{{previous_page_link}}"> previous </a>
+ <a class="page-nav" href="{{previous_page_link}}">previous</a>
{% endif %}
{% if next_page_link != "" %}
- <a href="{{next_page_link}}"> next </a>
+ <a class="page-nav" href="{{next_page_link}}">next</a>
{% endif %}
</div>