「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(pタグに一律1emの左マージン(字下げ)を追加。) |
細 |
||
| 170行目: | 170行目: | ||
ul ul ul ul ul { list-style-type: square; } | ul ul ul ul ul { list-style-type: square; } | ||
| − | p { | + | .mw-body-content p { |
margin-left: 1em; | margin-left: 1em; | ||
} | } | ||
2021年4月24日 (土) 15:31時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* ConfirmEdit QuestyCaptcha -- on Create Account */
.htmlform-tip + .mw-htmlform-field-HTMLInfoField { color:red; }
/* ConfirmEdit QuestyCaptcha -- on Edit page + add a URL */
label[for=wpCaptchaWord] {
color:green;
font-weight:bold;
font-size:150%;
font-style:italic;
}
#localNotice > p {
position: absolute;
right: 1em;
top: -2em;
}
.asbox {
border: solid #999 1px;
background: #F8F8F8;
margin: 0.5em 10%;
clear: both;
}
body.page-メインページ.action-view h1.firstHeading, body.page-メインページ.action-submit h1.firstHeading { display: none; }
body.page-ペルソナ5sコラボ写真展! div.twitter-tweet {
float: left;
margin: 20px;
}
body.page-ペルソナ5sコラボ写真展! h2, body.page-ペルソナ5sコラボ表情集! h2 {
clear: both;
}
body.page-ペルソナ5sコラボ写真展! div.thumb.tnone, body.page-ペルソナ5sコラボ表情集! div.thumb.tnone
{
float: left;
}
body.page-用語集 #toc .tocnumber {
display: none;
}
body.page-用語集 h3 {
background-color: aliceblue;
}
body.page-用語集 div.dictionary_item {
padding: 0 1em;
}
body.page-用語集 div.dictionary_item div.description {
margin-left: 1em;
}
body.page-用語集 div.dictionary_item div.reference {
margin-left: 1em;
}
body.page-用語集 div.dictionary_item div.reference:before {
content: '関連:';
font-weight: bold;
}
div.my_photoframe > pre {
margin-top: 0;
}
.mw-body-content img {
vertical-align: bottom;
}
.mw-editsection {
display: none;
}
.infobox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: left;
font-size: 88%;
line-height: 1.5em;
}
.unitbox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
text-align: left;
font-size: 88%;
line-height: 1.5em;
}
.unitbox-left {
float: left;
width: 35%;
}
.unitbox-right {
float: left;
width: 60%;
}
table.table-bordered th, table.table-bordered td {
border-bottom: 1px solid lightgray;
}
table.table-bordered th {
background-color: palegoldenrod;
}
table.table-bordered th.banner {
background-color: palevioletred;
}
.unitbox td.ability_name, .unitbox td.skill_name {
background-color: lightgray;
font-weight: bold;
}
.unitbox td.lv_title {
background-color: wheat;
}
.clearfix::after {
content: " ";
display: block;
clear: both;
}
table.mw-collapsible {
min-width: 320px;
}
.collapse_title {
cursor: pointer;
font-weight: bold;
}
.collapse_field {
background: aliceblue;
padding: 0.5em 2em;
border: 1px solid cornflowerblue;
}
body[class*="rootpage-ユニット-"] p {
margin: 0.5em 1em;
}
div.scrollbox {
position: relative;
max-height: 40vh;
overflow-y: auto;
border: 1px solid whitesmoke;
}
div.scrollbox table tr:first-child {
position: sticky;
top: 0;
}
ul, li { list-style-image: none; }
ul { list-style-type: disc; }
ul ul { list-style-type: circle; }
ul ul ul { list-style-type: disclosure-open; }
ul ul ul ul { list-style-type: disclosure-closed; }
ul ul ul ul ul { list-style-type: square; }
.mw-body-content p {
margin-left: 1em;
}