MediaWiki: Common.css
提供: 羅小黒戦記 FAN WIKI
注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- 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 → 環境設定) に移動し、プライバシーとセキュリティ → 閲覧データを消去 → キャッシュされた画像およびファイル からキャッシュをクリアしてください。
/*編集の表示*/
body a#ca-edit{
display: none;
}
body.mw-editable a#ca-edit{
display: inline;
}
/*カテゴリの表示*/
#catlinks { display: block; }
/*カテゴリページ*/
.mw-category-generated h2.typesquare_tags{
display: none;
}
/*上ナビ*/
#navbar{
height: 100%;
max-height: fit-content;
}
@media (min-width: 990px) {
input#searchInput { width: 200px }
}
/*右ナビ*/
#sidebar-right figure{
width: 100px;
margin-left: auto;
}
/********************/
/*共通デザイン*/
body{
font-family: "UD Shin Go Conde90 L";
letter-spacing: 1.5px;
word-break: break-all;
}
#footer{
background: #333;
}
#footer a{
color: #fff;
}
a,a:visited {
color: #4f97a3;
}
a:hover{
color: #4f97a3;
}
hr{
margin: 20px 0;
background: #eee;
}
figure img{
width: 100%;
}
.mw-parser-output img,
.photoBox img{
width: 100%;
}
#contentSub{
margin: 20px 0;
}
/*カテゴリ*/
#catlinks{
border: none;
background: #f6f6f6;
padding: 10px;
margin: 60px 0 0;
}
/*twitterBtn*/
ul.navTwi{
list-style: none;
margin: 40px 0 20px;
padding: 0;
border-top: 1px solid #eee;
}
ul.navTwi li{
border-bottom: 1px solid #eee;
}
ul.navTwi li a{
display: block;
padding: 20px 0 20px 50px;
color: #333;
}
ul.navTwi li a:active{
background: #d8e8bc;
}
ul.navTwi li.btnShare{
background: no-repeat url("img/icon_share.png") left/46px;
}
ul.navTwi li.btnTwi{
background: no-repeat url("img/icon_twitter.png") left/46px;
}
/*動画*/
.movieBox{
position: relative;
width: 100%;
padding-top: 56.25%;
}
.movieBox iframe {
position: absolute;
top: 0;
right: 0;
width: 100% !important;
height: 100% !important;
}
/*ページャー*/
ul.pagination{
list-style: none;
padding: 15px 0;
margin: 20px 0;
border-top: 1px #999 solid;
border-bottom: 1px #999 solid;
border-radius: 0;
width: 100%;
display: flex;
}
.pagination > li > a:hover,
.pagination > li > a:visited{
color: #4f97a3 !important;
}
#content ul.pagination li a{
color: #4f97a3 !important;
padding: 0 5px 0;
background: none;
border: none;
display: contents;
}
li.pre a:before{
content: " < ";
}
li.pre{
margin: 0;
width: 50%;
padding: 0 0 0 10px;
}
li.next{
width: 50%;
text-align: right;
padding: 0 10px 0 0;
}
li.next a:after{
content: " > ";
}
ul.pagination li.next:after{
display: block;
content: "";
clear: both;
}
/*データボックス*/
dl.boxData{
color: #333;
width: 100%;
overflow: hidden;
border-top: none;
background: #f8f8f8;
border-bottom: 1px dotted #888;
margin: 0 0 20px;
}
dl.boxData dt{
margin: 0;
width: 25%;
float: left;
padding: 15px 0 0;
border-top: 1px dotted #888;
box-sizing: border-box;
text-align: center;
}
dl.boxData dd{
margin: 0;
margin-left: 25%;
padding: 10px;
border-top: 1px dotted #888;
background: #fff;
line-height: 2;
}
dl.boxData dd:after{
display: block;
content: "";
clear: both;
}
dl.boxData dd hr{
margin: 4px 0;
}
/*テキスト装飾*/
h1{
text-align: center;
font-size: 32px;
}
.daiji{
background: #d8e8bc;
}
.s{
text-align: right;
font-size: 0.5em;
}
.c{
text-align: center;
}

