<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ACitation%2FCS1%2Fstyles.css</id>
	<title>模块:Citation/CS1/styles.css - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ACitation%2FCS1%2Fstyles.css"/>
	<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Citation/CS1/styles.css&amp;action=history"/>
	<updated>2026-04-08T19:27:56Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Citation/CS1/styles.css&amp;diff=2138&amp;oldid=prev</id>
		<title>imported&gt;Dabao qian：​回退到由Dabao qian（讨论）做出的修订版本88774638</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Citation/CS1/styles.css&amp;diff=2138&amp;oldid=prev"/>
		<updated>2025-08-18T04:09:08Z</updated>

		<summary type="html">&lt;p&gt;回退到由&lt;a href=&quot;/index.php?title=%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Dabao_qian&quot; title=&quot;特殊:用户贡献/Dabao qian&quot;&gt;Dabao qian&lt;/a&gt;（&lt;a href=&quot;/index.php?title=%E7%94%A8%E6%88%B7%E8%AE%A8%E8%AE%BA:Dabao_qian&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;用户讨论:Dabao qian（页面不存在）&quot;&gt;讨论&lt;/a&gt;）做出的修订版本88774638&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/*-------------------------&amp;lt; P R O T E C T I O N   I C O N &amp;gt;--------------------&lt;br /&gt;
&lt;br /&gt;
the following line controls the page-protection icon in the upper right corner&lt;br /&gt;
it must remain within this comment&lt;br /&gt;
	{{sandbox other||}}&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*-------------------------&amp;lt; O V E R R I D E S &amp;gt;--------------------------------&lt;br /&gt;
&lt;br /&gt;
cs1|2 references are wrapped in &amp;lt;cite&amp;gt;...&amp;lt;/cite&amp;gt; tags.  Some wikis have not&lt;br /&gt;
chosen to override the generic user agent italic styling as en.wiki has.  This&lt;br /&gt;
(untested) styling should override the user agent default when cs1|2 templates&lt;br /&gt;
are rendered.&lt;br /&gt;
&lt;br /&gt;
Similarly, some languages use different quotation punctuation so that setting&lt;br /&gt;
is also made available here.&lt;br /&gt;
*/&lt;br /&gt;
cite.citation {&lt;br /&gt;
	font-style: inherit; /* Remove italics for &amp;lt;cite&amp;gt; */&lt;br /&gt;
	/* Break long urls, etc., rather than overflowing box */&lt;br /&gt;
	word-wrap: break-word;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.citation q {&lt;br /&gt;
	/* Straight quote marks for &amp;lt;q&amp;gt;; keep same as [[MediaWiki:Common.css]] */&lt;br /&gt;
	quotes: &amp;#039;&amp;quot;&amp;#039; &amp;#039;&amp;quot;&amp;#039; &amp;quot;&amp;#039;&amp;quot; &amp;quot;&amp;#039;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Highlight linked elements (such as clicked references) in blue */&lt;br /&gt;
.citation:target {&lt;br /&gt;
	/* ignore the linter - all browsers of interest implement this */&lt;br /&gt;
	background-color: rgba(0, 127, 255, 0.133);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* ID and URL access&lt;br /&gt;
Both core and Common.css have selector .mw-parser-output a[href$=&amp;quot;.pdf&amp;quot;].external&lt;br /&gt;
for PDF pages. All TemplateStyles pages are hoisted to .mw-parser-output. We need&lt;br /&gt;
to have specificity equal to a[href$=&amp;quot;.pdf&amp;quot;].external for locks to override PDF icon.&lt;br /&gt;
That&amp;#039;s essentially 2 classes and 1 element.&lt;br /&gt;
&lt;br /&gt;
the .id-lock-... selectors are for use by non-citation templates like&lt;br /&gt;
{{Catalog lookup link}}&lt;br /&gt;
&lt;br /&gt;
bg-size `contain` in Minerva and Timeless is too large, so we set a size for them&lt;br /&gt;
and then exclude them later&lt;br /&gt;
*/&lt;br /&gt;
.id-lock-free.id-lock-free a {&lt;br /&gt;
	background: url(//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg)&lt;br /&gt;
		right 0.1em center/9px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.id-lock-limited.id-lock-limited a,&lt;br /&gt;
.id-lock-registration.id-lock-registration a {&lt;br /&gt;
	background: url(//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg)&lt;br /&gt;
		right 0.1em center/9px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.id-lock-subscription.id-lock-subscription a {&lt;br /&gt;
	background: url(//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg)&lt;br /&gt;
		right 0.1em center/9px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Wikisource&lt;br /&gt;
Wikisource icon when |chapter= or |title= is wikilinked to Wikisource&lt;br /&gt;
as in cite wikisource&lt;br /&gt;
*/&lt;br /&gt;
.cs1-ws-icon a {&lt;br /&gt;
	background: url(//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg)&lt;br /&gt;
		right 0.1em center/12px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-free a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-limited a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-registration a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-subscription a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .cs1-ws-icon a {&lt;br /&gt;
	background-size: contain;&lt;br /&gt;
	/* Common.css has a padding set for PDF URLs. bg-contain expands to the&lt;br /&gt;
	 * size of the padding which makes the icons very large. we &amp;quot;reset&amp;quot; the&lt;br /&gt;
	 * padding here. 1em picked out of a hat based on console having a similar&lt;br /&gt;
	 * rule from elsewhere&lt;br /&gt;
	 */&lt;br /&gt;
	padding: 0 1em 0 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Errors and maintenance */&lt;br /&gt;
.cs1-code {&lt;br /&gt;
	/* &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; style override: mediawiki&amp;#039;s css definition is specified here:&lt;br /&gt;
	https://git.wikimedia.org/blob/mediawiki%2Fcore.git/&lt;br /&gt;
		69cd73811f7aadd093050dbf20ed70ef0b42a713/skins%2Fcommon%2FcommonElements.css#L199&lt;br /&gt;
	*/&lt;br /&gt;
	color: inherit;&lt;br /&gt;
	background: inherit;&lt;br /&gt;
	border: none;&lt;br /&gt;
	padding: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-hidden-error {&lt;br /&gt;
	display: none;&lt;br /&gt;
	color: var(--color-error, #d33);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-visible-error {&lt;br /&gt;
	color: var(--color-error, #d33);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-maint {&lt;br /&gt;
	display: none;&lt;br /&gt;
	color: #085;&lt;br /&gt;
	margin-left: 0.3em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* kerning */&lt;br /&gt;
.cs1-kern-left {&lt;br /&gt;
	padding-left: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-kern-right {&lt;br /&gt;
	padding-right: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* selflinks – avoid bold font style when cs1|2 template links to the current page */&lt;br /&gt;
.citation .mw-selflink {&lt;br /&gt;
	font-weight: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media screen {&lt;br /&gt;
	/* Small text size&lt;br /&gt;
	Set small text size in one place. 0.95 (here) * 0.9 (from references list) is&lt;br /&gt;
	~0.85, which is the lower bound for size for accessibility. Old styling for this&lt;br /&gt;
	was just 0.85. We could write the rule so that when this template is inside&lt;br /&gt;
	references/reflist, only then does it multiply by 0.95; else multiply by 0.85 */&lt;br /&gt;
	.cs1-format {&lt;br /&gt;
		font-size: 95%;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	html.skin-theme-clientpref-night .cs1-maint {&lt;br /&gt;
		color: #18911f;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media screen and (prefers-color-scheme: dark) {&lt;br /&gt;
	html.skin-theme-clientpref-os .cs1-maint {&lt;br /&gt;
		color: #18911f;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>imported&gt;Dabao qian</name></author>
	</entry>
</feed>