update repo template
This commit is contained in:
parent
a0cda32d67
commit
4ccefe1b15
2 changed files with 28 additions and 4 deletions
|
@ -1,5 +1,10 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0;
|
margin: 0px;
|
||||||
|
margin-block: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
|
@ -36,3 +41,22 @@ p {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.author {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.75rem;
|
||||||
|
font-size: 2.5rem;
|
||||||
|
color: #bdb0cc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.author .username {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
color: #776d83;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo .repo-name {
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 4.5rem;
|
||||||
|
line-height: 1.2em;
|
||||||
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<% layout('layout') %>
|
<% layout('layout') %>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="contents">
|
<div class="contents">
|
||||||
<div class="info">
|
<div class="info repo">
|
||||||
<p style="font-size: 36px; color: #9A8FA7;"><%= it.repo.owner.full_name %> @<%= it.repo.owner.login %></p>
|
<p class="author"><span><%= it.repo.owner.full_name %></span><span class="username">@<%= it.repo.owner.login %></span></p>
|
||||||
<p style="font-weight: 800; font-size: 4.5rem; line-height: 1.2em;"><%= it.repo.name %></p>
|
<p class="repo-name"><%= it.repo.name %></p>
|
||||||
<% if (it.repo.description) { %>
|
<% if (it.repo.description) { %>
|
||||||
<p style="font-size: 42px; font-weight: 500; color: #9A8FA7;"><%= it.repo.description %></p>
|
<p style="font-size: 42px; font-weight: 500; color: #9A8FA7;"><%= it.repo.description %></p>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue