Fixing aspect ratios.

This commit is contained in:
sergiotarxz 2022-11-10 21:49:55 +01:00
parent edf4414802
commit cfcd9ca30b
2 changed files with 6 additions and 2 deletions

View File

@ -136,6 +136,10 @@ body {
vertical-align: middle;
width: 26px;
height: 30px;
&.open-menu-icon {
width: 30;
height: 30;
}
}
nav {
overflow: auto;

View File

@ -22,12 +22,12 @@
%><a class="<%=$selected && "selected" %>" href="<%= '/'.$category->{slug} %>"><%==$category->{menu_text}%></a><%
}
%><a href="/all.rss" target="_blank" rel="noopener">
Suscribete <img alt="RSS icon" class="rss-icon" src="/img/rss.svg"/>
Suscribete <img class="rss-menu-icon" alt="RSS icon" class="rss-icon" src="/img/rss.svg"/>
</a>
</nav>
<nav class="mobile-shortcuts">
<a class="go-to-index" href="<%='/'.$categories->{index}{slug}%>"><%== $categories->{index}{menu_text} %></a>
<a href="#mobile-foldable" class="menu-expand"><img src="/img/menu.png" alt="Expandir el menú."/></a>
<a href="#mobile-foldable" class="menu-expand"><img class="open-menu-icon" src="/img/menu.png" alt="Expandir el menú."/></a>
</nav>
<nav class="mobile-foldable" id="mobile-foldable"><% for my $category_key (sort {
$categories->{$a}{priority} <=> $categories->{$b}{priority}