「モジュール:Documentation/styles.css」の版間の差分

提供:桜江古文書を現代に活かす会
ナビゲーションに移動 検索に移動
mw_>えのきだたもつ
(「モジュール:Documentation/styles.css」の保護レベルを変更しました: Wikipedia:保護の方針#半永久的な保護影響が特に大きいテンプレート」に基づき無期限拡張半保護 ([編集=拡張承認された利用者と管理者に許可] (無期限) [移動=拡張承認された利用者と管理者に許可] (無期限)))
(1版 をインポートしました)
1行目: 1行目:
/* {{pp-template}} */
+
.ts-doc-sandbox .mbox-image {
.documentation,
+
padding:.75em 0 .75em .75em;
.documentation-metadata {
+
}
border: 1px solid #a2a9b1;
+
background-color: #ecfcf4;
+
.ts-doc-doc {
 
clear: both;
 
clear: both;
 +
background-color: #eaf3ff;
 +
border: 1px solid #a3caff;
 +
margin-top: 1em;
 +
border-top-left-radius: 2px;
 +
border-top-right-radius: 2px;
 +
}
 +
 +
.ts-doc-header {
 +
background-color: #c2dcff;
 +
padding: .642857em 1em .5em;
 +
border-top-left-radius: 2px;
 +
border-top-right-radius: 2px;
 
}
 
}
  
.documentation {
+
.ts-doc-header .ts-tlinks-tlinks {
margin: 1em 0 0 0;
+
line-height: 24px;
padding: 1em;
+
margin-left: 0;
 
}
 
}
  
.documentation-metadata {
+
.ts-doc-header .ts-tlinks-tlinks a.external {
margin: 0.2em 0; /* same margin left-right as .documentation */
+
color: #0645ad;
    font-style: italic;
 
    padding: 0.4em 1em; /* same padding left-right as .documentation */
 
 
}
 
}
  
.documentation-startbox {
+
.ts-doc-header .ts-tlinks-tlinks a.external:visited {
padding-bottom: 3px;
+
color: #0b0080;
border-bottom: 1px solid #aaa;
 
margin-bottom: 1ex;
 
 
}
 
}
  
.documentation-heading {
+
.ts-doc-header .ts-tlinks-tlinks a.external:active {
font-weight: bold;
+
color: #faa700;
font-size: 125%;
 
 
}
 
}
  
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
+
.ts-doc-content {
 +
padding: .214286em 1em;
 +
}
 +
 
 +
.ts-doc-content:after {
 +
content: '';
 
clear: both;
 
clear: both;
 +
display: block;
 +
}
 +
 +
.ts-doc-heading {
 +
display: inline-block;
 +
padding-left: 30px;
 +
background: center left/24px 24px no-repeat;
 +
/* @noflip */
 +
background-image: url(//upload.wikimedia.org/wikipedia/commons/f/fb/OOjs_UI_icon_puzzle-ltr.svg);
 +
height: 24px;
 +
line-height: 24px;
 +
font-size: 13px;
 +
font-weight: 600;
 +
letter-spacing: 1px;
 +
text-transform: uppercase;
 +
}
 +
 +
.ts-doc-content > *:first-child,
 +
.ts-doc-footer > *:first-child {
 +
margin-top: .5em;
 +
}
 +
 +
.ts-doc-content > *:last-child,
 +
.ts-doc-footer > *:last-child {
 +
margin-bottom: .5em;
 +
}
 +
 +
.ts-doc-footer {
 +
background-color: #eaf3ff;
 +
border: 1px solid #a3caff;
 +
padding: .214286em 1em;
 +
margin-top: .214286em;
 +
font-style: italic;
 +
border-bottom-left-radius: 2px;
 +
border-bottom-right-radius: 2px;
 
}
 
}
  
.documentation-toolbar {
+
@media all and (min-width: 720px) {  
font-style: normal;
+
.ts-doc-header .ts-tlinks-tlinks {
font-size: 85%;
+
float: right;
 +
}
 
}
 
}
/* [[カテゴリ:テンプレートスタイル]] */
 

2021年11月19日 (金) 10:40時点における版

.ts-doc-sandbox .mbox-image	{
	padding:.75em 0 .75em .75em;
}
	
.ts-doc-doc {
	clear: both;
	background-color: #eaf3ff;
	border: 1px solid #a3caff;
	margin-top: 1em;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.ts-doc-header {
	background-color: #c2dcff;
	padding: .642857em 1em .5em;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.ts-doc-header .ts-tlinks-tlinks {
	line-height: 24px;
	margin-left: 0;
}

.ts-doc-header .ts-tlinks-tlinks a.external {
	color: #0645ad;
}

.ts-doc-header .ts-tlinks-tlinks a.external:visited {
	color: #0b0080;
}

.ts-doc-header .ts-tlinks-tlinks a.external:active {
	color: #faa700;
}

.ts-doc-content {
	padding: .214286em 1em;
}

.ts-doc-content:after {
	content: '';
	clear: both;
	display: block;
}

.ts-doc-heading {
	display: inline-block;
	padding-left: 30px;
	background: center left/24px 24px no-repeat;
	/* @noflip */
	background-image: url(//upload.wikimedia.org/wikipedia/commons/f/fb/OOjs_UI_icon_puzzle-ltr.svg);
	height: 24px;
	line-height: 24px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.ts-doc-content > *:first-child,
.ts-doc-footer > *:first-child {
	margin-top: .5em;
}

.ts-doc-content > *:last-child,
.ts-doc-footer > *:last-child {
	margin-bottom: .5em;
}

.ts-doc-footer {
	background-color: #eaf3ff;
	border: 1px solid #a3caff;
	padding: .214286em 1em;
	margin-top: .214286em;
	font-style: italic;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

@media all and (min-width: 720px) { 
	.ts-doc-header .ts-tlinks-tlinks {
		float: right;
	}
}