Skip to content

x.com 文章详情优化 by HahaCodeLife

Details

AuthorHahaCodeLife

LicenseNo License

Categoryx.com

Created

Updated

Size859 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

x.com 页面中文章详情部分的优化

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           x.com/yanbojack/status/1813453502041247972 - 2024年7月
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document regexp("https:\\/\\/x\\.com\\/([a-zA-Z0-9_]+)\\/status\\/(\\d+)") {
	/* 在此插入代码... */
	/* 设置详情页的样式 */
	div.css-146c3p1.r-bcqeeo.r-1ttztb7 {
		/* 这里是你的样式设置 */
		font-size: 32px !important;
		line-height: 38px !important;
		/* 其他可能的样式属性 */
	}
	div.css-175oi2r.r-aqfbo4.r-10f7w94.r-1hycxz {
		display: none;
	}
	div.css-175oi2r.r-14lw9ot.r-jxzhtn.r-1ua6aaf.r-th6na.r-1phboty.r-16y2uox.r-184en5c.r-1c4cdxw.r-1t251xo.r-f8sm7e.r-13qz1uu.r-1ye8kvj {
		min-width: 1200px;	
	}
	header.css-175oi2r.r-lrvibr.r-1g40b8q.r-obd0qt.r-16y2uox {
		margin-left: -400px;
	}
}

Reviews

No reviews yet.