mirror of
https://github.com/hnhx/librex.git
synced 2025-01-11 04:02:37 -03:00
322 lines
No EOL
5.5 KiB
CSS
322 lines
No EOL
5.5 KiB
CSS
html {
|
|
color: var(--main-fg);
|
|
background-color: var(--main-bg);
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 16px;
|
|
}
|
|
|
|
input,
|
|
button {
|
|
outline: none;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
p {
|
|
font-size:18px;
|
|
color: var(--result-fg);
|
|
}
|
|
|
|
a,
|
|
.text-result-wrapper a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, .text-result-wrapper h2:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.search-container {
|
|
text-align: center;
|
|
margin-top:15%;
|
|
}
|
|
|
|
.search-container h1 {
|
|
font-size: 70px;
|
|
}
|
|
|
|
.search-container input,
|
|
.sub-search-container input {
|
|
width: 500px;
|
|
color: inherit;
|
|
background-color: inherit;
|
|
padding: 10px;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
border: 1px solid #5f6368;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.search-button-wrapper button,
|
|
.settings-container button,
|
|
.settings-container select {
|
|
color: inherit;
|
|
background-color: var(--button-bg);
|
|
font-size: 14px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 13px 10px 13px 10px;
|
|
}
|
|
|
|
.search-button-wrapper button {
|
|
|
|
margin: 30px 60px 0px 60px;
|
|
}
|
|
|
|
.sub-search-container {
|
|
margin: 2%;
|
|
}
|
|
|
|
.sub-search-container hr {
|
|
margin-top: 35px;
|
|
margin-bottom: 35px;
|
|
}
|
|
|
|
.sub-search-container input {
|
|
margin-bottom: 40px;
|
|
width: 600px;
|
|
}
|
|
|
|
.sub-search-container #logo {
|
|
vertical-align: middle;
|
|
margin-right: 50px;
|
|
}
|
|
|
|
.sub-search-button-wrapper {
|
|
margin-left: 150px;
|
|
}
|
|
|
|
.search-button-wrapper button:hover,
|
|
.settings-container button:hover {
|
|
border: 1px solid #5f6368;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sub-search-button-wrapper img {
|
|
vertical-align: middle;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.sub-search-button-wrapper button {
|
|
border: none;
|
|
background-color: inherit;
|
|
color: var(--alt-fg);
|
|
font-size: 18px;
|
|
margin-right: 25px;
|
|
}
|
|
|
|
.settings-container {
|
|
text-align: center;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.settings-container button {
|
|
margin-right:10px;
|
|
margin-left:10px;
|
|
}
|
|
|
|
.settings-container a {
|
|
color:inherit;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.instances-container input {
|
|
color: inherit;
|
|
background-color: inherit;
|
|
padding: 5px;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
border: 1px solid #5f6368;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.text-result-container,
|
|
#time,
|
|
.next-page-button-wrapper {
|
|
margin-left:10%;
|
|
}
|
|
|
|
.text-result-container
|
|
{
|
|
margin-bottom:100px;
|
|
}
|
|
|
|
.special-result-container {
|
|
padding: 10px;
|
|
border: 1px solid var(--special-result-border);
|
|
width: 500px;
|
|
}
|
|
|
|
.text-result-wrapper {
|
|
max-width: 500px;
|
|
word-wrap: break-word;
|
|
margin-top: 35px;
|
|
}
|
|
|
|
.text-result-wrapper a {
|
|
font-size: 14px;
|
|
color: var(--result-fg);
|
|
}
|
|
|
|
.text-result-wrapper h2 {
|
|
font-size: 20px;
|
|
color: var(--result-link-fg);
|
|
padding-top: 5px;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.special-result-container a {
|
|
display: flex;
|
|
margin-top: 10px;
|
|
color: var(--alt-fg);
|
|
font-size:14px;
|
|
}
|
|
|
|
.next-page-button-wrapper {
|
|
margin-top:-50px;
|
|
margin-bottom:100px;
|
|
}
|
|
|
|
.next-page-button-wrapper button {
|
|
border:none;
|
|
background-color: inherit;
|
|
color: var(--result-link-fg);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.next-page-button-wrapper #page {
|
|
display: inline;
|
|
}
|
|
|
|
.image-result-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
grid-gap: 1.5rem;
|
|
justify-items: center;
|
|
margin-left: 9%;
|
|
margin-right: 9%;
|
|
padding: 0;
|
|
margin-bottom:50px;
|
|
}
|
|
|
|
.image-result-container img {
|
|
border: 1px solid var(--button-bg);
|
|
width: 350px;
|
|
height: 200px;
|
|
margin: 10px;
|
|
}
|
|
|
|
.donate-container {
|
|
text-align: center;
|
|
word-wrap: break-word;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 8%;
|
|
border: 1px solid var(--main-fg);
|
|
max-width: 500px;
|
|
padding:0px 20px 20px 20px;
|
|
}
|
|
|
|
.donate-container img {
|
|
margin-top:10px;
|
|
}
|
|
|
|
.donate-container a {
|
|
color: var(--alt-fg);
|
|
}
|
|
|
|
.footer-container {
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100vw;
|
|
background-color: var(--footer-bg);
|
|
padding-top: 15px;
|
|
padding-bottom: 15px;
|
|
border-top: 1px solid #303134;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-container a {
|
|
color: var(--footer-fg);
|
|
margin-left: 15px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
/* mobile view */
|
|
@media only screen and (max-width: 900px) {
|
|
.search-container input {
|
|
width: 80%;
|
|
}
|
|
|
|
.search-button-wrapper button {
|
|
display: table-row;
|
|
margin: 30px 0px 0px 0px;
|
|
width: 80%;
|
|
}
|
|
|
|
.footer-container a {
|
|
margin:10px;
|
|
}
|
|
|
|
.sub-search-container {
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.sub-search-container #logo {
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
display: block;
|
|
|
|
}
|
|
|
|
.sub-search-container input {
|
|
width: 80%;
|
|
margin-top:30px;
|
|
}
|
|
|
|
.sub-search-button-wrapper {
|
|
margin:0;
|
|
padding:0;
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.sub-search-button-wrapper img {
|
|
margin:0;
|
|
padding:0;
|
|
margin-bottom:20px;
|
|
}
|
|
|
|
.sub-search-button-wrapper button {
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
padding:0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.special-result-container {
|
|
max-width: 80%;
|
|
}
|
|
|
|
.donate-container {
|
|
max-width: 80%;
|
|
}
|
|
|
|
.donate-container img {
|
|
display: block;
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
}
|
|
|
|
.settings-container {
|
|
margin-bottom: 100px;
|
|
}
|
|
} |