edx/project0/search.css

112 lines
1.7 KiB
CSS
Raw Permalink Normal View History

2022-11-15 00:14:28 +00:00
* {
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;
2022-11-15 04:38:41 +00:00
}
.search__buttons button.advanced {
color: #fff;
background-color: #337ab7;
border-color: #2e6da4;
}
.appbar {
color: #d93025;
font-size: 20px;
}
div.lOTAE {
height: 30px;
display: table-cell;
vertical-align: middle;
2022-11-15 00:14:28 +00:00
}