「MediaWiki:Common.css」の版間の差分
細編集の要約なし |
細編集の要約なし |
||
66行目: | 66行目: | ||
display: block !important; | display: block !important; | ||
white-space: pre !important; | white-space: pre !important; | ||
word-wrap: normal !important; | |||
overflow-x: scroll !important; | overflow-x: scroll !important; | ||
overflow-y: visible !important; | overflow-y: visible !important; |
2019年6月20日 (木) 07:39時点における版
/* ここに記述した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 !important;
font-size: 16px !important;
line-height: 1.13 !important;
letter-spacing: 0px !important;
display: block !important;
white-space: pre !important;
word-wrap: normal !important;
overflow-x: scroll !important;
overflow-y: visible !important;
margin: 1rem 0px !important;
border: none !important;
padding: 0px !important;
background-color: transparent !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;
}