Skip to content

Instantly share code, notes, and snippets.

@andy0130tw
Created September 6, 2015 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save andy0130tw/01a14c26b59d8b698f54 to your computer and use it in GitHub Desktop.
Save andy0130tw/01a14c26b59d8b698f54 to your computer and use it in GitHub Desktop.
Fix for BBSFox with Source Han Sans HW.
@namespace url(http://www.w3.org/1999/xhtml);
/**
* Because the text height of Source Han Sans is too tall for a terminal,
* using BBSFox with it would result in a crowding view.
* Thanks to Stylish, we can fix it with some simple CSS,
* whose concept is very simple.
* The position of the cursor should also be shifted after applying this tweak.
*/
@-moz-document regexp("^telnet://.+") {
.BBSLine .s {
display: block;
overflow: hidden;
}
#cursor {
transform: translateY(14px);
}
}
@uWayLu
Copy link

uWayLu commented Sep 7, 2021

Thanks!
Due to pttChrome updated, I use selector "span[data-type="bbsline"]" instead.

@andy0130tw
Copy link
Author

@uWayLu Thanks for your comment to keep this solution up-to-date! But I haven't used BBSFox/PttChrome since then, I am not updating this gist for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment