模板:HanazonoSerenya/hanatest/style.css:修订间差异
来自RIA | Wiki
更多操作
HanazonoSerenya(留言 | 贡献) 无编辑摘要 |
HanazonoSerenya(留言 | 贡献) 无编辑摘要 |
||
| 第14行: | 第14行: | ||
.timeline { | .timeline { | ||
width: 5px; | width: 5px; | ||
height: | height: 3rem; | ||
background-color: #ffc72c; | background-color: #ffc72c; | ||
position: absolute; | position: absolute; | ||
| 第32行: | 第32行: | ||
border-radius: 50%; | border-radius: 50%; | ||
position: absolute; | position: absolute; | ||
top: 0. | top: 0.5rem; | ||
left: -1.5rem; | left: -1.5rem; | ||
} | } | ||
2025年7月25日 (五) 16:09的版本
.container{
color:red;
border:2px solid #73c5ff;
}
.tag {
display: inline-block;
/*background-color: #ff8a80;*/
color: white;
padding: 0.2rem 0.5rem;
border-radius: 0.5rem;
}
.timeline {
width: 5px;
height: 3rem;
background-color: #ffc72c;
position: absolute;
left: -1.15rem;
top: 0;
z-index: 0;
}
.timeline-item {
position: relative;
z-index: 1;
}
.timeline-item::before {
content: "";
background-color: #ffc72c;
width: 1rem;
height: 1rem;
border-radius: 50%;
position: absolute;
top: 0.5rem;
left: -1.5rem;
}