MediaWiki:Gadget-UTCLiveClock.css:修订间差异
删除的内容 添加的内容
创建页面,内容为“→* * Explicitly set width of the UTC-clock list element, so that we can use a * hidden peer gadget to add space where the clock would go before it loads.: .skin-vector #utcdate { width: 6em; →* The default margin-left is 0.75em, but set it again here explicitly, so * we can be sure of the exact width.: margin-left: 0.75em; } /** * Vector-2022: * The header is not designed to hold too many items (see T301583#7712430) so push down to new l…” |
小无编辑摘要 |
||
第10行: | 第10行: | ||
*/ |
*/ |
||
margin-left: 0.75em; |
margin-left: 0.75em; |
||
⚫ | |||
/** |
|||
* Vector-2022: |
|||
* The header is not designed to hold too many items (see T301583#7712430) so push down to new line. |
|||
*/ |
|||
@media screen and (min-width: 1200px ) { |
|||
⚫ | |||
position: absolute; |
|||
top: 60px; |
|||
right: 0; |
|||
} |
|||
} |
} |
||
第32行: | 第20行: | ||
*/ |
*/ |
||
margin-left: 1em; |
margin-left: 1em; |
||
⚫ | |||
/* Do not clip the seconds in the date */ |
|||
⚫ | |||
width: 100%; |
|||
} |
} |
2022年12月10日 (六) 21:23的最新版本
/**
* Explicitly set width of the UTC-clock list element, so that we can use a
* hidden peer gadget to add space where the clock would go before it loads.
*/
.skin-vector #utcdate {
width: 6em;
/*
* The default margin-left is 0.75em, but set it again here explicitly, so
* we can be sure of the exact width.
*/
margin-left: 0.75em;
}
.skin-monobook #utcdate {
width: 6.279em;
display: inline-block; /* We need this for the width property to work */
/*
* The default margin-left is 1em, but set it again here explicitly, so
* we can be sure of the exact width.
*/
margin-left: 1em;
}
/* Do not clip the seconds in the date */
.skin-vector-2022 #utcdate a {
width: 100%;
}