MediaWiki talk:Gadget-ReferenceTooltips.js: Difference between revisions
Content deleted Content added
→Update request 9 July 2024: reply to Traumnovelle: Yes, see #Update request 14 July 2024. (-) |
→Update request 9 July 2024: reply to SWinxy |
||
Line 276:
:::::::(Plus I don't want to sound like an old person but footnotes are smaller in physical books. [[Special:Contributions/78.3.197.2|78.3.197.2]] ([[User talk:78.3.197.2|talk]]) 19:45, 12 July 2024 (UTC))
:::::Disagree per what IP wrote. The old style was fine and I would like it restored. [[User:Traumnovelle|Traumnovelle]] ([[User talk:Traumnovelle|talk]]) 09:25, 13 July 2024 (UTC)
:::::Several thoughts:
:::::* Work to compute is secondary here, but there should be a rationale for smaller font from a design perspective.
:::::* Technically we don't have the current font size of Reference Tooltips in [https://doc.wikimedia.org/codex/latest/design-tokens/font.html#font-size design tokens] that we are recommended to use. Page Previews also use the default font size, 14px.
:::::* ''"I think it would look awkward. At least harder to tell apart from body text"'' – in theory, yes, but in practice, I think, the tooltip content is already well-isolated by border + paddings + shadow. My hypothesis is that you'll quickly get used to the body font size once you enable it. To test this hypothesis, you can add this<syntaxhighlight lang="css">
.rt-overlay.rt-overlay {
font-size: var(--font-size-medium, 14px);
}
</syntaxhighlight>to [[special:mypage/common.css|your common.css]] and, after some time, say how it goes. I added it to mine.
:::::* ''"footnotes are smaller in physical books"'' – obviously [[WP:NOTPAPER]], but if the argument goes "Footnotes are smaller in the reference section itself", the counterargument is "The reference in a tooltip is isolated and doesn't compete for space or attention with anything, so there is no reason to downsize it".
::::: [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 09:52, 14 July 2024 (UTC)
::{{tq|1=Footnote boxes are the same width as before but now much less text fits on each line}}<br>This actually made me think that probably we should also made the tooltip wider when the user opted for the large font size in ''Vector''. [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 06:57, 10 July 2024 (UTC)
:::Do your updates fix the gadget on Vector 2010? [[User:Traumnovelle|Traumnovelle]] ([[User talk:Traumnovelle|talk]]) 09:26, 14 July 2024 (UTC)
|