From b6866c2c2bbcd5501e9d3fe073adfa65e5464aa0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 21 May 2020 16:30:14 -0700 Subject: mobile CSS/style changes, and other small UI tweaks --- fatcat_scholar/templates/about.html | 7 +++ fatcat_scholar/templates/base.html | 52 +++++++++++++--------- fatcat_scholar/templates/home.html | 8 ++-- fatcat_scholar/templates/search.html | 69 ++++++++++++++++++++++------- fatcat_scholar/templates/search_macros.html | 6 +-- 5 files changed, 100 insertions(+), 42 deletions(-) create mode 100644 fatcat_scholar/templates/about.html (limited to 'fatcat_scholar') diff --git a/fatcat_scholar/templates/about.html b/fatcat_scholar/templates/about.html new file mode 100644 index 0000000..ad984ce --- /dev/null +++ b/fatcat_scholar/templates/about.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block main %} +

Some About Content

+ +

Lorem ipsum +{% endblock %} diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index eb3deaa..78d4f29 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -34,8 +34,12 @@ .ui.inverted.menu .item:before { background: none; } @media only screen and (max-width: 479px) { - .mobile-hide{ display: none !important; } + .mobile-hide { display: none !important; } } + @media only screen and (min-width: 480px) { + .mobile-only { display: none !important; } + } + {# for fulltext search result highlighting #} .search_highlights em { {# yellow #} @@ -44,6 +48,13 @@ font-weight: bold; } + .search_filters summary::marker { + display: none; + } + .search_filters summary::-webkit-details-marker { + display: none; + } + footer p a { color: rgba(255, 255, 255, 0.5); } @@ -115,16 +126,15 @@ -{% block fullmain %} +{% block fullbody %}

-
- +
+
+
+ User Guide +
+
-
-{% block fullbody %} -
- {% block body %}Nothing to see here.{% endblock %} +
+{% block fullmain %} +
+ {% block main %}Nothing to see here.{% endblock %}
{% endblock %}
{% endblock %} -
-
-