Permalink
Browse files

Styled input box on /search/

  • Loading branch information...
simonw committed Oct 1, 2017
1 parent cb88c2d commit 2c262c753cdf37c18e0af76c10c5bff7a029927c
Showing with 16 additions and 2 deletions.
  1. +14 −0 static/css/all.css
  2. +2 −2 templates/search.html
View
@@ -720,6 +720,20 @@ div.help p {
margin: 0 0 1em 0
}
.search-input,
.search-submit {
border: 1px solid #733b96;
padding: 4px;
box-sizing: border-box;
}
.search-input {
width: 80%;
}
.search-submit {
background-color: #733b96;
color: white;
}
@media (max-width: 600px) {
div#secondary {
float: none;
View
@@ -7,8 +7,8 @@
<h2>Search{% if q %} for “{{ q }}”{% endif %}</h2>
<form action="{{ request.path }}" method="GET">
<input type="search" name="q" value="{{ q }}" style="width: 80%">
<input type="submit" value="Search">
<input type="search" class="search-input" name="q" value="{{ q }}" style="width: 80%">
<input type="submit" class="search-submit" value="Search">
</form>
<br>

0 comments on commit 2c262c7

Please sign in to comment.