MediaWiki:Common.css
注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
- Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
- Internet Explorer: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
- Opera: メニュー → 設定 (Mac では Opera → 環境設定) に移動し、プライバシーとセキュリティ → 閲覧データを消去 → キャッシュされた画像およびファイル からキャッシュをクリアしてください。
@import url('https://fonts.googleapis.com/css?family=Roboto|Open+Sans');
/*HEADER*/
#p-logo a {
display: block;
height: 88px;
vertical-align: middle;
background-repeat: no-repeat;
background-position: center center;
text-decoration: none;
}
#mw-head {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 82px;
background-color: #1562A3;
}
#p-personal li a.new {
color: #fff;
}
#p-personal li {
line-height: 1.125em;
float: left;
margin-left: 3em;
margin-top: 0.5em;
font-size: 0.75em;
white-space: nowrap;
}
div.duobook2Tabs li.selected a, div.duobook2Tabs li.selected a:visited {
color: #444;
text-decoration: none;
background: white;
font-size: 0.9em;
text-transform: uppercase;
text-align: center;
padding: 1em;
line-height: 1em;
}
div.duobook2Tabs li a {
color: #444;
text-decoration: none;
background: whitesmoke;
font-size: 0.9em;
text-transform: uppercase !important;
text-align: center;
padding: 1em 1em 0 1em;
line-height: 1em;
}
div.duobook2Tabs li a:hover {
z-index: 3;
text-decoration: none;
background-color: #00adf2;
color: #fff;
font-weight: normal;
}
div.duobook2Tabs {
float: left;
height: 2.5em;
background-image: none;
padding-left: 1px;
}
div#mw-head div.duobook2Menu h3 {
float: left;
background-image: none;
font-size: 1em;
height: 2.5em;
padding-right: 0.5em;
margin-right: -1px;
}
div.duobook2Tabs li.new a, div.duobook2Tabs li.new a:visited {
color: #d9d9d9;
}
/*BODY*/
.mw-body .firstHeading {
overflow: visible;
margin-top: 2em;
}
html, body {
font-family: 'Open Sans',sans-serif;
}
a {
text-decoration: none;
color: #1562A3;
background: none;
}
.mw-body {
margin-left: 17em;
padding: 1.5em 9em 1.5em 9em;
}
body {
background-color: #E7EFF5 !important;
background-image: none !important;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto',sans-serif !important;
color: #444;
background: none;
font-weight: normal;
margin: 0;
overflow: hidden;
padding-top: 0.5em;
padding-bottom: 0.17em;
border-bottom: none;
}
.mw-body-content h3, .mw-body-content h4 {
font-weight: normal;
}
.mw-body-content h3 {
font-size: 140%;
}
h4 {
font-size: 116% !important;
}
pre, .mw-code {
padding: 1em;
font-size: 1.1em;
border: 1px solid #efefef;
color: black;
background-color: #f9f9f9;
line-height: 1.3em;
word-wrap: break-word;
white-space: pre-wrap;
}
.mw-body {
margin-left: 16em;
border: none;
margin-top: 0px;
}
.mw-body-content h2 {
font-size: 180%;
padding-bottom: .25em;
}
.catlinks {
border: none;
background-color: #e7eff5;
padding: 5px 5px 5px 10px;
margin-top: 3em;
clear: both;
font-size: .9em;
}
code {
color: #000;
background-color: transparent !important;
border: none;
padding: 1px 4px;
font-size: 1.15em;
}
#toc, .toc, .mw-warning {
border: 1px solid #efefef;
background-color: #f9f9f9;
padding: 20px;
margin-top: 10px;
margin-left: 10px;
margin-bottom: 10px;
font-size: 90%;
float: right;
}
/*SIDEBAR*/
div.duobook2Menu h3 span {
position: relative;
display: block;
font-size: 0.8em;
padding-left: 1em;
padding-top: 1em;
padding-right: 18px;
font-weight: normal;
color: #fff;
}
#mw-panel .portal h3 {
color: #1562a3;
background: transparent;
padding: 0.5em 1em 0 0;
display: inline;
height: 1.5em;
text-transform: capitalize;
font-size: 0.9em;
font-weight: bold;
white-space: nowrap;
font-variant: none;
}
#mw-panel .portal .body li a {
color: #575757 !important;
}
#mw-panel .portal .body li {
line-height: 1.125em;
margin: 0;
padding: 0.4em 0;
font-size: 0.9em;
word-wrap: break-word;
}
#mw-panel .portal .body {
margin-left: 0.5em;
padding-top: 0;
background-image: none;
}
#mw-panel #p-logo + .portal h3 {
display: initial;
}
/*FOOTER*/
#footer {
background-color: #1562a3;
margin-left: 16em;
padding: 2em;
/*text-align: center;*/
color: #00ADF2;
/*width: 100% !important;
position: fixed !important;*/
}
#footer ul li {
color: #00ADF2;
margin: 0;
padding: 0;
padding-top: 0px;
padding-bottom: 0px;
padding-top: 0.5em;
padding-bottom: 0.5em;
font-size: 0.8em;
}
#mw-panel .portal .body ul {
list-style: none none;
margin: 0;
padding: 0.3em 0 0 1em;
}
/*TABLES*/
table.wikitable > tr > th,table.wikitable > * > tr > th {
background-color:#00adf2;
color:#fff;
text-align:center
}
table th {
padding:0.5em 1em;
background-color: #00adf2;
color: #fff;
}
table td {
padding:.2em .5em;
background-color:#f5f5f5;
border-left:1px solid #f3f3f3;
border-right:1px solid #e3e3e3;
border-top:1px solid #f3f3f3;
border-bottom:1px solid #ccc;
color:#000;
}
table tr:nth-child(odd) td {
background: #fff
}
table.wikitable > * > tr > td {
border: 1px solid #d4d4d4;
padding: 0.2em 0.4em;
}
fieldset table {
background:none
}