テンプレート Wiki
Advertisement

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

  • 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はサイト全体のすべてのスキンに適用されます *****/

/* Separate style sheets with a pipe (|) */
@import url("/load.php?mode=articles&only=styles&articles=
  MediaWiki:Babel.css|
  MediaWiki:Mbox.css"
);

/*font-family*/
body {
  /*ゴシック*/
  font-family: Arial, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  /*明朝*/
  /*font-family:Times New Roman , "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", Hiragino Mincho ProN , "MSP明朝","MS PMincho","MS 明朝",serif;*/
}

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* For [show]/[hide] link of javascript collapsible tables */
.collapseButton {         /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* are styled here so they can be customised.              */
    text-align: right;
    width: auto;
}

/* plainlist */
/* removes list bullets or numbers and margins */
.plainlist ol, .plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}

/* Gives the "Fade to transparent" effect in DIV, H2, table cells, etc. */
/* Used in conjunction with "background-color:<colour>" */
#gradient, .gradient, .gradient-horizontal { 
    background-image: url(https://images.wikia.nocookie.net/templates/images/1/14/Gradient-1pixel-horizontal.png); 
}
 
.gradient-vertical {
    background-image: url(https://images.wikia.nocookie.net/templates/images/1/14/Gradient-1pixel-horizontal.png);
}

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
    font-style: italic;
}
.allpagesredirect:after {
    color: #808080;
    content: " (redirect)"
}
.watchlistredir {
    font-style: italic;
}

/* Giving headers and TOC a little extra space */
h2 {
    margin-top: 20px;
}
.toc {
    margin-top: 20px;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
    color: black;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
    margin-left: inherit;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
    border: 1px solid #aaa;
    margin-top: 1em;
    padding: 12px;
}
.forumlist td.forum_edited a {
    color: black;
    text-decoration: none;
}
.forumlist td.forum_title a {
    padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
    font-weight: bold;
    background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
    padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
    font-weight: normal;
    background: none;
    padding-left: 20px;
}
.forumlist th.forum_title {
    padding-left: 20px;
}

/* Image frame fix */
div.tright, div.tleft {
    border: 1px solid silver;
}

div.thumbinner {
    background: inherit;
    border: none;
    color: inherit;
}
#article div.thumb {
    color: inherit;
}

/* === Template:Reflist design === */
.references-small {
    font-size: 90%;
}

/* === USERBOXES  === */
table.userbox {
    float: left;
    margin: 0.2em;
    padding: 0;
    border-width: 1px;
    border-style: solid;
}
table.userbox td.left,
table.userbox td.right {
    text-align: center;
    vertical-align: middle;
    font-size: 1.6em;
    padding: 0;
}
table.userbox td.main {
    padding: 0 4px;
    vertical-align: middle;
    line-height: 125%;
    font-size: 0.9em;
}

table.userbox {
    border-color: #aaa;
    background: #f8f8f8;
}
table.userbox td.left,
table.userbox td.right {
    background: #d8d8d8;
}
Advertisement