|
|
| (2人の利用者による、間の30版が非表示) |
| 1行目: |
1行目: |
| /* ここに記述したCSSはすべての外装に反映されます */ | | /* ここに記述したCSSはすべての外装に反映されます */ |
|
| |
|
| /* タイトル書体をWikipediaと同様にする */ | | /* |
| body div#content h1, body div#content h2, body div#content #firstHeading { font-family: sans-serif; }
| | @import url("/w/index.php?title=MediaWiki:AA.css&action=raw&ctype=text/css"); |
| | */ |
|
| |
|
| /* フォントサイズ */ | | /** |
| .mw-content-ltr { font-size: 15px; } | | * AA表示用ウェブフォント設定 |
| | */ |
| | @font-face { |
| | font-family: "textar-min"; |
| | src: url("https://images.2ch.me/e/e7/textar-min.ttf") format("truetype"); |
| | font-display: swap; |
| | } |
|
| |
|
| /* "テンプレート:メインページ/ようこそ" に表示するロゴ */ | | /** |
| .globegris { background-image: url("//2ch.me/vikipedia/images/1/10/V3.jpg"); } | | * 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; |
| | } |
|
| |
|
| /* "メインページ" のタイトル非表示 */ | | /** |
| body.page-メインページ #siteSub,
| | * モバイル専用 |
| body.page-メインページ .subtitle,
| | */ |
| body.page-メインページ h1.firstHeading,
| | .nodesktop { |
| body.page-メインページ h1.pagetitle
| | display: none !important; |
| { 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; | |
| } | | } |
|
| |
|
| pre.aa
| | /** |
| {
| | * フォントサイズ |
| line-height: 1.13;
| | */ |
| letter-spacing: 0px;
| | #bodyContent { |
| font-family: 'Textar', 'MS PGothic', 'IPAMonaPGothic', 'Mona', sans-serif;
| | font-size: 15px; |
| font-size: 16px;
| |
| border: none;
| |
| background-color: transparent;
| |
| margin-bottom: 0px;
| |
| padding: 0px;
| |
| } | | } |
|
| |
|
| 77行目: |
87行目: |
| padding-right: 1px; | | padding-right: 1px; |
| margin-left: 1px; | | margin-left: 1px; |
| }
| |
|
| |
| /*
| |
| _________________________________________________________________________________________
| |
| | |
| |
| | === 注意 サイト全体に影響するファイルです === |
| |
| | このページを変更すると多数の利用者にその影響が及びます |
| |
| | 変更する前に[[Vikipedia‐ノート:ガジェット]] でよく議論し、動作テストを行ってください。 |
| |
| |_________________________________________________________________________________________|
| |
|
| |
| このガジェットは [[w:en:MediaWiki:Gadget-ReferenceTooltips.css]] から15:45, 22 December 2015 (UTC)に取り込んだものです。
| |
| 脚注をツールチップ内に表示する、詳細は[[mw:Reference Tooltips]]を参照してください。
| |
| translated by [[w:ja:User:Marine-Blue]]
| |
| */
| |
|
| |
| .referencetooltip {
| |
| position: absolute;
| |
| list-style: none;
| |
| list-style-image: none;
| |
| opacity: 0;
| |
| font-size: 10px;
| |
| margin: 0;
| |
| z-index: 5;
| |
| padding: 0;
| |
| }
| |
| .referencetooltip li {
| |
| border: #080086 2px solid;
| |
| max-width: 260px;
| |
| padding: 10px 8px 13px 8px;
| |
| margin: 0px;
| |
| background-color: #F7F7F7;
| |
| box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
| |
| -moz-box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
| |
| -webkit-box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
| |
| }
| |
| .referencetooltip li+li {
| |
| margin-left: 7px;
| |
| margin-top: -2px;
| |
| border: 0;
| |
| padding: 0;
| |
| height: 3px;
| |
| width: 0px;
| |
| background-color: transparent;
| |
| box-shadow: none;
| |
| -moz-box-shadow: none;
| |
| -webkit-box-shadow: none;
| |
| border-top: 12px #080086 solid;
| |
| border-right: 7px transparent solid;
| |
| border-left: 7px transparent solid;
| |
| }
| |
| .referencetooltip>li+li::after {
| |
| content: '';
| |
| border-top: 8px #F7F7F7 solid;
| |
| border-right: 5px transparent solid;
| |
| border-left: 5px transparent solid;
| |
| margin-top: -12px;
| |
| margin-left: -5px;
| |
| z-index: 1;
| |
| height: 0px;
| |
| width: 0px;
| |
| display: block;
| |
| }
| |
| .client-js .referencetooltip li ul li {
| |
| border: none;
| |
| box-shadow: none;
| |
| -moz-box-shadow: none;
| |
| -webkit-box-shadow: none;
| |
| height: auto;
| |
| width: auto;
| |
| margin: auto;
| |
| padding: 0;
| |
| position: static;
| |
| }
| |
| .RTflipped {
| |
| padding-top: 13px;
| |
| }
| |
| .referencetooltip.RTflipped li+li {
| |
| position: absolute;
| |
| top: 2px;
| |
| border-top: 0;
| |
| border-bottom: 12px #080086 solid;
| |
| }
| |
| .referencetooltip.RTflipped li+li::after {
| |
| border-top: 0;
| |
| border-bottom: 8px #F7F7F7 solid;
| |
| position: absolute;
| |
| margin-top: 7px;
| |
| }
| |
| .RTsettings{
| |
| float: right;
| |
| height: 16px;
| |
| width: 16px;
| |
| cursor: pointer;
| |
| background-image: url(//upload.wikimedia.org/wikipedia/commons/e/ed/Cog.png);
| |
| margin-top: -9px;
| |
| margin-right: -7px;
| |
| -webkit-transition: opacity 0.15s;
| |
| -moz-transition: opacity 0.15s;
| |
| -o-transition: opacity 0.15s;
| |
| -ms-transition: opacity 0.15s;
| |
| transition: opacity 0.15s;
| |
| opacity: 0.6;
| |
| filter: alpha(opacity=60);
| |
| }
| |
| .RTsettings:hover{
| |
| opacity: 1;
| |
| filter: alpha(opacity=100);
| |
| }
| |
|
| |
| /* added by Marine-Blue */
| |
|
| |
| /* Interwiki */
| |
| ul.referencetooltip a.extiw {
| |
| color: #3366BB;
| |
| }
| |
| ul.referencetooltip a.extiw:visited {
| |
| color: #663366;
| |
| }
| |
| ul.referencetooltip a.extiw:active {
| |
| color: #BB6633;
| |
| }
| |
|
| |
| /* External */
| |
| ul.referencetooltip a.external {
| |
| color: #3366BB;
| |
| }
| |
| ul.referencetooltip a.external:visited {
| |
| color: #663366;
| |
| }
| |
| ul.referencetooltip a.external:active {
| |
| color: #BB6633;
| |
| }
| |
|
| |
| /* normal icon */
| |
| ul.referencetooltip a.external, ul.referencetooltip a.external[href^="gopher://"] {
| |
| background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=") 100% 50% no-repeat transparent;
| |
| padding-right: 13px;
| |
| }
| |
|
| |
| /* PDF icon */
| |
| ul.referencetooltip a.external[href$=".pdf"], ul.referencetooltip a.external[href$=".PDF"], ul.referencetooltip a.external[href*=".pdf#"], ul.referencetooltip a.external[href*=".PDF#"], ul.referencetooltip a.external[href*=".pdf?"], ul.referencetooltip a.external[href*=".PDF?"] {
| |
| background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAATklEQVR4XmXKQQqAMAwF0X/7XsSz9CSKiyIIFRFcjMmihmiGbB5fqDCaQJ4j46pzYLUWe+cXZ6OVBhTS0srY2Njp/+XxXXZOLu6EUWAOPX1vnwTBe6qQAAAAAElFTkSuQmCC") 100% 50% no-repeat transparent;
| |
| padding-right: 13px;
| |
| }
| |
|
| |
| /* Secure icon */
| |
| ul.referencetooltip a.external[href^="https://"] {
| |
| background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAdUlEQVQYV2P4//8/Awxv3LThf0dXKxyD+DA5DEUg+tWrV2AaWTFcIboJyJrhCtGtRMcgebhpL2/4/v//Lvn//x+7IRjIfn8v+P/t055gxZgKPzaC8Y/nMYQVLpnM8f/zo3AqKfzyOOL/h/sh/59c9sBUSIyvAeRdJWjk4E//AAAAAElFTkSuQmCC") 100% 50% no-repeat transparent;
| |
| padding-right: 13px;
| |
| } | | } |
/* ここに記述した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;
}