diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-15 01:07:19 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-15 01:07:19 -0800 |
commit | 4d3ec6c7fbad5a4a1c0019d71e33ebc9c62d328e (patch) | |
tree | 233afd05f2e773178e5f3c643d610a6858320d13 /fatcat_scholar/templates/base.html | |
parent | 00bbe2124fc04f252a3074058bcb4871d970ae70 (diff) | |
download | fatcat-scholar-4d3ec6c7fbad5a4a1c0019d71e33ebc9c62d328e.tar.gz fatcat-scholar-4d3ec6c7fbad5a4a1c0019d71e33ebc9c62d328e.zip |
html: some CSS refactoring; make journal row a macro
Diffstat (limited to 'fatcat_scholar/templates/base.html')
-rw-r--r-- | fatcat_scholar/templates/base.html | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 7df0502..595b8c9 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -65,7 +65,7 @@ div.fulltext-link { width: 180px; } - div.serp-hit-box { + div.biblio-record { padding-left: 1.1em; } } @@ -82,13 +82,40 @@ line-height: 1.28571429em; } - .serp-hit-box details > summary { + .biblio-record .biblio-title { + margin-bottom: 0.1em; + font-size: 1.2em; + font-weight: bold; + line-height: 1.2em; + } + .biblio-record .biblio-title a { + color: #2224c7; + } + .biblio-record .release-type { + text-transform: uppercase; + font-weight: bold; + } + .biblio-record .original-title { + font-style: italic; + font-weight: normal; + } + .biblio-record .author-row { + margin-top: 0; + margin-bottom: 0.2em; + font-size: 1.1em; + } + .biblio-record .release-stage { + color: brown; + font-weight: bold; + text-transform: uppercase; + } + .biblio-record details > summary { list-style-type: none; color: #28629c; text-decoration: underline; margin-left: 0.3em; } - .serp-hit-box details > summary::-webkit-details-marker { + .biblio-record details > summary::-webkit-details-marker { display: none; } |