diff --git a/view/theme/vier/mobile.css b/view/theme/vier/mobile.css index d06cb4101..cde49b7b7 100644 --- a/view/theme/vier/mobile.css +++ b/view/theme/vier/mobile.css @@ -60,6 +60,9 @@ nav ul { .wall-item-container .wall-item-content .type-link img.attachment-image, .type-link img.attachment-image, .type-video img.attachment-image { max-width: 350px; } + a.desktop-view { display: none; } + a.mobile-view { display: initial; } + #nav-apps-link { display: none; } } @media screen and (max-width: 480px) { diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index e53ac45f7..c854b26dd 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -372,6 +372,13 @@ code { z-index: 100000; box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); } + +/* some settings for different form-factors */ +@media (min-width: 601px) { + a.mobile-view { display: none }; + a.desktop-view { display: initial }; +} + /* tool */ .tool { height: auto; diff --git a/view/theme/vier/templates/nav.tpl b/view/theme/vier/templates/nav.tpl index 77bad9370..90e8bc9cf 100644 --- a/view/theme/vier/templates/nav.tpl +++ b/view/theme/vier/templates/nav.tpl @@ -14,24 +14,28 @@ {{if $nav.home}} {{/if}} {{if $nav.network}} {{/if}} {{if $nav.events}} {{/if}} {{if $nav.community}} {{/if}}