Merge pull request #15 from dalf/master

[mod] no glitch on small screen like smartphone
This commit is contained in:
Adam Tauber 2014-01-03 17:33:17 -08:00
commit 42c85a094a
1 changed files with 7 additions and 1 deletions

View File

@ -75,7 +75,7 @@ a { text-decoration: none; }
.result h3 { font-size: 0.9em;} .result h3 { font-size: 0.9em;}
.result { max-width: 70em; } .result { max-width: 70em; }
.url { font-weight: bold; } .url { font-weight: bold; word-wrap:break-word; }
.q { width: 30em; } .q { width: 30em; }
@ -140,3 +140,9 @@ tr:hover td { background: #DDDDDD; }
#suggestions { max-width: 50em;} #suggestions { max-width: 50em;}
#suggestions form { display: inline; } #suggestions form { display: inline; }
#suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; } #suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; }
@media screen and (max-width: 740px) {
.right { margin: 5px; }
#search_wrapper { max-width: 90%; clear:both }
}