Browse Source

Rearrange the navigation bar on smaller windows

pull/1918/head
Michael Vogel 6 years ago
parent
commit
5fe357ee75
  1. 12
      view/theme/vier/narrow.css
  2. 2
      view/theme/vier/style.php
  3. 1
      view/theme/vier/theme.php

12
view/theme/vier/narrow.css

@ -0,0 +1,12 @@
#nav-user-linklabel {
display: none;
}
nav ul li .menu-popup {
left: auto;
right: 0px;
}
nav #search-box #search-text {
width: 100px;
}

2
view/theme/vier/style.php

@ -26,5 +26,3 @@ else if ($style == "dark")
$stylecss = file_get_contents('view/theme/vier/dark.css');
echo $stylecss;

1
view/theme/vier/theme.php

@ -20,6 +20,7 @@ $baseurl = $a->get_baseurl();
$a->theme_info = array();
$a->page['htmlhead'] .= <<< EOT
<link rel='stylesheet' media='screen and (max-width: 1100px)' href='view/theme/vier/narrow.css' />
<script type="text/javascript">
function insertFormatting(comment,BBcode,id) {

Loading…
Cancel
Save