[Scummvm-git-logs] scummvm-web master -> 15c11fc41d304129e475e58333a011f3ce1953d6
Mataniko
mataniko at gmail.com
Sat Nov 16 18:14:41 CET 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .
Summary:
15c11fc41d IMAGES: Update the hanging monkey gif
Commit: 15c11fc41d304129e475e58333a011f3ce1953d6
https://github.com/scummvm/scummvm-web/commit/15c11fc41d304129e475e58333a011f3ce1953d6
Author: Matan Bareket (mataniko at gmail.com)
Date: 2019-11-16T12:14:31-05:00
Commit Message:
IMAGES: Update the hanging monkey gif
Changed paths:
public_html/images/hangmonk.gif
scss/layout/_menu.scss
templates/layout/menu.tpl
templates/pages/index.tpl
diff --git a/public_html/images/hangmonk.gif b/public_html/images/hangmonk.gif
index 0e7f7f7..d4f9b0c 100644
Binary files a/public_html/images/hangmonk.gif and b/public_html/images/hangmonk.gif differ
diff --git a/scss/layout/_menu.scss b/scss/layout/_menu.scss
index 95d4319..e24d345 100644
--- a/scss/layout/_menu.scss
+++ b/scss/layout/_menu.scss
@@ -31,7 +31,7 @@ nav {
background-position: 1px 2px;
background-repeat: no-repeat;
padding-left: 28px;
-
+
@include respond-to('small') {
display: none;
}
@@ -70,10 +70,16 @@ nav {
}
}
-.monkey .banners {
+.menu-bottom .banners {
height: 600px;
}
+.menu-bottom .monkey {
+ image-rendering: pixelated;
+ width: 54px;
+ height: 58px;
+}
+
@include respond-to('small') {
nav {
position: fixed;
@@ -172,7 +178,7 @@ label[for="nav-trigger"] {
cursor: pointer;
background-image: url('/images/nav-trigger.svg');
background-size: contain;
-
+
@include respond-to('small') {
display: block;
z-index: 91;
diff --git a/templates/layout/menu.tpl b/templates/layout/menu.tpl
index b2a26f3..18aa263 100644
--- a/templates/layout/menu.tpl
+++ b/templates/layout/menu.tpl
@@ -3,10 +3,10 @@
{include file='components/menu_group.tpl' menu=$menu}
{/foreach}
- {include file=components/'lang_menu.tpl'}
+ {include file='components/lang_menu.tpl'}
</nav>
-<div class="monkey hide-small">
- <img src="/images/hangmonk.gif" alt="monkey" width="55" height="57" class="float_right">
+<div class="menu-bottom hide-small">
+ <img src="/images/hangmonk.gif" alt="monkey" class="monkey float_right">
{include file='components/banners.tpl'}
</div>
diff --git a/templates/pages/index.tpl b/templates/pages/index.tpl
index 2cca423..aad37f4 100644
--- a/templates/pages/index.tpl
+++ b/templates/pages/index.tpl
@@ -96,18 +96,7 @@
{* Menu. *}
<div class="col-1-5">
- <nav>
- {foreach from=$menus item=menu}
- {include file='components/menu_group.tpl' menu=$menu}
- {/foreach}
-
- {include file='components/lang_menu.tpl'}
- </nav>
-
- <div class="monkey hide-small">
- <img src="/images/hangmonk.gif" alt="monkey" width="55" height="57" class="float_right">
- {include file='components/banners.tpl'}
- </div>
+ {include file='layout/menu.tpl'}
</div>
</div>
<footer class="row">
More information about the Scummvm-git-logs
mailing list