「MediaWiki:Common.css」の版間の差分
編集の要約なし |
編集の要約なし タグ: モバイル編集 モバイルウェブ編集 |
||
| (2人の利用者による、間の52版が非表示) | |||
| 1行目: | 1行目: | ||
/* ここに記述したCSSはすべての外装に反映されます */ | /* ここに記述したCSSはすべての外装に反映されます */ | ||
. | |||
{ | /* | ||
@import url("/w/index.php?title=MediaWiki:AA.css&action=raw&ctype=text/css"); | |||
*/ | |||
/** | |||
* AA表示用ウェブフォント設定 | |||
*/ | |||
@font-face { | |||
font-family: "textar-min"; | |||
src: url("https://images.2ch.me/e/e7/textar-min.ttf") format("truetype"); | |||
font-display: swap; | |||
} | |||
/** | |||
* AA表示設定 | |||
*/ | |||
.aa { | |||
font-family: | |||
"Textar", | |||
"Monapo", | |||
"IPAMonaPGothic", | |||
"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; | |||
} | |||
/** | |||
* モバイル専用 | |||
*/ | |||
.nodesktop { | |||
display: none !important; | |||
} | } | ||
/** | |||
* フォントサイズ | |||
*/ | |||
#bodyContent { | |||
font-size: 15px; | |||
} | } | ||
/** | |||
{ | * 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; | |||
} | } | ||