Dantes (обсуждение | вклад) Нет описания правки |
Dantes (обсуждение | вклад) Нет описания правки |
||
Строка 2: | Строка 2: | ||
width: 100%; | width: 100%; | ||
margin: 20px 0; | margin: 20px 0; | ||
background-color: transparent; | |||
} | } | ||
Строка 7: | Строка 8: | ||
padding: 10px; | padding: 10px; | ||
border-bottom: 1px solid #555; | border-bottom: 1px solid #555; | ||
background-color: #333; | background-color: var(--timeline-entry-bg, #333); | ||
} | } | ||
Строка 13: | Строка 14: | ||
font-size: 18px; | font-size: 18px; | ||
font-weight: bold; | font-weight: bold; | ||
color: #fff; | color: var(--timeline-header-color, #fff); | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
Строка 20: | Строка 21: | ||
padding: 10px; | padding: 10px; | ||
font-size: 16px; | font-size: 16px; | ||
color: #ddd; | color: var(--timeline-content-color, #ddd); | ||
background-color: #444; | background-color: var(--timeline-content-bg, #444); | ||
display: none; | display: none; | ||
} | } | ||
.timeline-entry:nth-child(even) { | .timeline-entry:nth-child(even) { | ||
background-color: #222; | background-color: var(--timeline-entry-bg-even, #222); | ||
} | } | ||
.timeline-entry:hover { | .timeline-entry:hover { | ||
background-color: #555; | background-color: var(--timeline-entry-bg-hover, #555); | ||
} | } | ||
.timeline-entry a { | .timeline-entry a { | ||
color: #ff9800; | color: var(--timeline-link-color, #ff9800); | ||
text-decoration: none; | text-decoration: none; | ||
} | } |
Версия от 07:21, 17 января 2025
.timeline { width: 100%; margin: 20px 0; background-color: transparent; } .timeline-entry { padding: 10px; border-bottom: 1px solid #555; background-color: var(--timeline-entry-bg, #333); } .timeline-header { font-size: 18px; font-weight: bold; color: var(--timeline-header-color, #fff); cursor: pointer; } .timeline-content { padding: 10px; font-size: 16px; color: var(--timeline-content-color, #ddd); background-color: var(--timeline-content-bg, #444); display: none; } .timeline-entry:nth-child(even) { background-color: var(--timeline-entry-bg-even, #222); } .timeline-entry:hover { background-color: var(--timeline-entry-bg-hover, #555); } .timeline-entry a { color: var(--timeline-link-color, #ff9800); text-decoration: none; } .timeline-entry a:hover { text-decoration: underline; }