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

提供:エケペディア
ナビゲーションに移動 検索に移動
(セットリスト用CSSの修正)
(nowiki)
 
(3人の利用者による、間の16版が非表示)
1行目: 1行目:
/* ここに記述したCSSは携帯機器版サイトの利用者のみに影響します */
/* <nowiki> ここに記述したCSSは携帯機器版サイトの利用者のみに影響します */


/*セットリスト用CSS*/
/* [[テンプレート:情報ボックス]] */
.setlist {
.content table.infobox { /* .content table を上書き */
  counter-reset: setlist-item;
display: table;
width: auto;
}
}
.setlist ol, .setlist p {
table.infobox table td { /* table.infobox td を上書き */
  margin: 0;
border: 0;
  padding: 0;
}
}
.setlist li {
 
  list-style-type: none;
/* [[テンプレート:折り畳みボックス]] */
  counter-increment: setlist-item;
.content table.collapsible { /* .content table を上書き */
display: table;
margin: 0;
width: 100%;
}
.navboxLinks {
display: none;
}
div.collapseButton { /* .collapseBotton を上書き */
width: auto;
}
 
/* [[テンプレート:メッセージボックス]] */
.message-box {
width: 100%;
margin: 0;
padding: 0;
border: 1px solid #aaa;
}
}
.setlist li:before {
.message-box + .message-box {
  content: "M" counters(setlist-item, "", decimal-leading-zero) ".";
margin-top: -1px;
  margin-right: 0.3em;
}
}
.encore li:before {
.message-box .message-box-image {
  content: "EN" counters(setlist-item, "") ".";
display: none;
}
.message-box .message-box-text {
width: 100%;
font-size: smaller;
}
 
/* [[テンプレート:タブ]] */
#content div.tab-list ul {
display: none;
}
.tab-content {
clear: both;
}
 
/* [[widget:YouTube]] */
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
}
.with-overture {
.video-container iframe {
  counter-reset: setlist-item -1;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
/*ここまで、セットリスト用CSS*/

2016年4月28日 (木) 17:58時点における最新版

/* <nowiki> ここに記述したCSSは携帯機器版サイトの利用者のみに影響します */

/* [[テンプレート:情報ボックス]] */
.content table.infobox { /* .content table を上書き */
	display: table;
	width: auto;
}
table.infobox table td { /* table.infobox td を上書き */
	border: 0;
}

/* [[テンプレート:折り畳みボックス]] */
.content table.collapsible { /* .content table を上書き */
	display: table;
	margin: 0;
	width: 100%;
}
.navboxLinks {
	display: none;
}
div.collapseButton { /* .collapseBotton を上書き */
	width: auto;
}

/* [[テンプレート:メッセージボックス]] */
.message-box {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid #aaa;
}
.message-box + .message-box {
	margin-top: -1px;
}
.message-box .message-box-image {
	display: none;
}
.message-box .message-box-text {
	width: 100%;
	font-size: smaller;
}

/* [[テンプレート:タブ]] */
#content div.tab-list ul {
	display: none;
}
.tab-content {
	clear: both;
}

/* [[widget:YouTube]] */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}