summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/base.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-21 17:07:06 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-21 17:07:06 -0700
commitd12d03bd241d93ffc624747f9f60fdf7fbe18f14 (patch)
tree4fe1d04d9afc81ef38773046d5b7ad67ccccab99 /fatcat_scholar/templates/base.html
parentb6866c2c2bbcd5501e9d3fe073adfa65e5464aa0 (diff)
downloadfatcat-scholar-d12d03bd241d93ffc624747f9f60fdf7fbe18f14.tar.gz
fatcat-scholar-d12d03bd241d93ffc624747f9f60fdf7fbe18f14.zip
UI mobile/tablet scaling; search error improvements
Diffstat (limited to 'fatcat_scholar/templates/base.html')
-rw-r--r--fatcat_scholar/templates/base.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 78d4f29..9c7aba8 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -30,15 +30,29 @@
*/
</script>
<style>
+
+
{# bnewbold: fix light grey bars in header #}
.ui.inverted.menu .item:before { background: none; }
- @media only screen and (max-width: 479px) {
+ @media only screen and (max-width: 767px) {
.mobile-hide { display: none !important; }
}
- @media only screen and (min-width: 480px) {
+ @media only screen and (min-width: 768px) {
.mobile-only { display: none !important; }
}
+ @media only screen and (max-width: 991px) {
+ .tablet-hide { display: none !important; }
+ }
+ @media only screen and (min-width: 992px) {
+ .tablet-only { display: none !important; }
+ }
+ @media only screen and (min-width: 1200px) {
+ .ui.container {
+ font-size: 16px;
+ line-height: 20px;
+ }
+ }
{# for fulltext search result highlighting #}
.search_highlights em {