help.html: better navbar on iPhone.

master
John Benediktsson 2020-05-22 10:03:39 -07:00
parent e2fa0a6392
commit 802bb073b0
2 changed files with 17 additions and 5 deletions

View File

@ -83,13 +83,10 @@ M: pathname url-of
<div class="navbar"> <div class="navbar">
<a href="/">Handbook</a> <a href="/">Handbook</a>
<a href=<->>Glossary</a> <a href=<->>Glossary</a>
<form method="get" action="/search" style="display:inline;"> <form method="get" action="/search" style="float: right;">
<input placeholder="Search" name="search" type="text"/> <input placeholder="Search" name="search" type="text"/>
<input type="submit" value="Go"/> <input type="submit" value="Go"/>
</form> </form>
<div style="float: right;">
<a href="//factorcode.org"><b>factorcode.org</b></a>
</div>
</div> </div>
XML] ; XML] ;

View File

@ -18,8 +18,12 @@ body {
input { input {
border: 1px solid #999999; border: 1px solid #999999;
font-size: smaller;
border-radius: 3px; border-radius: 3px;
font-size: 1.0em;
}
input[type=text] {
width: 200px;
} }
img { img {
@ -62,3 +66,14 @@ tr:hover {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
@media screen and (max-width: 480px) {
input {
font-size: smaller;
}
input[type=text] {
width: 100px;
}
}