Center search bar

This commit is contained in:
Thomas Dehaeze 2020-09-01 22:51:53 +02:00
parent 760f19fbb9
commit 5f5e8c5a2b

View File

@ -1,23 +1,19 @@
h1.title {
font-size: 48px;
font-family: chancery,cursive,LiSu,sans-serif;
}
.tag {
background-color: transparent;
}
/* When the input field gets focus, change its width to 100% */
input[type=text]:focus {
width: 100%;
}
input {
input#search {
display: block;
margin: auto;
width: 400px;
margin: 10px;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 4px;
font-size: 16px;
background-color: white;
background-position: 10px 12px;
background-repeat: no-repeat;
padding: 12px 20px 12px 40px;
-webkit-transition: width .4s ease-in-out;
transition: width .4s ease-in-out;
padding: 12px 20px 12px 20px;
}