「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(同じ利用者による、間の55版が非表示) | |||
10行目: | 10行目: | ||
font-size:150%; | font-size:150%; | ||
font-style:italic; | font-style:italic; | ||
+ | } | ||
+ | |||
+ | #localNotice > p { | ||
+ | position: absolute; | ||
+ | right: 1em; | ||
+ | top: -2em; | ||
} | } | ||
17行目: | 23行目: | ||
margin: 0.5em 10%; | margin: 0.5em 10%; | ||
clear: both; | clear: both; | ||
+ | } | ||
+ | body { | ||
+ | -webkit-text-size-adjust: 100%; | ||
} | } | ||
25行目: | 34行目: | ||
margin: 20px; | margin: 20px; | ||
} | } | ||
− | body.page-ペルソナ5sコラボ写真展! h2 { | + | body.page-ペルソナ5sコラボ写真展! h2, body.page-ペルソナ5sコラボ表情集! h2 { |
clear: both; | 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 { | .mw-editsection { | ||
47行目: | 89行目: | ||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.5em; | 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; } | ||
+ | |||
+ | div.mw-parser-output > p { | ||
+ | margin-left: 1em; | ||
+ | } | ||
+ | |||
+ | #whats_new_div { | ||
+ | position: absolute; | ||
+ | top: 5em; | ||
+ | right: 0; | ||
+ | background-color: rgba(230,230,255,.5); | ||
+ | padding: 1em; | ||
+ | border: 1px solid navy; | ||
+ | } | ||
+ | |||
+ | @media (max-width: 960px) { | ||
+ | #whats_new_div { | ||
+ | position: relative; | ||
+ | top: 0; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | div.important_notice { | ||
+ | background-color: rgb(254 255 215 / 90%); | ||
+ | color: red; | ||
+ | z-index: 999999999; | ||
+ | font-size: .7em; | ||
+ | position: absolute; | ||
+ | left: 0; | ||
+ | top: 0; | ||
+ | border: 1px solid red; | ||
+ | font-weight: bold; | ||
} | } |
2022年1月15日 (土) 21:56時点における最新版
/* ここに記述した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 { -webkit-text-size-adjust: 100%; } 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; } div.mw-parser-output > p { margin-left: 1em; } #whats_new_div { position: absolute; top: 5em; right: 0; background-color: rgba(230,230,255,.5); padding: 1em; border: 1px solid navy; } @media (max-width: 960px) { #whats_new_div { position: relative; top: 0; } } div.important_notice { background-color: rgb(254 255 215 / 90%); color: red; z-index: 999999999; font-size: .7em; position: absolute; left: 0; top: 0; border: 1px solid red; font-weight: bold; }