Last active
March 15, 2023 10:59
-
-
Save lyshie/c0199250041ad78a8219181efa44a816 to your computer and use it in GitHub Desktop.
放大 Scratch 3 字型 (Enlarge font size in Scratch 3)
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
/* | |
1. Install Stylus (https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne) | |
2. URL: Regular expression (https://scratch.mit.edu/projects/.*editor.*) | |
*/ | |
/* | |
* { | |
font-family: "微軟正黑體" !important; | |
} | |
*/ | |
/* 減少高度(最上面一排的選單) */ | |
div.menu-bar_menu-bar_JcuHF, | |
div.menu-bar_menu-bar-item_oLDa-, | |
div.menu-bar_menu-bar-item_oLDa- span, | |
div.menu-bar_menu-bar-item_oLDa- div, | |
div.menu-bar_menu-bar-item_oLDa- input { | |
height: 32px; | |
} | |
/* 減少高度(最上面一排的選單) */ | |
div.menu-bar_menu-bar-item_oLDa- span, | |
div.menu-bar_menu-bar-item_oLDa- div, | |
div.menu-bar_menu-bar-item_oLDa- input { | |
padding: 2px; | |
} | |
/* 一般文字標籤 */ | |
span { | |
font-size: 14px; | |
font-weight: bold !important; | |
text-shadow: 0.03em 0.03em 0.03em #999999 !important; | |
} | |
/* 程式積木分類文字 */ | |
div.scratchCategoryMenuItemLabel { | |
font-size: 14px !important; | |
font-weight: bold !important; | |
text-shadow: 0.03em 0.03em 0.03em #999999 !important; | |
} | |
/* 積木文字 */ | |
.blocklyText, .blocklyHtmlInput { | |
font-size: 20px !important; | |
font-weight: bold !important; | |
text-shadow: 0.03em 0.03em 0.03em #999999 !important; | |
} | |
/* | |
sprite-selector-item: 角色名稱 | |
label_input-label: 角色一般文字標籤 | |
labeled-icon-button: 繪圖工具按鈕 | |
input_input-form: 可輸入的文字區域 | |
*/ | |
div[class^="sprite-selector-item"], | |
span[class^="label_input-label"], | |
span[class^="labeled-icon-button"], | |
input[class^="input_input-form"] { | |
font-size: 12px !important; | |
font-weight: bold !important; | |
text-shadow: 0.03em 0.03em 0.03em #999999 !important; | |
} | |
/* 程式註解文字 */ | |
.scratchCommentText { | |
font-size: 20px !important; | |
font-weight: bold !important; | |
text-shadow: 0.03em 0.03em 0.03em #999999 !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
請參考 http://class.tn.edu.tw/modules/tad_web/news.php?WebID=1384&NewsID=19760