「MediaWiki:Common.css」の版間の差分
編集の要約なし |
編集の要約なし |
||
2行目: | 2行目: | ||
/* タイトル書体をWikipediaと同様にする */ | /* タイトル書体をWikipediaと同様にする */ | ||
body div#content h1, body div#content h2, body div#content #firstHeading { font-family: sans-serif; } | body div#content h1, | ||
body div#content h2, | |||
body div#content #firstHeading { | |||
font-family: sans-serif; | |||
} | |||
/* フォントサイズ */ | /* フォントサイズ */ | ||
.mw-content-ltr { font-size: 15px; } | .mw-content-ltr { | ||
font-size: 15px; | |||
} | |||
/* "テンプレート:メインページ/ようこそ" に表示するロゴ */ | /* "テンプレート:メインページ/ようこそ" に表示するロゴ */ | ||
.globegris { background-image: url("//2ch.me/vikipedia/images/1/10/V3.jpg"); } | .globegris { | ||
background-image: url("//2ch.me/vikipedia/images/1/10/V3.jpg"); | |||
} | |||
/* "メインページ" のタイトル非表示 */ | /* "メインページ" のタイトル非表示 */ | ||
15行目: | 23行目: | ||
body.page-メインページ .subtitle, | body.page-メインページ .subtitle, | ||
body.page-メインページ h1.firstHeading, | body.page-メインページ h1.firstHeading, | ||
body.page-メインページ h1.pagetitle | body.page-メインページ h1.pagetitle { | ||
display: none; | |||
} | |||
pre | pre |
2019年6月20日 (木) 01:59時点における版
/* ここに記述した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;
}
/**
* AA表示用ウェブフォント設定
*/
@font-face {
font-family: "textar-min";
src: url("//2ch.me/vikipedia/textar-min.ttf") format("truetype");
font-display: swap;
}
/**
* AA表示設定
*/
.aa {
font-family:
"Textar",
"IPAMonaPGothic",
"Monapo",
"Mona",
"MS PGothic",
"textar-min",
sans-serif;
font-size: 16px;
line-height: 1.13;
letter-spacing: 0px;
display: block;
white-space: pre-line;
overflow-x: scroll;
overflow-y: visible;
}
pre.aa {
margin: 0px;
border: none;
padding: 0px;
background-color: transparent;
}
/**
* 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;
}