Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use the OpenSans font in the mobile version as well

Roland Geiderd816863d8ff4
diff --git a/wger/manager/static/css/workout-manager-common.css b/wger/manager/static/css/workout-manager-common.css
index d5e99c932..50218e512 100644
--- a/wger/manager/static/css/workout-manager-common.css
+++ b/wger/manager/static/css/workout-manager-common.css
@@ -22,6 +22,48 @@
**************************************************************/
+
+/**************************************************************
+ * Font definitions
+ **************************************************************/
+
+/* font-face kit by Fonts2u - http://www.fonts2u.com */
+@font-face {
+ font-family:"Open Sans Light";
+ src:url("/static/fonts/OpenSans-Light.eot?") format("eot"),
+ url("/static/fonts/OpenSans-Light.woff") format("woff"),
+ url("/static/fonts/OpenSans-Light.ttf") format("truetype"),
+ url("/static/fonts/OpenSans-Light.svg#OpenSans-Light") format("svg");
+ font-weight:normal;
+ font-style:normal;
+}
+
+
+@font-face {
+ font-family:"Open Sans";
+ src:url("/static/fonts/OpenSans-Regular.eot?") format("eot"),
+ url("/static/fonts/OpenSans-Regular.woff") format("woff"),
+ url("/static/fonts/OpenSans-Regular.ttf") format("truetype"),
+ url("/static/fonts/OpenSans-Regular.svg#OpenSans") format("svg");
+ font-weight:normal;
+ font-style:normal;
+}
+
+
+@font-face {
+ font-family:"Open Sans Bold";
+ src:url("/static/fonts/OpenSans-Bold.eot?") format("eot"),
+ url("/static/fonts/OpenSans-Bold.woff") format("woff"),
+ url("/static/fonts/OpenSans-Bold.ttf") format("truetype"),
+ url("/static/fonts/OpenSans-Bold.svg#OpenSans-Bold") format("svg");
+ font-weight:normal;
+ font-style:normal;
+}
+
+
+
+
+
/* Use Open Sans for the body text */
.ui-body-c,
.ui-body-c input,
@@ -167,4 +209,4 @@ circle.color-17becf:hover
margin-left: 0px;
padding-left: 0.3em;
cursor: pointer;
-}
\ No newline at end of file
+}
diff --git a/wger/manager/static/css/workout-manager-mobile.css b/wger/manager/static/css/workout-manager-mobile.css
index 48360be04..39aed61b8 100644
--- a/wger/manager/static/css/workout-manager-mobile.css
+++ b/wger/manager/static/css/workout-manager-mobile.css
@@ -131,3 +131,30 @@ div.muscle-background
.muscle-list, .exercise-overview{
padding-left: 0px;
}
+
+
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-family: "Open Sans Light", Arial, Helvetica, sans-serif;
+ font-weight: 300;
+}
+
+
+/**************************************************************
+ * Header
+ **************************************************************/
+
+/*
+ * Add a shadow to the application name
+ */
+header h1{
+ text-shadow: 2px 3px 3px #292929;
+ font-family: "Open Sans Bold", Arial, Helvetica, sans-serif;
+ font-weight: 300;
+}
+