340
回編集
編集の要約なし |
(→編集提案 20191015: 新しい節) |
||
35行目: | 35行目: | ||
行中の最後の列だけを右寄せにすると、戻るリンクをつけている表では不具合が起こるようで……。左から列数を数えて「4列目に働くスタイル」「5列目に働くスタイル」などを複数用意すればうまくいくのですが、表自体の意味的構造の観点も含めて考え中。--[[利用者:Yasusushi|<span style="color:#f06">Yasusushi</span>]] [[利用者・トーク:Yasusushi|<span style="font-size:small;color:#080">[talk]</span>]] 2016年9月28日 (水) 23:25 (JST) | 行中の最後の列だけを右寄せにすると、戻るリンクをつけている表では不具合が起こるようで……。左から列数を数えて「4列目に働くスタイル」「5列目に働くスタイル」などを複数用意すればうまくいくのですが、表自体の意味的構造の観点も含めて考え中。--[[利用者:Yasusushi|<span style="color:#f06">Yasusushi</span>]] [[利用者・トーク:Yasusushi|<span style="font-size:small;color:#080">[talk]</span>]] 2016年9月28日 (水) 23:25 (JST) | ||
== 編集提案 20191015 == | |||
<div style="margin-left:3em;"><small>「[[テンプレート・トーク:折り畳みボックス#項目の中途改行解消について]]」から議論移動</small></div> | |||
: hlist で nowrap する指定がコメントアウトされていますので戻してほしいです。加えて[[:jawp:MediaWiki:Common.css]] にある dl/ol/ul をネストした場合に解除する指定の転記が必要だと思います。 | |||
<syntaxhighlight lang=css> | |||
/* Display nested lists inline and allow them to wrap */ | |||
.hlist dl dl, .hlist dl ol, .hlist dl ul, | |||
.hlist ol dl, .hlist ol ol, .hlist ol ul, | |||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | |||
display: inline; | |||
white-space: normal; | |||
} | |||
</syntaxhighlight> | |||
: あと、ついでに .nowraplinks 等も導入をお願いします。hlist を使ってない[[AKB48]]/[[乃木坂46]]のグループ情報の画像下の関連ページとかで使用したいです。 | |||
<syntaxhighlight lang=css> | |||
/* 特定場所での改行を防ぐ: | |||
1) 個別に指定した場所 | |||
2) リンク途中 | |||
3) そのページ自身へのリンク(太字部分) | |||
4) グループ名付きの ref タグ <ref group="注"> --> "[注 1]" */ | |||
.nowrap, | |||
.nowraplinks a, | |||
.nowraplinks .selflink, | |||
sup.reference a { | |||
white-space: nowrap; | |||
} | |||
/* 以下のクラスを指定した場所では解除する: */ | |||
.wrap, | |||
.wraplinks a { | |||
white-space: normal; | |||
} | |||
</syntaxhighlight> | |||
: --[[利用者:Koikm|Koikm]] ([[利用者・トーク:Koikm|トーク]]) 2019年10月15日 (火) 01:01 (JST) |
回編集