Fix layout

This commit is contained in:
lostinlight 2018-06-12 15:52:48 +03:00
parent 991b19faa9
commit ed7d01a7ad
2 changed files with 9 additions and 3 deletions

View file

@ -80,7 +80,7 @@ layout: layout
<div class="section-wrapper"> <div class="section-wrapper">
<div class="column"> <div class="column">
<div class="section u-block u-nomargin"> <div class="section u-block">
<h4><%- __('utilities') %></h4> <h4><%- __('utilities') %></h4>
<ul class="section-list"> <ul class="section-list">
<% for (item in utilities) { %> <% for (item in utilities) { %>
@ -93,7 +93,7 @@ layout: layout
</div> </div>
</div> </div>
<div class="column"> <div class="column">
<div class="section u-block u-nomargin"> <div class="section u-block">
<h4><%- __('techies') %></h4> <h4><%- __('techies') %></h4>
<p class="u-nomargin"><a href="<%= data.awesome %>"><%- __('awesome') %></a></p> <p class="u-nomargin"><a href="<%= data.awesome %>"><%- __('awesome') %></a></p>
<p class="u-nomargin"><a href="<%= data.backup %>"><%- __('backup') %></a></p> <p class="u-nomargin"><a href="<%= data.backup %>"><%- __('backup') %></a></p>
@ -111,7 +111,7 @@ layout: layout
<h4><%- __('forks') %></h4> <h4><%- __('forks') %></h4>
<% for (item in forks) { %> <% for (item in forks) { %>
<% let b = forks[item].id %> <% let b = forks[item].id %>
<li class="u-inline"> <li>
<a href="<%= forks[item].url %>"><%= forkTitles[b] %></a> <a href="<%= forks[item].url %>"><%= forkTitles[b] %></a>
</li> </li>
<% } %> <% } %>

View file

@ -337,6 +337,12 @@ dfn {
z-index: $zIndex--5; z-index: $zIndex--5;
} }
@media screen and (max-width: $mq-large) {
.contents.network {
padding: 2em 13% 1.5em;
}
}
@media screen and (max-width: $mq-medium) { @media screen and (max-width: $mq-medium) {
.contents { .contents {
padding: 2em 10% 1.5em; padding: 2em 10% 1.5em;