Merge pull request #85 from courgette/master

[courgette_theme] add autocomplete theme
This commit is contained in:
Adam Tauber 2014-08-22 11:59:20 +02:00
commit 031be2d4d9

View File

@ -53,10 +53,12 @@ html {
text-align: center; text-align: center;
background: rgba(255,255,255,0.6); background: rgba(255,255,255,0.6);
padding: 4em 2em; padding: 4em 2em;
position: absolute; margin: 7% auto 0;
position: relative;
/*position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin:-220px 0 0 -408px; margin:-220px 0 0 -408px;*/
} }
.center.search { .center.search {
@ -67,6 +69,21 @@ html {
padding-top: 1.8em; padding-top: 1.8em;
} }
.autocompleter-choices {
position: absolute;
margin: 0;
padding: 0;
background: #FFF;
}
.autocompleter-choices li {
padding: 0.5em 1em;
}
.autocompleter-choices li:hover {
background: #3498DB;
color: #FFF;
cursor: pointer;
}
#categories { #categories {
text-align: center; text-align: center;
} }