searchhut/static/main.css

159 lines
2.1 KiB
CSS
Raw Normal View History

2022-07-09 16:55:40 +02:00
* { box-sizing: border-box; }
html, body {
min-height: 100%;
height: 100%;
font-weight: 400;
}
body {
font-family: sans-serif;
padding: 0;
margin: 0;
2022-07-09 17:02:58 +02:00
display: flex;
flex-direction: column;
}
footer {
display: flex;
flex-grow: 1;
justify-content: center;
padding-bottom: 1rem;
}
footer .infolinks {
align-self: flex-end;
2022-07-09 16:55:40 +02:00
}
.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;
}
2022-07-09 17:14:00 +02:00
.index main {
2022-07-09 16:55:40 +02:00
min-height: calc(min(640px, 100%));
height: calc(min(640px, 100%));
2022-07-09 17:48:52 +02:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.search header {
2022-07-09 16:55:40 +02:00
display: flex;
justify-content: center;
align-items: center;
}
2022-07-09 17:48:52 +02:00
.search main {
max-width: 800px;
width: 800px;
margin: 1rem auto 0;
}
form {
2022-07-09 16:55:40 +02:00
display: flex;
flex-direction: column;
}
2022-07-09 17:48:52 +02:00
form label {
2022-07-09 16:55:40 +02:00
display: none;
}
2022-07-09 17:48:52 +02:00
h1 {
2022-07-09 16:55:40 +02:00
font-weight: normal;
text-align: center;
margin-bottom: 1rem;
}
h1 a {
text-decoration: none;
color: black;
}
2022-07-09 16:55:40 +02:00
.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;
}
2022-07-09 17:48:52 +02:00
.result {
padding: .5rem;
margin: .5rem 0;
margin-top: 0.5rem;
background: #e9ecef;
}
.result .title {
display: block;
}
.result .url {
display: block;
2022-07-09 17:51:05 +02:00
color: #444;
2022-07-09 17:48:52 +02:00
}