/* ==UserStyle== @name Tieba-Maverick @Purple @version 20240112.0 @description Tieba-Maverick自定义风格Demo @namespace https://github.com/imaverickk @author Maverick @license CC-BY-NC-4.0 @homepageURL https://github.com/imaverickk/Tieba-Maverick-UserCSS @supportURL https://github.com/imaverickk/Tieba-Maverick-UserCSS/issues @updateURL https://raw.githubusercontent.com/imaverickk/Tieba-Maverick-UserCSS/master/custom-styles/purple.user.css @preprocessor uso ==/UserStyle== */ /* 此样式通过修改主样式的变量实现自定义风格 你需要先安装主样式 并保证主样式在此样式之前加载 此示例目前仅对贴子列表页,内容页,个人贴吧,i贴吧,贴吧首页生效 如果您需要创建应用于贴吧全局的风格,请将应用对象修改为域tieba.baidu.com */ @-moz-document regexp("^https?://(tieba\\.baidu\\.com|www\\.tieba\\.com)((/+f(/+good)?\\?.*)|(/[0-9a-zA-Z_%]+([?#]+.*)*))$"), regexp("^https?://(tieba\\.baidu\\.com|www\\.tieba\\.com)/+p/+.*$"), regexp("^https?://(tieba\\.baidu\\.com|www\\.tieba\\.com)/+home/+.*$"), regexp("^https?://(tieba\\.baidu\\.com|www\\.tieba\\.com)/+i/+.*$"), regexp("^https?://(tieba\\.baidu\\.com|www\\.tieba\\.com)/+show/+zhanqi/+roomList\\\\?.*$"), regexp("^https?://(tieba\\.baidu\\.com|www\\.tieba\\.com)/+bawu2/+platform/+(detailsInfo|listBawuTeamInfo|listCandidateInfo|listMemberInfo)\\\\?.*$"), regexp("^https?://(tieba\\.baidu\\.com|www\\.tieba\\.com)/+(index.html.*)*([\\\\?#]+.*)*$") { :root{ /*你可在主样式的代码中找到下列变量的说明*/ --m-ecolor: #6d2d9b; --m-ehcolor: #b450dd; --m-href-color: hsl(239, 0%, 100%); --m-href-visited: hsl(295, 0%, 85%); --m-bgcolor: rgb(33, 33, 33); --m-bgimage: url(https://imgsa.baidu.com/forum/pic/item/2f39a782b9014a903763ab61a7773912b21beeb8.jpg); --m-content-bg: rgba(0,0,0,.24); --m-content-shadow: none; --m-light-min: 100%; --m-light-max: 80%; --m-clight-min: 100%; --m-clight-max: 90%; --m-line-darken-lightness: 0%; --m-block-darken-lightness: 0%; --m-line-darken: 1.2; --m-block-darken: 3; --m-white-lightness: 20%; --m-black-lightness: 100%; --m-searchbar-lightness: 100%; --m-searchbar-opacity-incr: 0.04; --m-searchbar-fade: 0; --m-mark-bg: rgba(0,0,0,.2); } }