This repository has been archived on 2025-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
asklyphe-frontend/static/themes/default/search.css

300 lines
5 KiB
CSS
Raw Normal View History

2025-03-07 17:13:57 -08:00
.lyphe-says {
text-align: left;
min-width: 20%;
max-height: 128px;
border: 3px inset black;
padding: 10px;
background-image: url("/static/snow.gif");
}
.lyphe-says > img {
height: 100px;
float: left;
margin-right: 10px;
}
.lyphe-says > h5, p {
color: black;
word-break: break-word;
}
.lyphe-says > h5 {
padding: 0;
margin: 0;
line-height: 2em;
}
.ask {
text-align: left;
width: 85%;
}
.lyphe {
display: flex;
flex-direction: row;
width: 85%;
color: white;
text-decoration: none;
}
.lyphe > * {
margin-top: auto;
margin-bottom: 1rem;
}
.lyphe-text {
vertical-align: bottom;
display: inline;
}
.lyphe-text > h2 {
display: inline;
}
.lyphe-icon {
height: 120px;
margin-right: 20px;
}
.pagecontent {
background-image: url("/static/img/darkened_paper.jpg");
width: 100%;
}
.pagegradient {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0) 50px),
linear-gradient(to right, rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0) 30px),
linear-gradient(to left, rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0) 30px);
margin: 0;
min-height: 100vh;
width: 100%;
}
.response {
display: flex;
flex-direction: column;
align-items: flex-start;
text-align: left;
padding: 20px 20px 0 20px;
}
.resultstat {
}
.enginelist {
display: flex;
height: 20px;
}
.search-result-list {
width: 100%;
padding-left: 0;
list-style: none;
flex-grow: 1;
}
.search-result-list > li {
list-style-type: none;
padding: 10px;
width: 63%;
border-top: 1px black solid;
margin-top: 5px;
display: flex;
flex-direction: column;
word-break: auto-phrase;
overflow-wrap: anywhere;
}
@media screen and (max-width: 800px) {
.search-result-list > li {
flex-direction: column;
word-break: auto-phrase;
width: 90%;
}
}
.search-result {
color: lightblue;
display: flex;
flex-direction: column;
text-decoration: none;
}
.search-result:visited {
color: lightblue;
}
.search-title {
margin: 2px 0 2px;
line-height: 1em;
font-size: 1.3em;
width: 45%;
font-weight: bold;
}
@media screen and (max-width: 800px) {
.search-title {
width: unset;
}
}
.search-url {
font-size: 0.8em;
color: lightgray;
}
.search-description {
color: white;
width: 35%;
font-size: 14px;
font-weight: lighter;
}
@media screen and (max-width: 800px) {
.search-description {
width: unset;
}
}
.search-relevance {
font-size: 0.8em;
color: lightgray;
}
.results-area {
width: 100%;
}
@media screen and (max-width: 800px) {
.results-area {
display: flex;
flex-direction: column;
align-items: center;
}
}
.complications {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
float: right;
width: 30%;
padding: 0 10px 10px 10px;
margin: 0 10px 10px 10px;
}
@media screen and (max-width: 800px) {
.complications {
float: none;
width: unset;
}
}
.wikipedia-complication {
width: 100%;
background-image: url("/static/img/paper.jpg");
padding: 10px;
margin: 10px;
box-shadow: rgba(0,0,0,0.3) 0 0 10px;
}
.wikipedia-complication > * {
margin: auto;
text-decoration: none;
width: 100%;
}
.wikipedia-complication > a:visited {
text-decoration: none;
}
.wikipedia-image > img {
max-width: 100%;
max-height: 256px;
margin-top: 8px;
margin-bottom: 8px;
box-shadow: rgba(0,0,0,0.3) 0 0 10px;
}
.wikipedia-header {
display: flex;
flex-direction: column;
align-items: flex-start;
text-align: left;
}
.wikipedia-title {
text-decoration: none;
color: black;
font-size: 2em;
font-weight: bold;
display: inline-block;
}
.wikipedia-fromwikipedia {
color: #586761;
font-size: 0.8em;
display: inline-block;
}
.wikipedia-class {
font-size: 0.9em;
color: #333333;
margin-bottom: 8px;
display: inline-block;
}
.wikipedia-description {
text-align: left;
display: inline-block;
color: black;
font-weight: lighter;
}
.complications-note {
width: 100%;
background-image: url("/static/img/paper.jpg");
padding: 10px;
margin: 10px;
box-shadow: rgba(0,0,0,0.3) 0 0 10px;
}
.unit_converter-complication {
width: 100%;
background-image: url("/static/img/paper.jpg");
padding: 10px;
margin: 10px;
box-shadow: rgba(0,0,0,0.3) 0 0 10px;
}
.unit_converter-title {
font-size: 1.2em;
color: #586761;
font-weight: lighter;
width: 100%;
display: inline-block;
}
.unit_converter-result {
font-size: 2em;
font-weight: bold;
display: inline-block;
word-break: break-word;
color: black;
}
.index-bar {
display: flex;
width: 97.5%;
flex-direction: row;
align-items: start;
height: 32px;
padding-left: 2.5%;
box-shadow: inset rgba(0,0,0,0.3) 0 0 10px;
background-color: rgba(0,0,0,0.4);
}
.index-bar > a > img {
height: 32px;
}