Rearrange the navigation bar on smaller windows

This commit is contained in:
Michael Vogel 2015-09-30 21:59:55 +02:00
parent 389b7de451
commit 5fe357ee75
3 changed files with 13 additions and 2 deletions

View File

@ -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;
}

View File

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

View File

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