跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
分类索引
最近更改
随便看看
灵兰秘典
沙盒
捐助本站
帮助
帮助
方针指引
联系我们
关于本站
MediaWiki帮助
中医百科
搜索
搜索
登录
个人工具
登录
查看“Module:Citation/CS1/styles.css”的源代码
模块
讨论
English
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
清除缓存
常规
链入页面
相关更改
特殊页面
页面信息
页面值
短URL
←
Module:Citation/CS1/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
/*-------------------------< P R O T E C T I O N I C O N >-------------------- the following line controls the page-protection icon in the upper right corner it must remain within this comment {{sandbox other||}} */ /*-------------------------< O V E R R I D E S >-------------------------------- cs1|2 references are wrapped in <cite>...</cite> tags. Some wikis have not chosen to override the generic user agent italic styling as en.wiki has. This (untested) styling should override the user agent default when cs1|2 templates are rendered. Similarly, some languages use different quotation punctuation so that setting is also made available here. */ cite.citation { /* Reset italic styling set by user agent (only for cs1|2 templates; the reason for the .citation qualifier) */ font-style: inherit; } .citation q { /* Straight quote marks for <q>; keep same as [[MediaWiki:Common.css]] */ quotes: '"' '"' "'" "'"; } /* ID and URL access Both core and Common.css have selector .mw-parser-output a[href$=".pdf"].external for PDF pages. All TemplateStyles pages are hoisted to .mw-parser-output. We need to have specificity equal to a[href$=".pdf"].external for locks to override PDF icon. */ .citation .cs1-lock-free a { background-position: right .1em center; } .citation .cs1-lock-limited a, .citation .cs1-lock-registration a { background-position: right .1em center; } .citation .cs1-lock-subscription a { background-position: right .1em center; } .cs1-subscription, .cs1-registration { color: #555; } .cs1-subscription span, .cs1-registration span { border-bottom: 1px dotted; cursor: help; } /* Wikisource icon Experiment to see if it is possible/practical to add support for a wikisource icon when |chapter= or |title= is wikilinked to a source in wikisource ala cite wikisource */ .cs1-ws-icon a { background-position: right .1em center; } /* Errors and maintenance */ code.cs1-code { /* <code>...</code> style override: mediawiki's css definition is specified here: https://git.wikimedia.org/blob/mediawiki%2Fcore.git/69cd73811f7aadd093050dbf20ed70ef0b42a713/skins%2Fcommon%2FcommonElements.css#L199 */ color: inherit; background: inherit; border: inherit; /* code editor doesn't like inherit with border? https://www.w3.org/wiki/CSS/Properties/border suggests that inherit is ok the actual spec says the code editor is correct: https://www.w3.org/TR/css-backgrounds-3/#borders */ padding: inherit; } .cs1-hidden-error { display: none; font-size: 100%; } .cs1-visible-error { font-size: 100%; } .cs1-maint { display: none; color: #33aa33; margin-left: 0.3em; } /* Small text size Set small text size in one place. 0.95 (here) * 0.9 (from references list) is ~0.85, which is the lower bound for size for accessibility. Old styling for this was just 0.85. We could write the rule so that when this template is inside references/reflist, only then does it multiply by 0.95; else multiply by 0.85 */ .cs1-subscription, .cs1-registration, .cs1-format { font-size: 95%; } /* kerning */ .cs1-kern-left, .cs1-kern-wl-left { padding-left: 0.2em; } .cs1-kern-right, .cs1-kern-wl-right { padding-right: 0.2em; }
该页面使用的模板:
Template:Sandbox other
(
查看源代码
)
Module:String
(
查看源代码
)
返回
Module:Citation/CS1/styles.css
。
开关有限宽度模式