152 lines
2.1 KiB
CSS
152 lines
2.1 KiB
CSS
* { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
min-height: 100%;
|
|
height: 100%;
|
|
font-weight: 400;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
justify-content: center;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
footer .infolinks {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.icon svg {
|
|
vertical-align: -.17em;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
border-radius: 0;
|
|
padding: .25rem .375rem;
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
border: 1px solid #ced4da;
|
|
color: #343a40;
|
|
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
|
|
}
|
|
|
|
input[type="text"]:focus {
|
|
box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
|
|
border-color: #80bdff;
|
|
outline: 0;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
line-height: 1.5;
|
|
border-radius: 0;
|
|
padding: .1rem .75rem;
|
|
font-size: .9rem;
|
|
transition: background .1s linear;
|
|
background: #0062cc;
|
|
border: #001933 1px solid;
|
|
color: #fff;
|
|
}
|
|
|
|
button:hover {
|
|
background: #007bff;
|
|
border-color: #0062cc;
|
|
}
|
|
|
|
.index main {
|
|
min-height: calc(min(640px, 100%));
|
|
height: calc(min(640px, 100%));
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.search header {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.search main {
|
|
max-width: 800px;
|
|
width: 800px;
|
|
margin: 1rem auto 0;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
form label {
|
|
display: none;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: normal;
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.input-group {
|
|
display: flex;
|
|
}
|
|
|
|
.input-group input[type="text"] {
|
|
width: 500px;
|
|
}
|
|
|
|
.input-group button {
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.infolinks {
|
|
text-align: center;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.infolinks a {
|
|
color: gray;
|
|
}
|
|
|
|
.infolinks a:not(:last-child) {
|
|
margin-right: 1.5rem;
|
|
}
|
|
|
|
.alert {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
display: block;
|
|
color: #004085;
|
|
background-color: #cce5ff;
|
|
border-color: #b8daff;
|
|
}
|
|
|
|
.result {
|
|
padding: .5rem;
|
|
margin: .5rem 0;
|
|
margin-top: 0.5rem;
|
|
background: #e9ecef;
|
|
}
|
|
|
|
.result .title {
|
|
display: block;
|
|
}
|
|
|
|
.result .url {
|
|
display: block;
|
|
}
|