MediaWiki:Common.css
提供:maruko2 Note.
注意: 保存後、変更を確認するにはブラウザのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックする、もしくは Ctrl-F5 か Ctrl-R を押してください (Macでは ⌘-R )
- Google Chrome: Ctrl-Shift-R を押してください (Macでは ⌘-Shift-R )
- Internet Explorer: Ctrl を押しながら 最新の情報に更新 をクリックする、もしくは Ctrl-F5 を押してください
- Konqueror: 再読み込み をクリックするか、 F5 を押してください。
- Opera: ツール → 設定 からキャッシュをクリアしてください。
/* ここに書いた CSS は全ての外装に反映されます */ /*-------------------------------------------------- メインページのh1を非表示 --------------------------------------------------*/ body.page-メインページ h1.firstHeading {display:none;} body.page-メインページ #contentSub {display:none;} body.page-メインページ #adbox {display:none;} /*-------------------------------------------------- wikitable --------------------------------------------------*/ table.wikitable { border: 1px #E3E3E3 solid; border-collapse: collapse; border-spacing: 0; } table.wikitable th { padding: 5px; border: 1px #E3E3E3 solid; background: #F5F5F5; font-weight: bold; line-height: 120%; text-align: center; } table.wikitable td { padding: 5px; border: 1px #E3E3E3 solid; background: #fcfcfc; } table.wikitable caption { margin-left: inherit; margin-right: inherit; } /*-------------------------------------------------- prettytable --------------------------------------------------*/ table.prettytable { border: 1px #9fbadd solid; border-collapse: collapse; border-spacing: 0; } table.prettytable th { padding: 5px; border: solid 1px #9fbadd; background: #5A8ABB; color:#fff; font-weight: bold; line-height: 120%; text-align: center; } table.prettytable td { padding: 5px; border-top: solid 1px #9fbadd; border-left: dotted 1px #9fbadd; /* text-align: center;*/ } table.prettytable tr:first-child { border: none; } table.prettytable caption { margin-left: inherit; margin-right: inherit; } table.prettytable tr:nth-child(odd) { background: #d9e6f1; } table.prettytable td:first-child[rowspan] { background: #fff; text-align: center; } /*-------------------------------------------------- 横線のみのテーブル {| cellspacing="0" class="line" --------------------------------------------------*/ table.line { font-size: small; border-collapse: collapse; margin: 1em 0; } table.line th { background:#f6f9f6; } table.line tr, table.line td { padding: 0.4em; border-style: solid none; border-width: thin; border-color: gray; } /*-------------------------------------------------- proptable --------------------------------------------------*/ table.proptable { border-collapse: collapse; border-spacing: 0; text-align: left; margin: 1em 0; } table.proptable td, table.proptable th { padding: 0.4em; border-style: solid none solid dotted; border-width: thin; border-color: #5e7fa5; } table.proptable th:first-child, table.proptable td:first-child { border-left-style: none; } table.proptable th {background:#f7f7f7;} /*-------------------------------------------------- 編集ページ textarea のフォントサイズ --------------------------------------------------*/ #wpTextbox1 {font-size: 10pt;} #wpUploadDescription {font-size: 10pt;} /*-------------------------------------------------- オリジナル文,転載 --------------------------------------------------*/ .original-text {border-left:7px solid #eee;margin-left:1.5em;padding-left:.5em;color:gray;} /*-------------------------------------------------- code タグ --------------------------------------------------*/ code { font-family: "Courier New",Courier,monospace; background-color: inherit; } #monospace {font-family:"Lucida Grande",Monospace;} .red, #red {color:red;} .green, #green {color:green;} .blue, #blue {color:blue;} /*-------------------------------------------------- はてなブックマークウィジェット --------------------------------------------------*/ .hatena-bookmark-widget * {margin:0;padding:0;font-size:12px;} .hatena-bookmark-widget-title {display:none;} .hatena-bookmark-widget-footer {display:none;} .hatena-bookmark-widget-body ul {list-style:none outside none;padding-left: 8px;} .hatena-bookmark-widget-body li {line-height:1.2 !important;margin:5px 0;} .hatena-bookmark-widget-body span.hatena-bookmark-count {margin-left:0.5em;} .hatena-bookmark-widget-body span.hatena-bookmark-count strong a {font-size:90%;background:#FFCCCC;color:#FF0000 !important;text-decoration: underline;padding:0 2px;} .hatena-bookmark-widget-body span.hatena-bookmark-count em a {font-style:normal !important;font-weight: bold;font-size:90%;background:#FFF0F0;color:#FF6666 !important;text-decoration: underline;padding:0 2px;} .hatena-bookmark-widget-notheme ul li.isfirst { background: url(http://b.hatena.ne.jp/images/widget/load.gif) no-repeat center center; } /*-------------------------------------------------- infobox --------------------------------------------------*/ .infobox { border: 1px solid #aaa; background: #f9f9f9; color: black; margin: 0.5em 0 0 1em; padding: 0.2em; float: right; clear: right; font-size: 90%; text-align: left; width: 23em; } .infobox th, .infobox td { vertical-align: top; } .infobox caption { margin-top: 0.5em; margin-left: inherit; font-size: 120%; font-weight: bold; } /*-------------------------------------------------- pre の左右マージン --------------------------------------------------*/ pre { margin-left:1em; margin-right:1em; white-space:pre-wrap; word-wrap:break-word; } /*-------------------------------------------------- class="key", <kbd> --------------------------------------------------*/ span.key, kbd { /* margin: 0 3px; padding: 0 5px; border-width: 1px 2px 2px 1px; border-style: solid; border-color: #999; background-color: #F5F5F5; font-family: monospace; */ border-color: #ccc; border-radius: 3px 3px 3px 3px; border-style: solid; border-width: 1px 1px 2px; color: #303030; font-family: monospace; font-size: 0.9em; font-weight: normal; padding: 1px 6px; white-space: nowrap; } /*-------------------------------------------------- <code> --------------------------------------------------*/ code {font-weight:bold;} /*-------------------------------------------------- メインページ --------------------------------------------------*/ .pagelist-body { padding:4px 7px; /* cursor:pointer; */ } .pagelist-title {font-size:13px;display:inline;} .pagelist-date {font-size:10px;color:gray;} .pagelist-category {font-size:10px;color:gray;white-space:nowrap;} .pagelist-category a { /* color:rgb(171,139,0) !important; */ background:rgb(224,236,255); padding:0 2px; } .pagelist-count { font-size:10px; color:rgb(0,102,51); background:rgb(241,245,236); font-weight:bold; letter-spacing:0.1px; padding:0 2px; margin-left:5px; margin-right:5px; } .pagelist-border { border-top:dotted 1px #abc; } /*-------------------------------------------------- jQuery UI - Tabs --------------------------------------------------*/ /*.ui-widget-content .ui-tabs-panel a {color:#002bb8 !important;} */ .ui-tabs .ui-tabs-nav {font-size:12px;} .ui-widget .ui-widget-content a:link {color:#0645ad !important;} .ui-widget .ui-widget-content a:visited {color:#0b0080 !important;} .ui-widget .ui-widget-content a:honer {text-decoration:underline !important;} #tabs {border:none;margin:0;padding:0;} #tabs ul { border-top:none; border-left:none; border-right:none; background:none; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; } li:first-child.ui-state-default.ui-corner-top {margin-left:10px;} .ui-tabs-panel.ui-widget-content.ui-corner-bottom {margin:0;padding:10px;} /* */ .hatenaA{ background: #fff0f0; color: #ff6666; font-weight: bold; } .hatenaB{ background: #ffcccc; color: #ff0808; font-weight: bold; } /*-------------------------------------------------- AppStore link --------------------------------------------------*/ #appstore-link {overflow:hidden;} #appstore-link-icon { float: left; width: 160px; text-align: center; } #appstore-link-icon-thumb { border-radius: 18px; -moz-border-radius: 18px; -webkit-border-radius: 18px; box-shadow: 1px 4px 2px 0px #999; -moz-box-shadow: 1px 4px 2px 0px #999; -webkit-box-shadow: 1px 4px 2px 0px #999; border: none; margin-bottom: 16px; } #appstore-link-container {} #appstore-link-appName {font-size:1.2em;} #appstore-link-container ul li {list-style: none !important;} /*-------------------------------------------------- アカウント作成ページ --------------------------------------------------*/ #userlogin td.mw-label { white-space: nowrap; } /*-------------------------------------------------- MultiUploads --------------------------------------------------*/ .mw-htmlform-field-HTMLTextField, .mw-htmlform-field-UploadSourceField { white-space: nowrap; } /*-------------------------------------------------- 本文の体裁 --------------------------------------------------*/ /* #bodyContent {margin-left:7px;} #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5, #bodyContent h6 {margin-left:-7px;} */ /*-------------------------------------------------- Amazon AD --------------------------------------------------*/ div.amazon-ad {border:1px solid #BBBBBB;} div.amazon-ad:hover {border:1px solid orange;} /*-------------------------------------------------- Pocket Button http://getpocket.com/publisher/button --------------------------------------------------*/ .pocket-btn { display:inline-block; vertical-align:-2px; } /*-------------------------------------------------- Highlighter --------------------------------------------------*/ u { background: linear-gradient(transparent 70%, #ff0 70%); text-decoration: none; } u#highlighter-cyan { background: linear-gradient(transparent 75%, #3ff 75%); text-decoration: none; } u#highlighter-violet { background: linear-gradient(transparent 75%, #77f 75%); text-decoration: none; } u#highlighter-gray { background: linear-gradient(transparent 75%, #bbb 75%); text-decoration: none; } u#highlighter-green { background: linear-gradient(transparent 75%, #3f3 75%); text-decoration: none; } u#highlighter-pink { background: linear-gradient(transparent 75%, #f3f 75%); text-decoration: none; } u#highlighter-red { background: linear-gradient(transparent 75%, #f33 75%); text-decoration: none; } u#highlighter-yellow { background: linear-gradient(transparent 70%, #ff0 70%); text-decoration: none; }