From f084147d438b5da11e0c0fadad767ad51c7101f3 Mon Sep 17 00:00:00 2001 From: Adam Doupe Date: Tue, 9 Jan 2024 13:16:06 -0700 Subject: [PATCH] Adding in missing styles for h3, h4, h5, table, and bullet from Hacker Jekyll theme. Only change bullet style for the syllabus page. Closes #277. --- dojo_theme/static/css/custom.css | 28 +++++++++++++++++++++++++++- dojo_theme/static/img/bullet.png | Bin 0 -> 603 bytes 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 dojo_theme/static/img/bullet.png diff --git a/dojo_theme/static/css/custom.css b/dojo_theme/static/css/custom.css index 456f8b495..3b3657d1f 100644 --- a/dojo_theme/static/css/custom.css +++ b/dojo_theme/static/css/custom.css @@ -10,7 +10,7 @@ body, table, .form-control:focus, .close { color: #eaeaea !important; } -.navbar-brand, .nav-link, h1, h2, .navbar-pulldown { +.navbar-brand, .nav-link, h1, h2, h3, h4, .navbar-pulldown { color: #b5e853 !important; } @@ -271,3 +271,29 @@ h4 { width: 128px; border-radius: 50%; } + +#syllabus ul li { + list-style-image:url('../img/bullet.png'); +} + +table { + width: 100%; + margin: 0 0 20px 0; +} + +th { + text-align: left; + border-bottom: 1px dashed #b5e853; + padding: 5px 10px; +} + +td { + padding: 5px 10px; +} + +hr { + height: 0; + border: 0; + border-bottom: 1px dashed #b5e853; + color: #b5e853; +} diff --git a/dojo_theme/static/img/bullet.png b/dojo_theme/static/img/bullet.png new file mode 100644 index 0000000000000000000000000000000000000000..c8f8de1a7e0d469d77b8852396dd10f338ae23f2 GIT binary patch literal 603 zcmeAS@N?(olHy`uVBq!ia0vp^57${dCd>QY`6?zK#qG8~eHcB(ehe3dtTp zz6=aiY77hwEes65fI&pI+kyVsc_(xbi&_G6SPZ!4!i_=@D?9F0w6md%rmzMVCWO3ZMStxs>APeV` z6HToPk{)y4eARTTV}i&**7yU5F8RqPByJ7f7l(V(z*fP#y%N{ZA*k8}SM*o+)sk0^| zVWo&jS?rFxude<7%Cf>m>EMbm?l6Vrx6ksBe>HsTzdZg`C*I{YbAygX z`No(wBmKJvw3*sg? literal 0 HcmV?d00001