LLWiki正在建设中,欢迎加入我们!
“Widget:Countdown”的版本间差异
跳转到导航
跳转到搜索
(使用页面/文本对比查看器快速编辑) |
(使用页面/文本对比查看器快速编辑) |
||
第4行: | 第4行: | ||
/* </includeonly>CSS样式表:<pre lang="css"> */ |
/* </includeonly>CSS样式表:<pre lang="css"> */ |
||
.countdownNode { |
.countdownNode { |
||
visibility: hidden; |
visibility: hidden; /* 占位 */ |
||
display: inline; |
|||
} |
} |
||
.counting { |
.counting > :first-child { |
||
display: inline; /* 覆盖songposition */ |
|||
} |
|||
.counting > span:first-child { |
|||
display: none; |
display: none; |
||
} |
} |
||
.isBefore > |
.isBefore > :first-child { |
||
display: initial; |
display: initial; |
||
} |
} |
||
.isBefore > |
.isBefore > :last-child { |
||
display: none; |
display: none; |
||
} |
} |
2021年1月30日 (六) 03:11的版本
JavaScript脚本:User:Bhsd/widget/countdown.js
CSS样式表:
*/
.countdownNode {
visibility: hidden; /* 占位 */
}
.counting > :first-child {
display: none;
}
.isBefore > :first-child {
display: initial;
}
.isBefore > :last-child {
display: none;
}
/*