MediaWiki:Common.css
提供: 不登校ウィキ・WikiFutoko | 不登校情報センター
(版間での差分)
Wikifutoko-sysop (トーク | 投稿記録) (ページの作成: - →ここに書いた CSS はすべての外装に反映されます: body.page-メインページ h1.firstHeading {display:none;} body.page-メインページ #contentSub {di...) |
Wikifutoko-sysop (トーク | 投稿記録) |
||
| (1人の利用者による、間の49版が非表示) | |||
| 1行: | 1行: | ||
/* ここに書いた CSS はすべての外装に反映されます */ | /* ここに書いた CSS はすべての外装に反映されます */ | ||
| − | |||
body.page-メインページ h1.firstHeading {display:none;} | body.page-メインページ h1.firstHeading {display:none;} | ||
body.page-メインページ #contentSub {display:none;} | body.page-メインページ #contentSub {display:none;} | ||
| + | |||
| + | body.page-メインページ #siteSub {display:none;} | ||
| + | |||
| + | /* border:none;はhタグにつく下線の削除。下線はunderline文字の装飾によって付くのではない。 */ | ||
| + | body.page-メインページ #mainpage-hx {text-decoration: none; | ||
| + | font-size: 14px; | ||
| + | border: none; | ||
| + | border-bottom: 1px solid #f00; | ||
| + | margin: 0px; | ||
| + | } | ||
| + | |||
| + | /* hタグ修飾を削除するためのクラス 例)<h2 class="non-deco">....</h2> */ | ||
| + | .non-deco { | ||
| + | text-decoration: none; | ||
| + | font-size: 12px; | ||
| + | border: none; | ||
| + | margin: 0px; | ||
| + | } | ||
| + | |||
| + | |||
| + | #siteSub { | ||
| + | display: inline; | ||
| + | font-size: 90%; | ||
| + | font-weight: normal; | ||
| + | font-style: normal; | ||
| + | text-align: right; | ||
| + | } | ||
| + | |||
| + | |||
| + | .tablebackground-mainpage{ | ||
| + | background-image : url(http://www.futoko.info/zzimage/logo_background.png); | ||
| + | background-repeat : repeat-x; | ||
| + | } | ||
| + | |||
| + | /* *** for use jquery masonry *** */ | ||
| + | .editor-item { | ||
| + | width: 300px; | ||
| + | margin: 10px; | ||
| + | float: left; | ||
| + | } | ||
| + | |||
| + | /* *** nowrap *** */ | ||
| + | div.nowrap span { | ||
| + | white-space: nowrap; | ||
| + | } | ||
| + | |||
| + | /* *** 詳細ページの表(tableタグ)に適用するクラス *** */ | ||
| + | .shousai-table th { | ||
| + | width: 160px; | ||
| + | max-width: 160px; | ||
| + | text-align: left; | ||
| + | } | ||
| + | .shousai-table td { | ||
| + | width: 450px; | ||
| + | max-width: 450px; | ||
| + | text-align: left; | ||
| + | } | ||
| + | |||
| + | |||
| + | /* *** clearfix *** */ | ||
| + | .clearfix:after { | ||
| + | content: "."; | ||
| + | display: block; | ||
| + | clear: both; | ||
| + | height: 0; | ||
| + | visibility: hidden; | ||
| + | } | ||
| + | |||
| + | .clearfix { | ||
| + | min-height: 1px; | ||
| + | } | ||
| + | |||
| + | |||
| + | * html .clearfix { | ||
| + | height: 1px; | ||
| + | /*¥*//*/ | ||
| + | height: auto; | ||
| + | overflow: hidden; | ||
| + | /**/ | ||
| + | } | ||
| + | |||
| + | .clearfix{ | ||
| + | display:block; | ||
| + | } | ||
| + | |||
| + | |||
| + | /* for Extension:Slideshow(show correctly on Internet Explorer) */ | ||
| + | .slideshow div { | ||
| + | _position: absolute; | ||
| + | } | ||
| + | |||
| + | .slideshow div div { | ||
| + | _position: static; | ||
| + | } | ||
| + | /* ************************************************************ */ | ||
2013年1月12日 (土) 22:15時点における最新版
/* ここに書いた CSS はすべての外装に反映されます */
body.page-メインページ h1.firstHeading {display:none;}
body.page-メインページ #contentSub {display:none;}
body.page-メインページ #siteSub {display:none;}
/* border:none;はhタグにつく下線の削除。下線はunderline文字の装飾によって付くのではない。 */
body.page-メインページ #mainpage-hx {text-decoration: none;
font-size: 14px;
border: none;
border-bottom: 1px solid #f00;
margin: 0px;
}
/* hタグ修飾を削除するためのクラス 例)<h2 class="non-deco">....</h2> */
.non-deco {
text-decoration: none;
font-size: 12px;
border: none;
margin: 0px;
}
#siteSub {
display: inline;
font-size: 90%;
font-weight: normal;
font-style: normal;
text-align: right;
}
.tablebackground-mainpage{
background-image : url(http://www.futoko.info/zzimage/logo_background.png);
background-repeat : repeat-x;
}
/* *** for use jquery masonry *** */
.editor-item {
width: 300px;
margin: 10px;
float: left;
}
/* *** nowrap *** */
div.nowrap span {
white-space: nowrap;
}
/* *** 詳細ページの表(tableタグ)に適用するクラス *** */
.shousai-table th {
width: 160px;
max-width: 160px;
text-align: left;
}
.shousai-table td {
width: 450px;
max-width: 450px;
text-align: left;
}
/* *** clearfix *** */
.clearfix:after {
content: ".";
display: block;
clear: both;
height: 0;
visibility: hidden;
}
.clearfix {
min-height: 1px;
}
* html .clearfix {
height: 1px;
/*¥*//*/
height: auto;
overflow: hidden;
/**/
}
.clearfix{
display:block;
}
/* for Extension:Slideshow(show correctly on Internet Explorer) */
.slideshow div {
_position: absolute;
}
.slideshow div div {
_position: static;
}
/* ************************************************************ */

