edx/project0/search.css
2022-11-14 19:14:28 -05:00

95 lines
1.5 KiB
CSS

* {
margin: 0;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
}
.header {
display: flex;
justify-content: space-between;
padding: 20px 30px;
align-items: center;
}
.header a {
margin-right: 20px;
text-decoration: inherit;
color: rgba(0, 0, 0, 0.87);
font-size: 15px;
}
.header a:hover {
text-decoration: underline;
}
.header-right {
display: flex;
margin-left: auto;
min-width: 13vw;
justify-content: space-between;
}
.header__right .header__apps {
margin-right: 10px;
}
/* Main Body */
.mainBody {
flex: 1;
display: flex;
margin-top: 12%;
flex-direction: column;
}
.mainBody img {
object-fit: contain;
height: 100px;
}
/* search */
.search__input {
display: flex;
align-items: center;
border: 1px solid lightgray;
height: 30px;
padding: 10px 20px;
border-radius: 999px;
width: 75vw;
margin: 0 auto;
margin-top: 40px;
max-width: 560px;
}
.search__input input {
flex: 1;
padding: 10px 20px;
border: none;
outline: none;
}
.search__input .material-icons {
color: gray;
}
.search__buttons {
margin-top: 30px;
display: flex;
justify-content: center;
}
.search__buttons button {
margin: 5px;
padding: 10px 15px;
background-color: #f8f8f8;
outline: none;
border: none;
cursor: pointer;
}