mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Change timeline "now" position (#36832)
* Adjust timeline * Reduce timeline offset slightly
This commit is contained in:
parent
6492344a48
commit
02332dcb11
@ -112,7 +112,7 @@ frontpage_image: /images/frontpage/voice-pe-frontpage.jpg
|
|||||||
</div>
|
</div>
|
||||||
<div class="event">
|
<div class="event">
|
||||||
<div class="event-details">
|
<div class="event-details">
|
||||||
<div class="when">Now</div>
|
<div class="when">December 2024</div>
|
||||||
<div class="title h4">Voice Preview Edition launches</div>
|
<div class="title h4">Voice Preview Edition launches</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="event-content">
|
<div class="event-content">
|
||||||
|
@ -1590,25 +1590,10 @@ section#hero .bg-gradient {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
.vpe-main #timeline[data-event="0"] .timeline .track .icon {
|
|
||||||
--top: calc(var(--grid-m) * -5);
|
|
||||||
}
|
|
||||||
|
|
||||||
.vpe-main #timeline[data-event="1"] .timeline .track .icon {
|
|
||||||
--top: calc(var(--grid-m) * var(--event-height));
|
|
||||||
}
|
|
||||||
|
|
||||||
.vpe-main #timeline[data-event="2"] .timeline .track .icon {
|
.vpe-main #timeline[data-event="2"] .timeline .track .icon {
|
||||||
--top: calc(var(--grid-m) * (var(--event-height) * 2));
|
--top: calc(var(--grid-m) * (var(--event-height) * 2.333));
|
||||||
}
|
}
|
||||||
|
|
||||||
.vpe-main #timeline[data-event="3"] .timeline .track .icon {
|
|
||||||
--top: calc(var(--grid-m) * (var(--event-height) * 3));
|
|
||||||
}
|
|
||||||
|
|
||||||
.vpe-main #timeline[data-event="4"] .timeline .track .icon {
|
|
||||||
--top: calc(var(--grid-m) * (var(--event-height) * 4));
|
|
||||||
}
|
|
||||||
|
|
||||||
.vpe-main #timeline[data-event="0"] .event:nth-child(1) .content {
|
.vpe-main #timeline[data-event="0"] .event:nth-child(1) .content {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user