diff --git a/hyperglass/render/templates/index.html.j2 b/hyperglass/render/templates/index.html.j2 index 03a1c06..fd08ce2 100644 --- a/hyperglass/render/templates/index.html.j2 +++ b/hyperglass/render/templates/index.html.j2 @@ -4,10 +4,9 @@
-
+
{% import "templates/title.html.j2" as title %} {{ title.title(branding, primary_asn, size_title="h1", size_subtitle="h4") }} -
diff --git a/hyperglass/render/templates/results.html.j2 b/hyperglass/render/templates/results.html.j2 index d214cf7..22b043a 100644 --- a/hyperglass/render/templates/results.html.j2 +++ b/hyperglass/render/templates/results.html.j2 @@ -1,15 +1,13 @@
-
-
-
-

-
-
- {% import "templates/title.html.j2" as title %} - {{ title.title(branding, primary_asn, size_title="h1", size_subtitle="h4") }} -
+
+
+ {% import "templates/title.html.j2" as title %} + {{ title.title(branding, primary_asn, size_title="h1", size_subtitle="h4", direction="left") }} +
+
+

diff --git a/hyperglass/render/templates/theme.sass.j2 b/hyperglass/render/templates/theme.sass.j2 index 328f310..ff954cc 100644 --- a/hyperglass/render/templates/theme.sass.j2 +++ b/hyperglass/render/templates/theme.sass.j2 @@ -24,6 +24,7 @@ $hg-warning: {{ colors.warning }} $hg-loading: findAltBackgroundColor($hg-background) // Theme Overrides +$enable-responsive-font-sizes: true $theme-colors: ("primary": $hg-primary, "danger": $hg-danger, "warning": $hg-warning, "light": $hg-light, "dark": $hg-dark, "loading": $hg-loading) $body-bg: $hg-background $body-color: findTextColor($body-bg) \ No newline at end of file diff --git a/hyperglass/render/templates/title.html.j2 b/hyperglass/render/templates/title.html.j2 index 44d76b3..5482acf 100644 --- a/hyperglass/render/templates/title.html.j2 +++ b/hyperglass/render/templates/title.html.j2 @@ -1,4 +1,4 @@ -{% macro title(branding, primary_asn, size_title="h1", size_subtitle="h4") -%} +{% macro title(branding, primary_asn, size_title="h1", size_subtitle="h4", direction="none") -%} {% if branding.text.title_mode == 'text_only' %} <{{ size_title }}>{{ branding.text.title }} <{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }} @@ -7,10 +7,12 @@ <{{ size_title }}>{{ branding.text.title }} <{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }} {% elif branding.text.title_mode == 'logo_title' %} - +
+ +
<{{ size_title }}>{{ branding.text.title }} {% elif branding.text.title_mode == 'logo_only' %} -
+
{% endif %} diff --git a/hyperglass/static/overrides.sass b/hyperglass/static/overrides.sass index 3a63e2e..b02ec72 100644 --- a/hyperglass/static/overrides.sass +++ b/hyperglass/static/overrides.sass @@ -258,6 +258,9 @@ margin-bottom: 5% !important padding: unset +#hg-results-title + line-height: unset + .nav-masthead .nav-link & + .nav-link