Update About page

This commit is contained in:
lostinlight 2022-05-18 02:04:54 +03:00
parent 6f8f2c9547
commit f0b2e1eb39
3 changed files with 8 additions and 15 deletions

View file

@ -14,20 +14,20 @@ layout: layout
</div> </div>
<h2>About us</h2> <h2>About us</h2>
<% for (u in team) { %> <% for (u in team) { %>
<ul class="article-list"> <ul>
<li><img src="<%= team[u].avatar %>" alt="avatar"></li> <li><img src="<%= team[u].avatar %>" alt="avatar"></li>
<li><span>nickname: </span> <%= team[u].nickname %></li> <li><span>nickname: </span> <%= team[u].nickname %></li>
<% if (team[u].name) { %> <% if (team[u].name) { %>
<li><span>name: </span> <%= team[u].name %></li> <li><span>name: </span> <%= team[u].name %></li>
<% } %> <% } %>
<% if (team[u].site) { %> <% if (team[u].site) { %>
<li><span>site:</span> <a href="https://<%= team[u].site %>"><%= team[u].site %></a></li> <li><span>site:</span> <a href="https://<%= team[u].site %>"><%= team[u].site %></a></li>
<% } %> <% } %>
<li><span>Fedi account:</span> <a href="https://<%= team[u].fediacc %>"><%= team[u].fediacc %></a></li> <li><span>Fedi account:</span> <a href="https://<%= team[u].fediacc %>"><%= team[u].fediacc %></a></li>
<% if (team[u].gitacc) { %> <% if (team[u].gitacc) { %>
<li><span>code:</span> <a href="https://<%= team[u].gitacc %>"><%= team[u].gitacc %></a></li> <li><span>code:</span> <a href="https://<%= team[u].gitacc %>"><%= team[u].gitacc %></a></li>
<% } %> <% } %>
<li><span>info:</span> <%= team[u].info %></li> <li><span>info:</span> <%= team[u].info %></li>
</ul> </ul>
<% } %> <% } %>
</main> </main>

View file

@ -14,7 +14,7 @@
text-align: center; text-align: center;
} }
.about .article-list { .about ul {
margin: 1em 0 .5em; margin: 1em 0 .5em;
} }
@ -27,11 +27,6 @@
font-weight: bold; font-weight: bold;
} }
.about .article-list li:first-child:before,
.about .article-list li:first-child:before {
display: none;
}
.about li:last-of-type > span { .about li:last-of-type > span {
display: inline; display: inline;
} }

View file

@ -362,8 +362,6 @@ sup {
.warning-list li:before { .warning-list li:before {
content: ""; content: "";
width: 7px; width: 7px;
margin-right: .4em;
margin-bottom: 3px;
margin: 0 .4em 3px; margin: 0 .4em 3px;
height: 7px; height: 7px;
display: inline-block; display: inline-block;