rework to use new @besties/html2png
This commit is contained in:
parent
7d6cf5b09f
commit
cc40eb1fff
7 changed files with 97 additions and 172 deletions
|
@ -44,4 +44,38 @@
|
|||
<p class="fact-heading"><%= new Intl.DateTimeFormat('en-US', { dateStyle: 'long' }).format(new Date(it.repo.updated_at)) %></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.repo .title {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.repo .author {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
font-size: 2.5rem;
|
||||
font-weight: 600;
|
||||
color: #aeb3d0;
|
||||
}
|
||||
.repo .author .username {
|
||||
font-size: 1.75rem;
|
||||
font-weight: 400;
|
||||
color: #6d728f;
|
||||
}
|
||||
.repo .repo-name {
|
||||
font-weight: 800;
|
||||
font-size: 4.5rem;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
.fact {
|
||||
display: flex;
|
||||
margin-right: 0.5em;
|
||||
font-size: 1.5rem;
|
||||
flex-direction: column;
|
||||
}
|
||||
.fact-heading {
|
||||
color: #8c91af;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue