「MediaWiki:Common.css」の版間の差分

提供:Vikipedia
編集の要約なし
編集の要約なし
38行目: 38行目:
}
}


aa {
div.aa {
     font-family: "textar-min";
     font-family: "textar-min";
     font-size: 16px;
     font-size: 16px;

2019年6月20日 (木) 01:40時点における版

/* ここに記述したCSSはすべての外装に反映されます */

/* タイトル書体をWikipediaと同様にする */
body div#content h1, body div#content h2, body div#content #firstHeading { font-family: sans-serif; }

/* フォントサイズ */
.mw-content-ltr { font-size: 15px; }

/* "テンプレート:メインページ/ようこそ" に表示するロゴ */
.globegris { background-image: url("//2ch.me/vikipedia/images/1/10/V3.jpg"); }

/* "メインページ" のタイトル非表示 */
body.page-メインページ #siteSub,
body.page-メインページ #contentSub,
body.page-メインページ .subtitle,
body.page-メインページ h1.firstHeading,
body.page-メインページ h1.pagetitle
{ display: none; }

pre
{
    /* Mozilla */
    white-space: -moz-pre-wrap;
    /* Opera 4-6 */
    white-space: -pre-wrap;
    /* Opera 7 */
    white-space: -o-pre-wrap;
    /* CSS3 */
    white-space: pre-wrap;
    /* IE 5.5+ */
    word-wrap: break-word;
}

@font-face {
    font-family: "textar-min";
    src: url("//2ch.me/vikipedia/textar-min.ttf") format("truetype");
    font-display: swap;
}

div.aa {
    font-family: "textar-min";
    font-size: 16px;
    line-height: 1.13;
    letter-spacing: 0px;
    display: block;
    white-space: pre-line;
    overflow-x: scroll;
    overflow-y: visible;
}

pre.aa
{
    line-height: 1.13;
    letter-spacing: 0px;
    font-family: 'Textar', 'MS PGothic', ' PAMonaPGothic', 'Mona', 'textar-min', sans-serif;
    font-size: 16px;
    border: none;
    background-color: transparent;
    margin-bottom: 0px;
    padding: 0px;
}
/**
  *2018/09/10
pre.aa {
	font-family: IPAMonaPGothic, 'IPA モナー Pゴシック', Monapo, Mona, 'MS PGothic', 'MS Pゴシック', sans-serif !important;
	font-size: 16px !important;
	line-height: 18px !important;
}
  */

/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2012-02-29
 */
.mw-charinsert-buttons {
	margin-top: 10px;
	border: 1px solid #aaaaaa;
	padding: 1px;
	text-align: center;
	font-size: 110%;
}
.mw-charinsert-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	font-size: 0.9em;
	padding-left: 1px;
	padding-right: 1px;
	margin-left: 1px;
}