update user template
This commit is contained in:
parent
656981a21d
commit
15cf5a13c8
1 changed files with 19 additions and 14 deletions
|
@ -10,13 +10,17 @@
|
||||||
<div class="main user">
|
<div class="main user">
|
||||||
<div class="contents">
|
<div class="contents">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<p class="title"><span><%= it.user.full_name || it.user.username %></span> <span class="username">@<%= it.user.username %></span></p>
|
<p class="title">
|
||||||
<p class="description"><%= description %></p>
|
<span class="word name"><%= it.user.full_name || it.user.username %></span>
|
||||||
|
<span class="word username">@<%= it.user.username %>aaaaaaaaaa</span>
|
||||||
|
</p>
|
||||||
|
<p class="description"><%= description %>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="graphics">
|
<div class="graphics">
|
||||||
<% if (it.user.avatar_url) { %>
|
<% if (it.user.avatar_url) { %>
|
||||||
<img width="120" height="120" src="<%= it.user.avatar_url %>"></img>
|
<img width="120" height="120" src="<%= it.user.avatar_url %>"></img>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-line">
|
<div class="info-line">
|
||||||
|
@ -42,20 +46,21 @@
|
||||||
.user .title {
|
.user .title {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
|
||||||
.user .title span:not(.username) {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
font-size: 3rem;
|
align-items: center;
|
||||||
font-weight: 600;
|
}
|
||||||
color: #aeb3d0;
|
.user .title .name {
|
||||||
|
font-size: 4rem;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
.user .title .username {
|
.user .title .username {
|
||||||
font-size: 1.75rem;
|
font-size: 3.5rem;
|
||||||
gap: 0.5rem;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #6d728f;
|
color: #6d728f;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
.fact {
|
.fact {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in a new issue