mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-18 06:03:00 +05:30
make the timeline look cooler maybe
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
This commit is contained in:
parent
3260f3fb99
commit
df7c5b4c7a
@ -10,6 +10,11 @@
|
|||||||
} from 'svelte-vertical-timeline';
|
} from 'svelte-vertical-timeline';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="hero">
|
||||||
|
<h3>A timeline of <span>Project</span> <span>Segfault</span>'s history</h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
<Timeline position="alternate">
|
<Timeline position="alternate">
|
||||||
<TimelineItem>
|
<TimelineItem>
|
||||||
<TimelineOppositeContent slot="opposite-content">
|
<TimelineOppositeContent slot="opposite-content">
|
||||||
@ -167,3 +172,28 @@
|
|||||||
</TimelineContent>
|
</TimelineContent>
|
||||||
</TimelineItem>
|
</TimelineItem>
|
||||||
</Timeline>
|
</Timeline>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.hero {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-family: var(--font-header);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero > * {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero > h3 {
|
||||||
|
font-size: 50px;
|
||||||
|
font-weight: 800;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero > h3 > span {
|
||||||
|
color: var(--accent-primary);
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in New Issue
Block a user