|
|
(同じ利用者による、間の6版が非表示) |
1行目: |
1行目: |
| /* ここに記述したCSSはすべての外装に反映されます */ | | /* ここに記述したCSSはすべての外装に反映されます */ |
|
| |
|
| /* タイトル書体をWikipediaと同様にする */ | | @import url("/vikipedia/index.php?title=MediaWiki:AA.css&action=raw&ctype=text/css"); |
| | |
| | /** |
| | * モバイル専用 |
| | */ |
| | .nodesktop { |
| | display: none !important; |
| | } |
| | |
| | /** |
| | * タイトル書体をWikipediaと同様にする |
| | */ |
| body div#content h1, | | body div#content h1, |
| body div#content h2, | | body div#content h2, |
8行目: |
19行目: |
| } | | } |
|
| |
|
| /* フォントサイズ */ | | /** |
| | * フォントサイズ |
| | */ |
| .mw-content-ltr { | | .mw-content-ltr { |
| font-size: 15px; | | 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 {
| | .globegris { |
| font-family: "textar-min"; | | background-image: url("https://images.2ch.me/1/10/V3.jpg"); |
| src: url("//2ch.me/vikipedia/images/e/e7/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;
| |
| } | | } |
|
| |
|