“Widget:TableLineVertical”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
 
第1行: 第1行:
 
<style>
 
<style>
.<!--{$class|escape:'html'}--> th:nth-child(<!--{$column|escape:'html'}-->), td:nth-child(<!--{$column|escape:'html'}-->) {border-right: <!--{$style|escape:'html'}-->}
+
table.<!--{$class|escape:'html'}--> > * > tr > th:nth-child(<!--{$column|escape:'html'}-->), table.<!--{$class|escape:'html'}--> > * > tr > td:nth-child(<!--{$column|escape:'html'}-->) {border-right: <!--{$style|escape:'html'}--> !important}
.<!--{$class|escape:'html'}-->.wikitable th:nth-child(<!--{$column|escape:'html'}-->), td:nth-child(<!--{$column|escape:'html'}-->) {border-right: <!--{$style|escape:'html'}-->}
+
table.<!--{$class|escape:'html'}--> > * > tr > th:nth-child(<!--{$column|escape:'html'}-->) + th, table.<!--{$class|escape:'html'}--> > * > tr > td:nth-child(<!--{$column|escape:'html'}-->) + td {border-left: none !important}
 
</style>
 
</style>

2020年5月10日 (日) 12:29的最新版本

<style> table. > * > tr > th:nth-child(), table. > * > tr > td:nth-child() {border-right: !important} table. > * > tr > th:nth-child() + th, table. > * > tr > td:nth-child() + td {border-left: none !important} </style>