「MediaWiki:Common.css」の版間の差分
提供: Test Wiki
Julyfestival (トーク | 投稿記録) |
Julyfestival (トーク | 投稿記録) |
||
| 行67: | 行67: | ||
font-size: 0.8em; | font-size: 0.8em; | ||
text-align: left; | text-align: left; | ||
| + | } | ||
| + | |||
| + | |||
| + | /** | ||
| + | ** Messagebox templates | ||
| + | ** Imported from [[en: MediaWiki:Common.css]] on 2007-07-13 | ||
| + | **/ | ||
| + | .messagebox { | ||
| + | width: 80%; | ||
| + | margin: 0 auto 1em auto; | ||
| + | padding: 0.2em; | ||
| + | border: 1px solid #AAA; | ||
| + | background-image:url(images/background/bg-01-980-1200.jpg); | ||
| + | |||
| + | } | ||
| + | .messagebox.merge { | ||
| + | border: 1px solid #C0B8CC; | ||
| + | background: #F0E5FF; | ||
| + | text-align: center; | ||
| + | } | ||
| + | .messagebox.cleanup { | ||
| + | border: 1px solid #9F9FFF; | ||
| + | background: #EFEFFF; | ||
| + | text-align: center; | ||
| + | } | ||
| + | .messagebox .standard-talk { | ||
| + | border: 1px solid #C0C090; | ||
| + | background: #F8EABA; | ||
| + | } | ||
| + | .messagebox.nested-talk { | ||
| + | width: 100%; | ||
| + | margin: 2px 4px 2px 4px; | ||
| + | border: 1px solid #C0C090; | ||
| + | background: #F8EABA; | ||
| + | } | ||
| + | .messagebox.small { | ||
| + | float: right; | ||
| + | clear: both; | ||
| + | width: 238px; | ||
| + | margin: 0 0 1em 1em; | ||
| + | font-size: 85%; | ||
| + | line-height: 1.25em; | ||
} | } | ||
2015年5月7日 (木) 17:46時点における版
/* ここに記述したCSSはすべての外装に反映されます */
.mw-content-ltr {
font-family:'Times New Roman','HGS明朝B';
font-size:1.0em;
}
.mw-body {
background-image:url(images/background/bg-01-980-1200.jpg);
font-family:'Times New Roman','HGS明朝B';
font-size:1.0em;
}
/**
** Infoboxes
**/
.infobox {
float: right;
clear: right;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
border: 1px solid #AAA;
background-image:url(images/background/bg-01-980-1200.jpg);
color: black;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
margin-left: inherit;
font-size: larger;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #AAA;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/**
** Sister project templates
**/
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.sister-project {
clear: right;
float: right;
width: 250px;
margin: 0 0 1em 3em;
padding: 4px;
border: 1px solid #AAA;
background: #57b1af;
font-size: 0.8em;
text-align: left;
}
/**
** Messagebox templates
** Imported from [[en: MediaWiki:Common.css]] on 2007-07-13
**/
.messagebox {
width: 80%;
margin: 0 auto 1em auto;
padding: 0.2em;
border: 1px solid #AAA;
background-image:url(images/background/bg-01-980-1200.jpg);
}
.messagebox.merge {
border: 1px solid #C0B8CC;
background: #F0E5FF;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9F9FFF;
background: #EFEFFF;
text-align: center;
}
.messagebox .standard-talk {
border: 1px solid #C0C090;
background: #F8EABA;
}
.messagebox.nested-talk {
width: 100%;
margin: 2px 4px 2px 4px;
border: 1px solid #C0C090;
background: #F8EABA;
}
.messagebox.small {
float: right;
clear: both;
width: 238px;
margin: 0 0 1em 1em;
font-size: 85%;
line-height: 1.25em;
}