Last active
August 10, 2023 16:40
-
-
Save NightFeather/05bd3bdbcaf05a7d66dc59eb7d556264 to your computer and use it in GitHub Desktop.
BIGGER embedded image in ptt.cc
This file contains 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
/* ==UserStyle== | |
@name PTT Image Resize | |
@version 0.0.1 | |
@author Nightfeather | |
*/ | |
@-moz-document domain("www.ptt.cc") { | |
.richcontent { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.richcontent img { | |
max-height: 90dvh; | |
max-width: 80dvw; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment