MediaWiki:Common.css

提供:防弾掲示板wiki
ナビゲーションに移動 検索に移動

注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Internet Explorer / Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
  • Opera: Ctrl-F5を押してください
/* ここに記述したCSSはすべての外装に反映されます */
.small { font-size: 80%; }
.softbank { font-size: 30%; color: gray; }
pre { overflow: auto; }

/* 汎用ボックス */
#stubbox { width: 80%; margin: 0.5em auto; clear: both; }
#stubbox .st_image { width: 10%; text-align: right; }

/* 三男色 バグ回避のため名称はとりあえずkoushinのまま */
.koushincolor { color: #85b51b; }
.koushinback { background-color: #85b51b; }
.koushinbox {
 border: dashed #85b51b 3px; background: #F9D5EE;
 width: 70%; margin: 0.5em auto; padding: 0.5em;
 }

/* [[テンプレート:Infobox Person]]専 */
.infoPers {
 width: 21em; font-size: 90%; float:right; margin: 0 0 1em 1em; background: #f9f9f9;
 border: 1px #999999 solid; border-collapse: collapse; clear: right;
 }
.infoPers th { white-space: nowrap; }
.infoPers td { text-align: center; }

/* [[メインページ]]専 */
#mainpage_header {
 background-color: darkblue; color: white !important;
 padding: 1em; font: bold x-large serif; text-align: center;
 }
#mainpage_header a { color: white !important; }

/* [[MediaWiki:Edittools]]専 */
#edittools_wikimarkup {
 border-width: 1px; border-style: solid none; border-color: #ccc;
 margin-top: 0.25em; padding: 0.25em; font-size: 80%;
 }
#edittools_wikimarkup span { margin-left: 1ex; white-space: nowrap; }

/* [[MediaWiki:Anoneditwarning]]専 */
#anoneditwarning { margin: auto; padding: 0.5em; width: 80%; text-align: center; }

/* [[テンプレート:See also]]等に使う */
.rellink { margin-left: 2em; font-style: italic; }

/* ナビゲーションポップ用 */
a.popupMoreLink { display: block; text-align: right; cursor: pointer; }
 
ins.popupDiff { background: #AFE; }
del.popupDiff { background: #FFE6E6; }
 
#selectionPreview { /* overflow: auto; max-height: 16ex; */
                    border: 2px solid #DDD;
                    background-color: #EEF;
                    padding: 6px;
                    }
 
.navpopup 
{ 
  border: solid #FFBE20 1px;
  background-color: #FFFAEF;
  padding: 5px;
  font-size: 8pt;
  /* opacity: 0.9; */
}
 
/* Configure Drag bar color */
.popupDrag {
  background-color: #FFBE20;
  height: 5px;
  margin-top: -5px;
  margin-bottom: 5px;
}
 
.popupDragHandle {
 cursor: move;
 position: relative;
}
 
/* menu magic - many thanks to [[User:Zocky]]! */
 
/* popups */
.popup_menu li {
 margin: 3px;
}
 
.popup_menu
{
  display:none;
  position:absolute;
  left:0;
  margin: 0;
  margin-top: 1em;
  line-height: 1.25em;
  list-style-type: none; 
  /*top:1.6ex; */
  z-index:2;
  width:10em; 
  background:white; 
  border:solid 1px grey;
  padding: 0.5em !important;
  margin-left: -6px;
  margin-top: 1em;
  border-width: 1px 1px 1px 6px;
}
.popup_menu a {display:block;}
.popup_menu_row a {display:inline;}
.popup_menu_row { list-style: none;
                  padding: 0;
                  margin: 0;
                  /*)border: solid 1px red;*/
                  }
.popup_drop {display:inline; position:relative}
.popup_drop:hover .popup_menu,
.popup_drop .popup_menu:hover {display:inline; background:White; padding:2px 2px 2px 2px}
 
.popup_drop:hover { background:#CCF; color:#44f; }
 
/* other colours, styles and so on */
.popup_menu a:hover {background:#CCf; color:#44f}
.popup_mainlink {font-size: 140%; font-weight: bold}
 
.popup_change_title_link { color: #152; }
 
.popup_diff_dates { 
                    font-style: italic; 
                    background: none;
                    }
 
.popup_menu_item { 
                  list-style: none;
                  padding: 0;
                  margin: 0;
                   /*border: solid 1px green;*/
}
.popup_menu_item a{ display:block; }
 
.popup_history_row_even { background: #eee;  }
.popup_history_date { font-weight: bold; font-size: 120%; }
 
/* disable interwiki styling */
.popupPreview a.extiw,
.popupPreview a.extiw:active {
	color: #36b;
	background: none;
	padding: 0;
}
.popupPreview a.external {
	color: #36b;
}
/* this can be used in the content area to switch off
special external link styling */
.popupPreview .plainlinks a {
	background: none !important;
	padding: 0 !important;
}
/* ここまでナビゲーションポップ用 */

/* [[Template:Pathnav]]専(Wikipediaより転載) */
.pathnavbox {
    clear: both;
    border: 1px outset #eef;
    padding: 0.3em 0.6em;
    margin: 0 0 0.5em 0;
    background-color: #eef;
    font-size: 90%;
}

.pathnavbox ul {
    list-style: none none;
    margin-top: 0;
    margin-bottom: 0;
}

.pathnavbox > ul {
    margin: 0;
}

.pathnavbox ul li {
    margin: 0;
}

/* interwikiリンク色変更 https://ja.wikipedia.org/wiki/Help:%E3%83%AA%E3%83%B3%E3%82%AF%E8%89%B2 */
.mw-body a:link.interwiki { color: #00FFFF; }

/* AA用webフォント 重いのでユーザーの利便性を考え実装は見送り */
/* @font-face{ */
/* font-family: 'Saitamaar'; */
/* src: local('Saitamaar'), */
/* url('http://keage.sakura.ne.jp/fonts/Saitamaar.woff2.php') format('woff2'), */
/* font-weight: normal; */
/* font-style: normal; */
/* } */