LLWiki正在建设中,欢迎加入我们

MediaWiki:Gadget-templates-styles.css

来自LLWiki
跳转到导航 跳转到搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
/* 桌面版、手机版通用的用于模板的css类 */
/* charablock */
.memberblock {
	margin-right: 0.4em;
	padding: 0 0.2em;
	display: inline-block !important;
}
.charablock {
	display:inline-block;
	width:0.5em;
	height: 1em;
	vertical-align: middle;
	margin-right: 0.5em;
}
.cdpic {
	display: inline-block;
	position: relative;
	min-width: 50px;
	min-height: 50px;
}
.cdpic > .new::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url("/mediawiki/img_auth.php/9/94/Nowprinting.png");
	background-size: contain;
}
/* 信息框模板 */
table.infoboxtemplate {
	float:right;
	width:280px;
	padding:1px;
	font-size:small;
	text-align:center;
	box-sizing:border-box;
	border-radius:5px;
	background-color:#F3F5F7;
	border:1px solid #D4DBE2;
	margin: 0 0 20px 20px;
}
.infoboxtemplate > tbody > tr:first-child {
	font-size:15px;
}
.infoboxtemplate th:only-child {
	padding:3px;
	color:white;
	border-radius:5px;
}
.infoboxtemplate table tr:first-child a {
	font-weight:normal;
}
.infoboxtemplate td, .infoboxtemplate th {
	min-width:6em;
}
.skin-minerva .infoboxtemplate table {
	display:table;
	margin:0;
}
.infoboxtemplate .tabs-tabbox {
	margin:0;
}
.infoboxtemplate .tabs-tabbox.tabs-plain .tabs-label {
	margin-left:2px;
}
/* 提示信息,如消歧义等 */
.notice {
	text-align: justify;
	margin: 5px 1em;
	padding: 0.2em;
	font-size:small;
}
@media screen and (min-width:720px) {
	.notice-top {
		width:calc(100% - 300px - 2em);
		display:inline-block;
		margin-right:0;
	}
}
/* 用戶框 */
.userbox {
	float:left;
	border-collapse:collapse;
	border-spacing:0;
}
.skin-minerva .userbox {
	margin:0;
}
.userbox tr {
	height:72px;
}
.userbox th:nth-of-type(2) {
	width:148px;
	min-width:148px;
}
/* doc */
.documentation .edit-page {
	display:none;
}
.documentation code, .documentation .template-code,
.documentation pre, .documentation .template-pre {
	background-color:#f8f9fa;
}
/* 提示信息 */
table.infobox {
	clear:both;
	border:1px solid #D4DBE2;
	border-radius:5px;
	border-left:15px solid;
	box-sizing:border-box;
	margin:5px auto;
	text-align:center;
}
.infobox td:last-child {
	padding-left:5px;
	text-align:left;
}
.song-table, .comic-table {
	text-align:center;
}
.song-table img, .song-table .lazy-image-placeholder,
.comic-table img, .comic-table .lazy-image-placeholder {
	min-width:50px;
}
.song-table .memberlink {
	display:inline-block;
}
.specialrow {
	color:#989898;
}
.comic-table tr:not(.specialrow) td:nth-last-child(3) {
	word-break:break-all;
}
/* tracklist和stories */
.tracklist {
	text-align:left;
	margin:0;
	padding:4px;
}
.tracklist tr:nth-child(even) {
	background-color:#eee;
}
.tracklist tr:nth-child(odd) {
	background-color:#fff;
}
.skin-minerva .tracklist tr:nth-child(odd) {
	background-color:#f8f8f8;
}
.tracklist th, .tracklist td,
/* to overwrite "wikitable" on mobile */
.tracklist td:first-child {
	padding:0.2em 0.4em;
}
.tracklist th {
	text-align:center;
}
.tracklist tr:nth-child(2) > th {
	white-space:nowrap;
}
.tracklist td:first-child, .tracklist-length td:last-child {
	text-align:right;
}
.tracklist.wikitable tr:hover {
	background-color: #b3d4fc;
}
.story-wrapper > .tabs-input-1:checked ~ .tabs-container .tabs-content-1,
.story-wrapper > .tabs-input-2:checked ~ .tabs-container .tabs-content-2,
.story-wrapper > .tabs-input-0:checked ~ .tabs-container .tabs-content-1 {
	display: inline;
}
.story {
	width: 80%;
}
.story td:first-child {
	white-space:nowrap;
	width:0;
}
.story-icon img, .story-icon .lazy-image-placeholder {
	width: 20px !important;
	height: auto !important;
	vertical-align: text-bottom;
}
.story-icon span {
	vertical-align: top; /* Safari */
}
/* 广播节目表 */
.radio-list {
	font-size:small;
	text-align:center;
}
.radio-list td:nth-child(-n+2) {
	text-align:right;
}
.radio-with-comment td:last-child {
	text-align:left;
}
/* URL連結 */
.video-link {
	text-align:center;
}
.video-link, code, pre, .template-code, .template-pre {
	font-family: Menlo,Consolas,'Liberation Mono','Courier New',monospace;
}
/* 表格中的NaN */
.wikitable .table-none {
	border: none;
	background-color: #e5e7e9;
}
.skin-minerva .wikitable tr:last-child > .table-none {
	border-bottom: 1px solid rgba(84,89,93,0.3);
}
.skin-minerva .wikitable .table-none:last-child {
	border-right: 1px solid rgba(84,89,93,0.3);
}
/* 演唱會歌單 */
.concert-list {
	border-collapse: collapse;
	border: 2px solid #eaedf0;
	background-color: #f2f4f6;
	color: #7a7c7e;
	text-align: center;
}
.concert-list tr:nth-child(2) {
	color: #fff;
}
.concert-list tr:nth-child(even) {
	background-color: #fbfdff;
}
.skin-minerva .concert-list {
	display: table;
}
@media screen and (min-width:720px) {
	.concert-list {
		min-width:500px;
	}
}
.skin-minerva .concert-list small {
	font-size: small;
}
.skin-minerva .concert-list .cvlink {
	display: inline-block;
	white-space: nowrap;
}
/* 卡面 */
table.card-display {
	border-collapse: collapse;
	margin: 2px;
	border-radius: 8px;
	display:table;
	width: auto !important;
}
.card-display > tbody > tr:first-child > th:first-child {
	border-radius: 8px 0 0 8px;
	color: white;
	padding: 0 1em;
}
.card-display > tbody > tr:first-child > th:nth-child(2) {
	text-align:right;
	padding-left: 0.5em;
}
.card-display > tbody > tr:first-child > th:last-child {
	text-align:left;
	padding-right: 0.5em;
}
.card-display > tbody > tr:nth-child(3) {
	color: white;
}
.card-display.mw-collapsed > tbody > tr:not(:first-child) {
	display: none;
}
@media screen and (max-width:720px) {
	.card-display:not(.mw-collapsed) > tbody > tr:first-child > th:first-child {
		padding:0.2em;
		width:1.8em;
	}
}
.card-display table {
	margin: 0;
	border-collapse: collapse;
	font-size: small;
	width: 100%;
	height: 100%;
	display:table;
}
.card-display table td {
	padding:0 5px;
}
/* 歌词 */
.lyrics-info {
	display:flow-root;
	border:1px solid;
	margin:2px auto 1em auto;
	padding:2px 10px;
	text-align:center;
	font-size:small;
	font-weight:bold;
	max-width:1080px;
}
/* AS歌曲 */
table.as-song {
	display:table;
	border-collapse:collapse;
	font-size:small;
	text-align:center;
	margin:2px;
	float:left;
}
.as-song tr:not(:first-child) {
	white-space:nowrap;
}
.as-song tr {
	height:30px;
}
.as-song tr:first-child, .as-song tr:last-child {
	height:auto;
}
.as-song img {
	min-width:1.2em;
}
.as-song tr:nth-child(2) img,
.as-song tr:nth-child(2) .lazy-image-placeholder {
	width:180px !important;
	height:auto !important;
}
/* code和pre */
.skin-minerva .template-code {
	padding: 0.2em 0.5em;
	border: solid 1px #c8ccd1;
	white-space: pre-wrap;
}
.skin-minerva .template-pre {
	padding: 1em;
	border: solid 1px #c8ccd1;
	white-space: pre-wrap;
	word-wrap: break-word;
}
.skin-minerva .template-pre p {
	margin: -1.6em 0;
}
/* image模板 */
.template-image {
	display:inline-block;
	vertical-align:middle;
	overflow:hidden;
}
.template-image a > img, .template-image a > .lazy-image-placeholder {
	max-width: none !important;
}
/* 遊戲消息 */
table.sif-notice, table.as-notice, table.llll-notice {
	display:inline-table;
	vertical-align:top;
	margin:5px;
	border-collapse:separate;
	border-spacing:0;
	border-radius:8px;
	overflow:hidden;
}
table.sif-notice {
	border:1px solid #9FDFC7;
	color:#164130;
}
table.as-notice {
	border:1px solid #FFA3BC;
	color:#470013;
}
table.llll-notice {
	border:1px solid #F5ABB7;
	color:#804951;
}
.sif-notice tr:nth-child(1), .as-notice tr:nth-child(1), .llll-notice tr:nth-child(1) {
	color:white;
	padding:3px;
	font-size:large;
}
.sif-notice tr:nth-child(odd) {
	background-color:#E0F5ED
}
.as-notice tr:nth-child(odd) {
	background-color:#FFE5EC
}
.llll-notice tr:nth-child(odd) {
	background-color:#FCE8E6;
}
.sif-notice td, .as-notice td, .llll-notice td {
	padding:1px 0.5em;
}
table.sif-notice ul, table.sif-notice ol, table.as-notice ul, table.as-notice ol, table.llll-notice ul, table.llll-notice ol {
	padding-left: 0;
	margin-left: 1.1em;
}

span.game-item img, .game-item .lazy-image-placeholder {
	width: 1.2em !important;
	height: auto !important;
	min-width: 0;
	vertical-align: text-bottom;
}

/* 窄屏表格相关修正 */
@media screen and (max-width: 630px) {
	table.infoboxtemplate, table.infobox, table.sif-notice, table.as-notice {
		min-width: 100%;
	}
}
.skin-minerva .infoboxtemplate, .skin-minerva .infobox {
	display: table;
	border-collapse: separate;
}