「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
19行目: | 19行目: | ||
.fixed02 { | .fixed02 { | ||
position: sticky; | position: sticky; | ||
left: | left: 199px; | ||
text-align: center; | text-align: center; | ||
background-color: #f8f9fa; | background-color: #f8f9fa; |
2022年8月30日 (火) 16:30時点における版
/* ここに記述した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: 199px;
text-align: center;
background-color: #f8f9fa;
&:before{
content: "";
position: absolute;
top: -1px;
left: -1px;
width: 100%;
height: 100%;
border: 1px solid #ccc;
}
}