User:Gminky/global.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK&family=Noto+Sans+JP&family=Noto+Sans+KR&family=Noto+Sans+SC&family=Noto+Sans+TC&family=Noto+Sans:ital@0;1&family=Noto+Serif+HK&family=Noto+Serif+JP&family=Noto+Serif+KR&family=Noto+Serif+SC&family=Noto+Serif+TC&family=Noto+Serif:ital@0;1&display=swap');

@font-face {
  font-family: "New Serif KR";
  src: local("New Serif KR"), url('https://gminky.github.io/font/NewSerifKR-Regular.woff2') format('woff2'), url('https://gminky.github.io/font/NewSerifKR-Regular.woff') format('woff'), url('https://gminky.github.io/font/NewSerifKR-Regular.ttf') format('truetype');
}
@font-face {
  font-family: "New Sans KR";
  src: local("New Sans KR"), url('https://gminky.github.io/font/NewSansKR-Regular.woff2') format('woff2'), url('https://gminky.github.io/font/NewSansKR-Regular.woff') format('woff'), url('https://gminky.github.io/font/NewSansKR-Regular.ttf') format('truetype');
}
@font-face {
  font-family: "KP CheongPong";
  src: local("KP CheongPong"), url('https://gminky.github.io/font/KPCheongPong.woff2') format('woff2'), url('https://gminky.github.io/font/KPCheongPong.woff') format('woff'), url('https://gminky.github.io/font/KPCheongPong.ttf') format('truetype');
}


html, body, textarea#wpTextbox1, .diff-editfont-serif .diff-addedline, .diff-editfont-serif .diff-deletedline, .diff-editfont-serif .diff-context {
	font-family: 'Charis SIL', 'Noto Serif', 'source han serif', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', 'Noto Serif TC', 'Noto Serif HK', 'IPAmjMincho', 'HanaMinA', 'HanaMinB', 'Batang', '바탕', 'Jigmo', 'Jigmo2', 'Jigmo3';
	}
h1, h2, h3, h4, h5, h6, .mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6, .mw-body h1:lang(ja), .mw-body-content h1:lang(ja), .mw-body-content h2:lang(ja), .mw-body-content h3:lang(ja), .mw-body-content h4:lang(ja), .mw-body-content h5:lang(ja), .mw-body-content h6:lang(ja), .mw-body p, .mw-body .mw-editsection,.mw-body .mw-editsection-like, mw-body #firstHeading, .mw-body #toc h2,.mw-body .toc h2 {
	font-family: 'Charis SIL','Noto Serif', 'source han serif', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', 'Noto Serif TC', 'Noto Serif HK', 'IPAmjMincho', 'HanaMinA', 'HanaMinB', 'Batang', '바탕', 'Jigmo', 'Jigmo2', 'Jigmo3';
	}
.mw-body h1:lang(ko), .mw-body-content h1:lang(ko), .mw-body-content h2:lang(ko), .mw-body-content h3:lang(ko), .mw-body-content h4:lang(ko), .mw-body-content h5:lang(ko), .mw-body-content h6:lang(ko) {
	font-family: 'Charis SIL','Noto Serif', 'source han serif', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', 'Noto Serif TC', 'Noto Serif HK','IPAmjMincho', 'HanaMinA', 'HanaMinB', 'Batang', '바탕', 'Jigmo', 'Jigmo2', 'Jigmo3';
	}

span[lang=ko] { font-family: 'source han serif', 'Noto Serif KR'; }
span[lang=ko-KP] { font-family: 'KP CheongPong'; }
span[lang=ko-KR] { font-family: 'NanumMyeongjo', '나눔명조', 'source han serif', 'Noto Serif KR'; }
span[lang=ko-CN] { font-family: '한겨레결체', 'source han serif', 'Noto Serif KR'; }
span[lang=ja] { font-family: 'source han serif', 'Noto Serif JP', IPAmjMincho; }
span[lang=ja-Hrkt] { font-family: 'Meiryo UI', 'IPAmjMincho', 'source han serif', 'Noto Serif JP', 'HanaMinA', 'HanaMinB'; }
.jamocomposed_block { font-family: 'source han serif', 'Noto Serif KR' !important; }
span[lang=ko-Nko] {
	font-family: 'New Serif KR', 'source han serif', 'Noto Serif KR', 'IPAmjMincho', 'HanaMinA', 'HanaMinB', 'Jigmo2', 'Jigmo3';
	} /* 新綴字法 */
.NkoSans {
	font-family: 'New Sans KR', 'source han sans', 'Noto Sans KR', 'IPAmjMincho', 'HanaMinA', 'HanaMinB', 'Jigmo2', 'Jigmo3';
	} /* 新綴字法 */
	
/*見出しデザイン*/
h1 {
  color: #ff99cc; /*ffb3d9 ffc1e0 ffc6e2; 文字色*/
  border-bottom: dashed 2px #ffc1e0; /*線の種類(点線)2px 線色*/
  }
h2 {
  padding: 0.2em; /*文字周りの余白*/
  color: #000000; /*#996b81; 文字色*/
  background: #ffe6f1; /*#ffcce4; 背景色*/
  border-left: solid 5px #ffb2d8; /*左線(実線 太さ 色)*/
  }
h3, h4, h5, h6 {
  padding: 0.1em; /*文字周りの余白*/
  padding-left: 0.2em; /*左側余白. 上top 下bottom*/
  color: #000000; /*#996b81;*//*文字色*/
  background: #f5f5f5; /*背景色*/
  border-left: solid 5px #ffb2d8;/*左線(実線 太さ 色)*/
  }
h4 {
	border-left: solid 5px #ffbcbc;/*左線(実線 太さ 色)*/
	}
h5 {
	border-left: solid 5px #f5c6ab;/*左線(実線 太さ 色)*/
	}
h6 {
	border-left: solid 5px #fddea5;/*左線(実線 太さ 色)*/
	}
/* 改行 */
p {
	word-break: break-all;
}
/* その他 */
@media print {
	/*h2 {
		page-break-before: always;
		}*/
	/* h2ごとで頁区切り */
	.printfooter, #footer, .thumb, table, ol, dl, ul, h3, h4, h5, h6 {
	    font-family: 'Charis SIL','Noto Serif', 'source han serif', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', 'Noto Serif TC', 'Noto Serif HK', 'IPAmjMincho', 'HanaMinA', 'HanaMinB';
	}
	#mw-panel {
	display:none;
	}
	#toc {
	width:90%;
	}
	table {
		break-before:avoid-page;
		break-inside:auto;
		break-after:avoid-page;
	}
	.toc .tocnumber {
    display: contents;
	}
	p:before {
		display:none;
	}
}