ferret/static/style.css

140 lines
1.8 KiB
CSS

body {
margin:40px auto;
line-height:1.6;
max-width: 650px;
font-size:18px;
color: #444;
padding: 0 10px;
font-family: "Atkinson Hyperlegible";
}
body.results {
margin-top: 0;
max-width: 100%;
margin: 0;
padding: 0;
background-color: #d2d2d2;
}
h1,h2,h3{line-height:1.2}
h2 {
font-size: 1em;
margin-bottom: 0;
}
hr {
color: white;
height: 1px;
width: 100%;
}
p.result {
font-size: .9em;
margin-top: .5em;
}
a.result {
font-size: .9em;
color: #ce8500;
font-style: italic;
}
h1.home {
font-size: 3em;
}
div.results {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
margin: auto;
margin-left: 25px;
}
h1.results {
margin-top: 0;
font-size: 1.5em;
padding-left: 20px;
}
header {
width: 100%;
border-radius: 2px;
background-color: white;
padding: 0px;
padding-top: 20px;
padding-bottom: 20px;
}
.results-container {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
form.home {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
gap: .5em;
}
form.results {
display: flex;
flex-direction: row;
align-items: center;
gap: .5em;
padding-left: 20px;
}
.big-search {
width: 100%;
font-size: 1.5em;
}
.results-search {
font-size: 1em;
}
.button {
font-size: 1.2em;
border-radius: 2px;
}
.results-button {
font-size: 1em;
border-radius: 2px;
}
footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 25em;
}
footer p {
margin-bottom: 0;
font-style: italic;
}
footer a {
padding-top: 0px;
margin-top: 0;
margin-bottom: 0;
}
footer pre {
padding-top: 0px;
margin-top: 0;
}