Skip to content

Instantly share code, notes, and snippets.

@lyshie

lyshie/scratch_3_text.css

Last active Apr 19, 2019
Embed
What would you like to do?
放大 Scratch 3 字型 (Enlarge font size in Scratch 3)
/*
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;
}
@lyshie

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.