Repository navigation
Roll out site-wide citation popovers, local references, and citation cards (#200) #1303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
94880cb
Roll out site-wide citation popovers, local references, and citation …
LukasWallrich 5606176
Address cubic review feedback on popover sizing, page locators, and s…
LukasWallrich 9abd407
Show up to 10 authors in suggested citations, style author toggle as …
LukasWallrich 14adcba
Redesign citation popover (compact APA + action bar) and add build-ti…
LukasWallrich 31f4db1
Use plain 'Copy reference' label in citation popover
LukasWallrich 55d3202
Merge origin/rebrand-doors and re-apply neurodiversity citation cards
LukasWallrich 5f669c2
Address cubic review feedback on OA enrichment, citation links, and p…
LukasWallrich fb64c97
Focus first non-close control when pinning a hover popover
LukasWallrich 91517a5
Keep .ref-authors-toggle at inherited font size (>= 15 px)
LukasWallrich a076647
Merge remote-tracking branch 'origin/rebrand-doors' into doors/citati…
LukasWallrich e7f154c
Keep hanging-indent reference lists to 28.4em measure (< 80 chars)
LukasWallrich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,10 @@ | ||
| a.cite{color:inherit;text-decoration:underline dotted 1px var(--soft);text-underline-offset:3px} | ||
| a.cite:hover,a.cite:focus{color:var(--link)} | ||
| /* The button that shows a reference's full author list (layouts/partials/citations/authors.html). */ | ||
| .ref-authors-toggle{display:inline;margin:0 .15em;padding:0 .55em;background:#fff;border:1px solid var(--line);border-radius:999px;color:var(--link);font:600 15px/1.45 var(--text);white-space:nowrap;cursor:pointer;vertical-align:baseline} | ||
| .ref-authors-toggle:hover{border-color:var(--link);text-decoration:underline} | ||
| /* Hanging-indent APA reference lists on articles and pages (glossary term/hub lists set their own rules in glossary.css). | ||
| Keep to the 28.4em paragraph measure so hanging-indented first lines stay under 80 characters. */ | ||
| .article-layout .article-style ul.references-list:not(.term-references){margin:0 0 22px;padding:0;list-style:none;max-width:28.4em} | ||
| .article-layout .article-style ul.references-list:not(.term-references) li{margin:0 0 10px;padding-inline-start:1.5em;text-indent:-1.5em;list-style:none;overflow-wrap:anywhere} | ||
|
LukasWallrich marked this conversation as resolved.
Resolved
|
||
| .article-layout .article-style ul.references-list:not(.term-references) li:last-child{margin-bottom:0} | ||
| /* Inline control that expands a shortened author list (layouts/partials/citations/authors.html). */ | ||
| .ref-authors-toggle{display:inline;margin:0 .15em;padding:0;background:none;border:0;color:var(--link);font:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;white-space:nowrap;cursor:pointer;vertical-align:baseline} | ||
| .ref-authors-toggle:hover{color:var(--ink)} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.