「MediaWiki:Common.css」の版間の差分

提供:大乱闘スマッシュブラザーズWiki
編集の要約なし
(レスポンシブ系を削除。メインページでしか使ってなかった…はず もし他でも使ってたら元に戻しましょう)
 
(2人の利用者による、間の60版が非表示)
3行目: 3行目:
モバイル用ページ用のCSSはMediaWiki:Mobile.cssで
モバイル用ページ用のCSSはMediaWiki:Mobile.cssで
--------------------------------------------------*/
--------------------------------------------------*/
/*--------------------------------------------------
/*--------------------------------------------------
メインページのh1を非表示
メインページ
--------------------------------------------------*/
--------------------------------------------------*/
body.page-メインページ h1.firstHeading {display:none;}
body.page-メインページ .firstHeading {display:none;}
body.page-メインページ #contentSub {display:none;}
body.page-メインページ #contentSub {display:none;}


13行目: 12行目:
見出し
見出し
--------------------------------------------------*/
--------------------------------------------------*/
h2 { font-size: 155%; }
.mw-body-content h2
h2 { font-weight: bold; }
{
h2 { border-bottom: medium double; }
font-size:155%;
 
font-weight:bold;
h3 { font-size: 145%; }
border-bottom:medium double;
h3 { border-left: 6px solid #BABABA; }
h3 { border-bottom: 2px solid #BABABA; }
 
h4 { border-left: 10px double #BABABA; }
 
div#content h3, div#content h4, div#content h5, div#content h6 { margin-top: 1em; padding: 0.05em 0.2em;}
h2, h3, h4, h5 { letter-spacing: 0.5em;}
h4 ,h5 { border-bottom: 1px solid #BABABA; }
 
/*--------------------------------------------------
本文スタイル
--------------------------------------------------*/
div#content p {
    line-height: inherit;
    margin: 0.5em 0 1em;
}
}
 
.mw-body-content h3
li {
{
    margin-bottom: 0.3em;
border-left:6px solid #BABABA;
}
border-bottom: 2px solid #BABABA;
.mw-content-ltr ul {
    margin: 0.2em 0 0.2em 1.6em;
    padding: 0;
}
 
/*--------------------------------------------------
メインページ PC版
--------------------------------------------------*/
 
.main_h{
color:#fff;
font-weight:bold;
text-align:center;
white-space:nowrap;
}
}
.main_h1{
.mw-body-content h4
font-size:135%;
{
padding-bottom:7px;
border-left:10px double #BABABA;
letter-spacing:1em;
width:100%;
background:#333;
}
}
.main_h2{
.mw-body-content h3,
font-size:155%;
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6
{
margin-top:1em;
padding:0.05em 0.2em;
}
}
 
.mw-body-content h2,
.main_table{
.mw-body-content h3,
display:table;
.mw-body-content h4
table-layout:fixed;
{
border-collapse:separate;
letter-spacing: 0.5em;
border-spacing:3px 3px; width:100%;
}
}
.main_tablecell{
.mw-body-content h4,
display:table-cell;
.mw-body-content h5
{
border-bottom: 1px solid #BABABA;
}
}
.main_tablecell td:nth-last-of-type(2n){
.mw-editsection
padding-bottom:1.5em;
{
padding-left:0.45em;
letter-spacing: normal;
}
}
@media screen and (max-width: 1000px) {
/*--------------------------------------------------
.mainmenu_ellipsis{
本文スタイル
display:none;
--------------------------------------------------*/
li {
    margin-bottom: 0.3em;
}
}
/*--------------------------------------------------
/*--------------------------------------------------
リンク色変更
リンク色変更
105行目: 79行目:
--------------------------------------------------*/
--------------------------------------------------*/
.odd tr:nth-child(2n-1) {
.odd tr:nth-child(2n-1) {
background: #e0f7ff;
background: #dfdfdf none repeat scroll 0 0;
text-shadow: 0 1px 0 #fff;
}
}
.odd tr:nth-child(2n) {
.odd tr:nth-child(2n) {
115行目: 90行目:
--------------------------------------------------*/
--------------------------------------------------*/
.char_table {
.char_table {
  max-width:900px;
  max-width:890px;
  margin:5px auto 5px;
  margin:5px auto 5px;
}
}
127行目: 102行目:
  text-align:center;
  text-align:center;
  border:1px #333 solid;
  border:1px #333 solid;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.char_table > .comp {
letter-spacing:-1.3px;
}
}


/*--------------------------------------------------
/*--------------------------------------------------
テンプレート:引用2
その他
--------------------------------------------------*/
--------------------------------------------------*/
.blockquote2{
#mw-panel .portal{
border:1px solid #ddd;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC);
border-left:8px solid #ddd;
background-repeat: no-repeat;
position:relative;
padding:32px 24px 0.1em;
}
}
 
.nodesktop{
.blockquote2 p:nth-of-type(1) {
display:none;
 font-size:medium;
}
}
 
.clearfix:after{
.blockquote2 p:nth-last-of-type(1) {
content: "";
text-align:right;
clear: both;
font-size:smaller;
display: block;
}
 
.blockquote2::before{
position: absolute;
top: -10px;
left: 24px;
content:" ";
display:inline-block;
width:38px;
height:30px;
background:url( http://ssbwiki.e3.valueserver.jp/wiki/images/9/98/Quote-left.svg);
background-size:contain;
vertical-align:middle;
background-repeat:no-repeat;
}
}

2024年7月18日 (木) 06:25時点における最新版

/*--------------------------------------------------
ここに記述したCSSはすべての外装に反映されます
モバイル用ページ用のCSSはMediaWiki:Mobile.cssで
--------------------------------------------------*/
/*--------------------------------------------------
メインページ
--------------------------------------------------*/
body.page-メインページ .firstHeading {display:none;}
body.page-メインページ #contentSub {display:none;}

/*--------------------------------------------------
見出し
--------------------------------------------------*/
.mw-body-content h2
{
font-size:155%;
font-weight:bold;
border-bottom:medium double;
}
.mw-body-content h3
{
border-left:6px solid #BABABA;
border-bottom: 2px solid #BABABA;
}
.mw-body-content h4
{
border-left:10px double #BABABA;
}
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6
{
margin-top:1em;
padding:0.05em 0.2em;
}
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4
{
letter-spacing: 0.5em;
}
.mw-body-content h4,
.mw-body-content h5
{
border-bottom: 1px solid #BABABA;
}
.mw-editsection
{
letter-spacing: normal;
}
/*--------------------------------------------------
本文スタイル
--------------------------------------------------*/
li {
    margin-bottom: 0.3em;
}
/*--------------------------------------------------
リンク色変更
--------------------------------------------------*/
/* 白 */
.link_white a { text-decoration: none;}/* デフォでは下線無し */
.link_white a:hover{ text-decoration: underline;}/* マウスオーバーで下線 */
.link_white a:link { color: #FFF; }
.link_white a:visited { color: #FFF; }/* すでに踏んだリンク色 */

/*--------------------------------------------------
テンプレート:TOC limit
--------------------------------------------------*/
.toclimit-2 .toclevel-2 {display: none;}
.toclimit-3 .toclevel-3 {display: none;}
.toclimit-4 .toclevel-4 {display: none;}
.toclimit-5 .toclevel-5 {display: none;}
.toclimit-6 .toclevel-6 {display: none;}
.toclimit-7 .toclevel-7 {display: none;}

/*--------------------------------------------------
テーブルの奇数行に着色 表にclass="odd"
--------------------------------------------------*/
.odd tr:nth-child(2n-1) {
background: #dfdfdf none repeat scroll 0 0;
text-shadow: 0 1px 0 #fff;
}
.odd tr:nth-child(2n) {
 background: #fff;
}

/*--------------------------------------------------
キャラセレ風表
--------------------------------------------------*/
.char_table {
 max-width:890px;
 margin:5px auto 5px;
}

.char_table > div {
 display:inline-block;
 width:60px;
 letter-spacing:-0.5px;
 font-size:0.7em;
 white-space: nowrap;
 text-align:center;
 border:1px #333 solid;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.char_table > .comp {
 letter-spacing:-1.3px;
}

/*--------------------------------------------------
その他
--------------------------------------------------*/
#mw-panel .portal{
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC);
background-repeat: no-repeat;
}
.nodesktop{
display:none;
}
.clearfix:after{
content: "";
clear: both;
display: block;
}