master
xaoxuu 4 years ago
parent 09d76e079f
commit 09c3fa6ecc
  1. 2
      layout/_widget/list.ejs
  2. 10
      source/css/_layout/article.styl

@ -21,7 +21,7 @@
<% } else { %> <% } else { %>
<i class="<%= row.icon %> fa-fw" aria-hidden="true"></i> <i class="<%= row.icon %> fa-fw" aria-hidden="true"></i>
<% } %> <% } %>
&nbsp;&nbsp;<%- row.name %> <%- row.name %>
</div> </div>
<% if(row.desc) { %> <% if(row.desc) { %>
<div class='badge'>(<%- row.desc %>)</div> <div class='badge'>(<%- row.desc %>)</div>

@ -320,19 +320,19 @@
&:before &:before
content: '' content: ''
display: block display: block
margin-top: 0 - $navbar-height - 2 * $gap margin-top: 0 - $navbar-height - $gap
height: $navbar-height + 2 * $gap height: $navbar-height + $gap
visibility: hidden visibility: hidden
pointer-events: none pointer-events: none
h1,h2 h1,h2
&:before &:before
margin-top: $gap-h2 - $navbar-height - 2 * $gap margin-top: $gap-h2 - $navbar-height - $gap
h3 h3
&:before &:before
margin-top: $gap-h3 - $navbar-height - 2 * $gap margin-top: $gap-h3 - $navbar-height - $gap
h4 h4
&:before &:before
margin-top: $gap-h4 - $navbar-height - 2 * $gap margin-top: $gap-h4 - $navbar-height - $gap
h5 h5
font-weight: bold font-weight: bold
p p

Loading…
Cancel
Save