MediaWiki:Gadget-furigana.user.css: Difference between revisions
Appearance
furigana experiment - working so far on Ontology:Q22,28/PPPA |
m description |
||
| Line 1: | Line 1: | ||
/* ==UserStyle== | /* ==UserStyle== | ||
@name | @name Show furigana (gadget-furigana) | ||
@description Show TTS pronunciations on Japanese text as furigana | @description Show TTS pronunciations on Japanese text as furigana | ||
@namespace github.com/openstyles/stylus | @namespace github.com/openstyles/stylus | ||
Latest revision as of 02:52, 21 January 2026
/* ==UserStyle==
@name Show furigana (gadget-furigana)
@description Show TTS pronunciations on Japanese text as furigana
@namespace github.com/openstyles/stylus
@version 1.0.0
@author reverseDragon
==/UserStyle== */
/* To turn this on all the time, go to Preferences and select gadget-furigana - [https://research.moraleconomy.au/index.php?title=Special:Preferences#mw-prefsection-gadgets]
To easily toggle this style on and off, install a user styles add-on, and then open this URL:
https://research.moraleconomy.au/index.php?action=raw&title=MediaWiki:Gadget-furigana.user.css
this style is experimental. **it's unknown if and when it might cause pages to break.** use it with caution. */
.mediawiki .tts[lang=ja]
{ display: inline-block; position: relative; }
.mediawiki .tts[lang=ja] rt.aural
{ display: block; height: auto; width: 100%;
overflow: auto !important; max-width: none !important;
position: absolute; top: -3px; left: 0; text-align: center; }
/* [[C:Hue configuration Gadgets]] */