Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Simplify HTML used for the headers

Roland Geider5576f4565b0e
diff --git a/wger/software/static/css/landing_page.css b/wger/software/static/css/landing_page.css
index 1d9243a2c..6a611fe7c 100644
--- a/wger/software/static/css/landing_page.css
+++ b/wger/software/static/css/landing_page.css
@@ -46,17 +46,6 @@ a {
color: var(--bg-blue);
}
-.text-green {
- color: var(--green);
-}
-
-.text-dark-yellow {
- color: var(--dark-yellow);
-}
-
-.text-red {
- color: var(--red);
-}
ul.hex-bullet {
padding-left: 0
@@ -105,6 +94,25 @@ ul {
height: 1000px;
}
+.header-community span {
+ color: var(--bg-blue);
+ display: block;
+}
+
+.header-progress span {
+ color: var(--green);
+ display: block;
+}
+
+.header-meals span {
+ color: var(--dark-yellow);
+ display: block;
+}
+
+.header-workout span {
+ color: var(--red);
+ display: block;
+}
.hexagon {
/* top: 30vh; */
diff --git a/wger/software/templates/features.html b/wger/software/templates/features.html
index 7c81f30bb..ade65e892 100644
--- a/wger/software/templates/features.html
+++ b/wger/software/templates/features.html
@@ -127,8 +127,8 @@
<div
class="col-lg-5 col-sm-12 d-flex flex-column align-items-start justify-content-center py-2">
- <h2 class="w-100 font-bebas-neue display-4 uppercase">
- {% translate "Craft your perfect <br><span class='text-red'>workout routines</span>" %}
+ <h2 class="w-100 font-bebas-neue display-4 uppercase header-workout">
+ {% translate "Craft your perfect <span>workout routines</span>" %}
</h2>
<ul class="hex-bullet bullet-red">
<li>
@@ -159,8 +159,8 @@
class="img-fluid">
</div>
<div class="col-lg-5 col-sm-12 d-flex flex-column align-items-start justify-content-center">
- <h2 class="w-100 font-bebas-neue display-4 uppercase">
- {% translate "Plan your <br><span class='text-dark-yellow'>daily meals</span>" %}
+ <h2 class="w-100 font-bebas-neue display-4 uppercase header-meals">
+ {% translate "Plan your <span>daily meals</span>" %}
</h2>
<ul class="gap-1 hex-bullet bullet-dark-yellow">
<li>
@@ -192,8 +192,8 @@
</div>
<div
class="col-lg-5 col-sm-12 d-flex flex-column align-items-start justify-content-center py-2">
- <h2 class="w-100 font-bebas-neue display-4 uppercase w-100">
- {% translate "Keep track of <br><span class='text-green'>your progress</span>" %}
+ <h2 class="w-100 font-bebas-neue display-4 uppercase w-100 header-progress">
+ {% translate "Keep track of <span>your progress</span>" %}
</h2>
<ul class="hex-bullet bullet-green">
@@ -237,8 +237,8 @@
class="img-fluid">
</div>
<div class="col-lg-5 col-sm-12">
- <h1 class="display-3 uppercase font-bebas-neue">
- {% translate "Powered By <br><span class='text-dark-blue'>the community</span>" %}
+ <h1 class="display-3 uppercase font-bebas-neue header-community">
+ {% translate "Powered By <span>the community</span>" %}
</h1>
<p style="line-height: 30px;">
{% blocktranslate trimmed %}