「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
6行目: | 6行目: | ||
text-align: left; | text-align: left; | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
&:before{ | |||
content: ""; | |||
position: absolute; | |||
top: -1px; | |||
left: -1px; | |||
width: 100%; | |||
height: 100%; | |||
border: 1px solid #ccc; | |||
} | |||
} | } | ||
13行目: | 22行目: | ||
text-align: center; | text-align: center; | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
&:before{ | |||
content: ""; | |||
position: absolute; | |||
top: -1px; | |||
left: -1px; | |||
width: 100%; | |||
height: 100%; | |||
border: 1px solid #ccc; | |||
} | |||
} | } |
2022年8月30日 (火) 16:29時点における版
/* ここに記述したCSSはすべての外装に反映されます */
.fixed01 {
position: sticky;
left: 0;
text-align: left;
background-color: #f8f9fa;
&:before{
content: "";
position: absolute;
top: -1px;
left: -1px;
width: 100%;
height: 100%;
border: 1px solid #ccc;
}
}
.fixed02 {
position: sticky;
left: 0;
text-align: center;
background-color: #f8f9fa;
&:before{
content: "";
position: absolute;
top: -1px;
left: -1px;
width: 100%;
height: 100%;
border: 1px solid #ccc;
}
}