Skip to content

Instantly share code, notes, and snippets.

@Shinichi-Ohki
Last active February 15, 2025 06:41
Show Gist options
  • Save Shinichi-Ohki/07ef62b43a5030055efe85ed5c92b6bf to your computer and use it in GitHub Desktop.
Save Shinichi-Ohki/07ef62b43a5030055efe85ed5c92b6bf to your computer and use it in GitHub Desktop.
docs.m5stack.comの文字が小さすぎるとお嘆きのあなたに For those of you who lament that the text on docs.m5stack.com is too small
/* ==UserStyle==
@name docs.m5stack.com enlarge font size
@namespace github.com/openstyles/stylus
@version 1.0.0
@description docs.m5stack.comの文字が小さすぎるとお嘆きのあなたに
For those of you who lament that the text on docs.m5stack.com is too small
@author Shinichi Ohki (@ohki)
==/UserStyle== */
@-moz-document url-prefix("http://docs.m5stack.com/"), url-prefix("https://docs.m5stack.switch-science.com/") {
.markdown,
.markdown p ,
.markdown ul li,
.markdown ol li,
.markdown table tbody tr {
font-size: 0.3rem;
font-weight: 300;
}
.side-bar .side-bar-contents .side-bar-collapse .collapse-title {
font-size: 0.3rem;
font-weight: 300;
}
.product-compatible-container {
font-size: 0.3rem;
font-weight: 300;
}
.page-header-container .page-header-content .page-header-item {
font-size: 0.3rem;
font-weight: 300;
}
.side-bar .side-bar-contents .side-bar-collapse .collapse-contents .collapse-contents-item {
font-size: 0.3rem;
font-weight: 300;
}
.directory-container .directory-section .directory-title-level1,
.directory-container .directory-section .directory-title-level2,
.directory-container .directory-section .directory-title-level3 {
font-size: 0.25rem;
font-weight: 300;
}
.pc .product-list-container .ProductItem .ProductName {
font-size: 0.4rem;
font-weight: 400;
}
.pc .product-list-container .ProductItem .ProductDesc {
font-size: 0.2rem;
font-weight: 300;
}
.saerch-fliter-container .search-fliter-options .fliter-option {
font-size: 0.3rem;
font-weight: 300;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment