whoogle-search/app/static/css/main.css

109 lines
1.8 KiB
CSS
Raw Normal View History

2020-01-22 10:15:29 +03:00
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body {
font-family: 'Open Sans', sans-serif;
}
.logo {
width: 80%;
display: block;
margin: auto;
padding-bottom: 10px;
}
2020-01-22 10:15:29 +03:00
.search-container {
width: 80%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 600px;
}
.search-items {
width: 100%;
position: relative;
display: flex;
}
#search-bar {
width: 100%;
border: 3px solid #685e79;
2020-01-22 10:15:29 +03:00
padding: 5px;
height: 40px;
outline: none;
font-size: 24px;
color: #685e79;
2020-01-22 10:15:29 +03:00
border-radius: 10px 10px 0 0;
max-width: 600px;
background: rgba(0,0,0,0);
2020-01-22 10:15:29 +03:00
}
#search-bar:focus{
color: #685e79;
2020-01-22 10:15:29 +03:00
}
#search-submit {
width: 100%;
height: 40px;
border: 1px solid #685e79;
background: #685e79;
2020-01-22 10:15:29 +03:00
text-align: center;
color: #fff;
cursor: pointer;
font-size: 20px;
align-content: center;
align-items: center;
margin: auto;
border-radius: 0 0 10px 10px;
max-width: 600px;
}
.config-div {
padding: 5px;
}
.collapsible {
background-color: rgba(0,0,0,0);
color: #685e79;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
border-radius: 10px 10px 0 0;
}
.active {
background-color: #685e79;
color: white;
}
.collapsible:after {
content: '\002B';
color: #685e79;
font-weight: bold;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2212";
color: white;
}
.content {
padding: 0 18px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
background-color: #685e79;
color: white;
border-radius: 0 0 10px 10px;
}
.open {
padding-bottom: 20px;
}