Self hosted FLOSS fitness/workout, nutrition and weight tracker
Replace bullet images with CSS
Roland Geider007edce37183
diff --git a/wger/software/static/css/landing_page.css b/wger/software/static/css/landing_page.cssindex 8a91b2664..f0590414f 100644--- a/wger/software/static/css/landing_page.css+++ b/wger/software/static/css/landing_page.css@@ -12,8 +12,9 @@:root {--blue: #245daf;- --green: #bd5164;- --gray: #218064;+ --green: #218064;+ --red: #bd5164;+ --dark-yellow: #9a6a23;--bg-blue: #163665;}@@ -49,12 +50,34 @@ a {color: var(--green);}+.text-dark-yellow {+ color: var(--dark-yellow);+}+.text-red {- color: #9a6a23;+ color: var(--red);+}++.text-blue {+ color: var(--blue);+}+++ul.hex-bullet li::before {+ content: '⬢';+ font-size: 20px;}-.text-gray {- color: var(--gray);+ul.bullet-red li::before {+ color: var(--red);;+}++ul.bullet-dark-yellow li::before {+ color: var(--dark-yellow);+}++ul.bullet-green li::before {+ color: var(--green);}.fs-8 {@@ -81,6 +104,7 @@ ul {text-align: justify;}+.hexagon {/* top: 30vh; *//* left: 40%; */@@ -131,7 +155,7 @@ main {.main-section {width: 100%;-+display: flex;justify-content: center;align-items: center;diff --git a/wger/software/static/images/li-green.png b/wger/software/static/images/li-green.pngdeleted file mode 100644index 1dfd4e685..000000000Binary files a/wger/software/static/images/li-green.png and /dev/null differdiff --git a/wger/software/static/images/li-grey.png b/wger/software/static/images/li-grey.pngdeleted file mode 100644index 194be1417..000000000Binary files a/wger/software/static/images/li-grey.png and /dev/null differdiff --git a/wger/software/static/images/li-red.png b/wger/software/static/images/li-red.pngdeleted file mode 100644index 94f35d5fd..000000000Binary files a/wger/software/static/images/li-red.png and /dev/null differdiff --git a/wger/software/templates/features.html b/wger/software/templates/features.htmlindex dda497ea5..702c4954f 100644--- a/wger/software/templates/features.html+++ b/wger/software/templates/features.html@@ -129,23 +129,19 @@class="col-lg-5 col-sm-12 d-flex flex-column align-items-start justify-content-center px-5 py-2"><h2 class="w-100 font-bebas-neue display-4 uppercase">Craft your perfect- <span class="text-green">workout regimen</span>+ <span class="text-red">workout regimen</span></h2>- <ul class="list-group gap-1 li-green">- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-green.png' %}" alt="list item image">+ <ul class="hex-bullet bullet-red">+ <li>Design a weekly workout plan from more than 100 exercises</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-green.png' %}" alt="list item image">+ <li>Set reps and sets, duration, or distance goals for each exercise</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-green.png' %}" alt="list item image">+ <li>Get guided through your workouts step by step</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-green.png' %}" alt="list item image">+ <li>Keep track of the workouts you've done, including how you felt you performed</li></ul>@@ -171,19 +167,16 @@<div class="col-lg-5 col-sm-12 d-flex flex-column align-items-start justify-content-center px-5 py-"><h2 class="w-100 font-bebas-neue display-4 uppercase">Plan your<br>- <span class="text-red">Daily meals</span>+ <span class="text-dark-yellow">Daily meals</span></h2>- <ul class="list-group gap-1">- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-red.png' %}" alt="list item image">+ <ul class="gap-1 hex-bullet bullet-dark-yellow">+ <li>Fill your week with nutritious meals that help you perform better</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-red.png' %}" alt="list item image">+ <li>Build meals from a database of more than 2 million foods</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-red.png' %}" alt="list item image">+ <li>Get automatically calculated nutritional values (energy, protein, carbs, ...) for bothindividual meals and your entireweekly plan@@ -214,24 +207,20 @@<div class="col-lg-5 col-sm-12 d-flex flex-column align-items-start justify-content-center px-5 py-2"><h2 class="w-100 font-bebas-neue display-4 uppercase w-100">Keep track of <br>- <span class="text-gray">your progress</span>+ <span class="text-green">your progress</span></h2>- <ul class="list-group gap-1">+ <ul class="hex-bullet bullet-green">- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-grey.png' %}" alt="list item image">+ <li>Track and annotate everything about your meals and workouts</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-grey.png' %}" alt="list item image">+ <li>Add custom notes</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-grey.png' %}" alt="list item image">+ <li>Record your weight</li>- <li class="list-group-item border-0 fs-8 p-0">- <img src="{% static 'images/li-grey.png' %}" alt="list item image">+ <li>Keep a photo log to see your progressUse the calendar view to see past entries</li>