Difference between revisions of "User talk:Paxed/ReplaceCharsBlock"

From NetHackWiki
Jump to navigation Jump to search
(Created page with "Seems like when I place '_' above another character, the underscore becomes invisible. As if the bottom pixel got eaten up by the character below it. <div class='ttyscreen'> <rep...")
 
Line 14: Line 14:
  
 
Edit the page and see what was intended. If you can not see the effect let me know and I'll probably make a screenshot (under Google Chrome with whatever default font it uses). BTW, thanks for the cool extension! --[[User:Ylmson|Ylmson]] 18:19, 19 January 2011 (UTC)
 
Edit the page and see what was intended. If you can not see the effect let me know and I'll probably make a screenshot (under Google Chrome with whatever default font it uses). BTW, thanks for the cool extension! --[[User:Ylmson|Ylmson]] 18:19, 19 January 2011 (UTC)
 +
 +
:I played around with css a bit, seems like if instead of using .ttyscreen class, a plain div with style="padding:0;line-height:100%" would make characters show in full. Don't know what exactly should be changed in [[MediaWiki:Common.css]], though. <div style="padding:0;line-height:100%"><replacecharsblock>
 +
default={{lightgray|$1}}
 +
newline=<br>
 +
 +
._.
 +
.@.
 +
</replacecharsblock></div>
 +
:--[[User:Ylmson|Ylmson]] 06:30, 20 January 2011 (UTC)

Revision as of 06:30, 20 January 2011

Seems like when I place '_' above another character, the underscore becomes invisible. As if the bottom pixel got eaten up by the character below it.

._. ._.
.@.
... .@.

Edit the page and see what was intended. If you can not see the effect let me know and I'll probably make a screenshot (under Google Chrome with whatever default font it uses). BTW, thanks for the cool extension! --Ylmson 18:19, 19 January 2011 (UTC)

I played around with css a bit, seems like if instead of using .ttyscreen class, a plain div with style="padding:0;line-height:100%" would make characters show in full. Don't know what exactly should be changed in MediaWiki:Common.css, though.
._.
.@.
--Ylmson 06:30, 20 January 2011 (UTC)