From 48e8c61a89781df02727dbd843d7792af6e6c0de Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 13 Jan 2021 18:07:06 -0800 Subject: serp: expand abstracts using
This isn't very polished, but a start, and uses no javascript. --- fatcat_scholar/templates/base.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'fatcat_scholar/templates/base.html') diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 8ac8096..138940d 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -74,6 +74,16 @@ line-height: 1.28571429em; } + .serp-hit-box details > summary { + list-style-type: none; + color: #28629c; + text-decoration: underline; + margin-left: 0.3em; + } + .serp-hit-box details > summary::-webkit-details-marker { + display: none; + } + {# fix RTL dividers #} {% if locale in ['ar'] %} .ui.divided.grid:not([class*="vertically divided"])>.column:not(.row), .ui.divided.grid:not([class*="vertically divided"])>.row>.column { -- cgit v1.2.3