Jump to content

User:Darc/monobook.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
body { font-family: "Times New Roman", Times, serif; }

pre { font-family: "Courier New", Courier, monospace; }

body, #globalWrapper { font-size: 9pt !important; }

pre { font-size: 9pt !important; }

/* 以下のサンプルは主にmonobookに対するものです */

/* 本文部分とタブの背景を薄いグレーにする */
/*
#content, #content table
#p-cactions ul li a { background: #f5f5f5; }
*/

/* 本文部分と一緒に背景画面がスクロールしないようにする */
body { background-attachment: fixed; }

/* 背景を他のものに変える */
/*
body { background: Purple; }
*/

/* preタグの部分の背景を変える  */
/*
pre { background: White }
*/

/* ロゴを変える */
/*
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat !important; }
*/

/* ロゴを無くして、左部分を全体に上げる */
/*
#p-logo { display: none }
#column-one { padding-top: 0; }
*/

/* ユーザページへリンクするユーザ名の左側のユーザアイコンを消す */
li#pt-userpage { background: none }

/* 文字のサイズとフォントをブラウザ指定のものにする */
/*
body, #globalWrapper { font: inherit !important; }
*/

/* 常にリンクにアンダーラインを引く */
/*
a { text-decoration: underline; }
*/

/* 選択していないタブの背景を変える */
/*
#p-cactions ul li a { background: #C7FDC7; }
*/

/* 選択しているタブの背景を変える */
/*
#p-cactions ul li.selected a { background: white; }
*/

/* 選択しているタブの縁を変える */
#p-cactions li.selected { border-color: #aaaaaa; }

/* 選択していないタブにマウスを当てても、タブの下の線が消えないようにする */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }

/* 検索ボックスと検索ボタンの下部のスタイルを変える */
input.searchButton {
    background-color: #efefef !important;
    border: 1px outset !important;  
}
#searchInput { border: 1px inset !important; }

/* 標準のリンクの色 */
/*
a { color: #0000FF; }
a:visited { color: #7F007F; }
a:active, a.new { color: #FF0000; }
a.interwiki, a.external { color: #3366BB; }
a.stub { color: #772233; }
*/

/* firefoxを使っているときpreの部分でみにくい遮断や重なりがあるので、スクロールバーを付ける。 */
pre { overflow: auto; }

/*
** すべてのプリントアウト用の規定は@media printブロックに置いてください

/* とても小さいフォントを使って紙とインクを節約 */
@media print {
    #footer,
    #content,
    body { font-size: 8pt !important; }
    h1 { font-size: 17pt }
    h2 { font-size: 14pt }
    h3 { font-size: 11pt }
    h4 { font-size: 9pt }
    h5 { font-size: 8pt }
    h6 { 
        font-size: 8pt;
        font-weight: normal;
    }
}

/* 高度な指定::before と :afterを使ってここにリンクの完全なhrefをその後ろに置くことが可能です
 (現行のヴァージョンでは必要ありません) */
@media print {
  #content a:link:after, 
  #content a:visited:after {
     content: " ( " attr(href) " ) ";
  }
}

/* Transform the user toolbar into a sidebox */
#p-personal {
    position:relative;
    z-index:3;
    width: 11.6em;
}

#p-personal .pBody {
    width: 10.7em;
    border: none;
    margin: 0 0 0.1em 0em;
    float: none;
    overflow: hidden;
    font-size: 95%;
    background: White;
    border-collapse: collapse;
    border: 1px solid #aaaaaa;
    padding: 0 0.8em 0.3em .5em;
}

#p-personal ul {
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url("/style/monobook/bullet.gif");

    font-size:95%;
    margin: 0 0 0 1.5em;
    padding:0;
    text-align:left;
    text-transform: none;
}

#p-personal li {
    display: list-item;
    padding:0;
    margin: 0 0 0 0;
    margin-bottom: 0.1em;
}

/* ユーザアイコンを消す */
/* もし他のところで指定していない場合には必要 */
li#pt-userpage { background: none }

/* 小さいフォントを使わない */
/*
td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 100% };
*/

/* 違っている部分だけにアンダーライン */
span.diffchange { text-decoration:underline; }