librex/static/css/styles.css

467 lines
7.7 KiB
CSS
Raw Normal View History

2022-02-17 17:14:56 -03:00
html {
2022-03-09 09:18:24 -03:00
color: var(--main-fg);
background-color: var(--main-bg);
2022-08-16 06:18:38 -04:00
font-family: Arial, Helvetica, sans-serif;
2022-08-16 07:19:14 -04:00
font-size: 16px;
2022-08-13 02:47:02 -04:00
}
body {
2022-08-13 06:56:46 -04:00
margin: 0;
}
input,
button {
outline: none;
}
2022-02-17 17:14:56 -03:00
button {
cursor: pointer;
}
2022-02-20 11:44:51 -03:00
p {
2022-08-16 07:19:14 -04:00
font-size: 18px;
2022-03-09 09:18:24 -03:00
color: var(--result-fg);
}
2022-02-20 11:44:51 -03:00
a,
.text-result-wrapper a:hover {
text-decoration: none;
}
.text-result-wrapper a:visited h2,
.special-result-container a,
2022-08-13 02:47:02 -04:00
.sub-search-button-wrapper button {
color: #bd93f9;
}
2022-08-13 02:47:02 -04:00
a:hover,
.text-result-wrapper h2:hover {
text-decoration: underline;
}
2022-02-20 11:44:51 -03:00
.search-container {
text-align: center;
margin-top: 10%;
}
2022-02-20 11:44:51 -03:00
.search-container h1 {
font-size: 70px;
}
2022-02-20 11:44:51 -03:00
.search-container input,
.sub-search-container input {
width: 500px;
2022-08-13 04:47:27 -04:00
color: var(--search-container-text-color);
background-color: var(--search-container-background-color);
padding: 10px;
font-size: inherit;
2022-08-19 00:26:41 -04:00
font-family: sans-serif;
2022-09-03 20:31:15 -04:00
border: 1px solid var(--search-container-background-border);
border-radius: 25px;
2022-12-24 10:30:56 -03:00
}
.search-button-wrapper button,
.misc-container button,
.misc-container select {
color: inherit;
2022-03-09 09:18:24 -03:00
background-color: var(--button-bg);
font-size: 14px;
2022-09-03 20:31:15 -04:00
border: 1px solid var(--main-bg);
border-radius: 4px;
padding: 13px 10px 13px 10px;
}
.search-button-wrapper button {
margin: 30px 60px 0px 60px;
}
2022-02-20 11:44:51 -03:00
.sub-search-container {
2022-08-13 07:19:15 -04:00
background-color: var(--search-form-background-color);
2022-08-13 06:56:46 -04:00
width: 100%;
2022-09-03 20:31:15 -04:00
border-bottom: 1px solid var(--border);
}
2022-02-20 11:44:51 -03:00
.sub-search-container hr {
2022-08-13 07:13:00 -04:00
opacity: 0;
}
2022-02-20 11:44:51 -03:00
.sub-search-container input {
2022-08-13 02:47:02 -04:00
margin-bottom: 20px;
width: 580px;
2022-09-03 20:31:15 -04:00
position: relative;
left: 140px;
margin: 18px;
}
2022-02-20 11:44:51 -03:00
2022-08-14 21:40:23 -04:00
.logomobile {
2022-09-03 20:31:15 -04:00
position: absolute;
margin-top: 0px;
2022-09-14 21:44:10 -03:00
top: 25px;
2022-09-03 20:31:15 -04:00
left: 20px;
2022-08-14 22:17:04 -04:00
}
.no-decoration {
2022-08-14 22:17:04 -04:00
text-decoration: none;
2022-08-14 22:22:31 -04:00
color: var(--main-fg);
2022-08-14 21:40:23 -04:00
}
.no-decoration:hover {
2022-08-14 23:04:04 -04:00
text-decoration: none;
}
.sub-search-button-wrapper {
2022-09-03 20:31:15 -04:00
margin-left: 165px;
}
2022-02-20 11:44:51 -03:00
2022-03-10 07:18:07 -03:00
.search-button-wrapper button:hover,
.misc-container button:hover {
border: 1px solid #5f6368;
cursor: pointer;
}
2022-02-20 11:44:51 -03:00
2022-08-13 02:47:02 -04:00
.sub-search-button-wrapper i {
vertical-align: middle;
2022-08-13 02:47:02 -04:00
margin-right: 5px;
}
2022-02-20 11:44:51 -03:00
.sub-search-button-wrapper button {
border: none;
background-color: inherit;
font-size: 15px;
2022-08-13 02:47:02 -04:00
margin-right: 14px;
}
2022-02-20 11:44:51 -03:00
2022-08-16 07:49:48 -04:00
.sub-search-button-wrapper img {
vertical-align: middle;
2022-08-19 00:26:41 -04:00
margin-right: 5px;
width: 20px;
2022-08-16 07:49:48 -04:00
}
.misc-container {
2022-03-09 09:18:24 -03:00
text-align: center;
word-wrap: break-word;
width: 450px;
margin-left: auto;
margin-right: auto;
margin-bottom: 100px;
}
.misc-container div {
margin-bottom: 30px;
2022-03-09 09:18:24 -03:00
}
.misc-container button {
2022-08-13 02:47:02 -04:00
margin-right: 10px;
margin-left: 10px;
2022-03-10 07:18:07 -03:00
}
.misc-container a {
2022-08-13 02:47:02 -04:00
color: inherit;
2022-03-10 07:18:07 -03:00
text-decoration: underline;
}
.instances-container div {
2022-08-13 02:47:02 -04:00
text-align: left;
margin-bottom: 25px;
}
2022-03-09 09:18:24 -03:00
.instances-container input {
color: inherit;
background-color: inherit;
2022-03-09 09:18:24 -03:00
padding: 5px;
font-size: inherit;
font-family: inherit;
border: 1px solid #5f6368;
2022-03-09 09:18:24 -03:00
border-radius: 5px;
float: right;
2022-03-09 09:18:24 -03:00
}
.text-result-container,
#time,
.next-page-button-wrapper {
margin-left: 170px;
}
2022-02-20 11:44:51 -03:00
2022-08-13 02:47:02 -04:00
.text-result-container {
margin-bottom: 100px;
}
.special-result-container {
padding: 10px;
2022-08-13 04:47:27 -04:00
border: 1px solid var(--special-result-border);
width: 500px;
2022-08-14 22:31:57 -04:00
border-radius: 8px;
2022-08-13 04:47:27 -04:00
background: var(--special-text-background);
color: var(--special-text-color);
margin-left: 840px;
margin-top: 0px;
position: absolute;
2022-12-24 14:07:53 -03:00
}
.text-result-wrapper {
2022-09-03 20:31:15 -04:00
max-width: 550px;
word-wrap: break-word;
margin-bottom: 35px;
}
.text-result-wrapper a {
font-size: 14px;
2022-03-09 09:18:24 -03:00
color: var(--result-fg);
}
.video-img {
height: 115px;
2022-09-03 20:31:15 -04:00
border-radius: 12px;
}
.text-result-wrapper h2 {
font-size: 20px;
2022-03-09 09:18:24 -03:00
color: var(--result-link-fg);
padding-top: 5px;
margin-top: 1px;
}
.special-result-container a {
display: flex;
margin-top: 10px;
2022-08-13 02:47:02 -04:00
font-size: 14px;
}
.special-result-container img {
display: flex;
max-width: 60%;
max-height: 200px;
padding-bottom: 10px;
margin-left: auto;
margin-right: auto;
}
.next-page-button-wrapper {
margin-top: -50px;
margin-bottom: 100px;
}
2022-02-20 11:44:51 -03:00
.next-page-button-wrapper button {
2022-08-13 02:47:02 -04:00
border: none;
background-color: inherit;
2022-03-09 09:18:24 -03:00
color: var(--result-link-fg);
font-size: 18px;
margin-right: 8px;
}
2022-02-20 11:44:51 -03:00
.next-page-button-wrapper .page {
display: inline;
}
2022-02-20 11:44:51 -03:00
.image-result-container {
2022-12-03 14:37:44 -03:00
display: flex;
flex-wrap: wrap;
2022-03-11 06:46:29 -03:00
grid-gap: 1.5rem;
justify-items: center;
margin-left: 9%;
margin-right: 9%;
2022-03-11 06:46:29 -03:00
padding: 0;
2022-08-13 02:47:02 -04:00
margin-bottom: 50px;
}
2022-02-20 11:44:51 -03:00
2022-12-03 14:37:44 -03:00
a[title] {
flex-grow: 1;
height: 12rem;
2022-12-03 14:37:44 -03:00
}
.image-result-container img {
2022-12-03 14:37:44 -03:00
margin: 0px;
height: 100%;
width: 100%;
object-fit: cover;
vertical-align: bottom;
}
2022-12-24 14:57:38 -03:00
.git-container {
right: 0;
}
.git-container,
.footer-container {
position: fixed;
bottom: 0;
}
.footer-container {
width: 100vw;
left: 0;
2022-03-09 09:18:24 -03:00
background-color: var(--footer-bg);
padding-top: 15px;
padding-bottom: 15px;
2022-09-03 20:31:15 -04:00
border-top: 1px solid var(--border);
text-align: center;
}
2022-02-20 11:44:51 -03:00
.git-container a {
font-size: 10px;
}
.git-container a,
.footer-container a {
2022-03-09 09:18:24 -03:00
color: var(--footer-fg);
}
.footer-container a {
margin-left: 15px;
margin-right: 15px;
}
2022-02-20 11:44:51 -03:00
.hide {
display: none;
}
.X {
color: #bd93f9;
}
.seeders {
color: #50fa7b;
}
.leechers {
color: #ff79c6;
}
@media only screen and (max-width: 1320px) {
.special-result-container {
position: relative;
float: none;
margin-left: 165px;
}
}
/* mobile view */
@media only screen and (max-width: 750px) {
p {
font-size: 16px;
}
html {
font-size: 14px;
}
.search-container input {
width: 80%;
}
2022-02-20 11:44:51 -03:00
.search-button-wrapper button {
display: table-row;
margin: 30px 0px 0px 0px;
width: 80%;
}
2022-02-20 11:44:51 -03:00
.image-result-container {
2022-08-19 00:26:41 -04:00
display: unset;
margin: 0;
padding: 0;
}
.image-result-container img {
margin: 0 5% 5% 5%;
padding: 0;
width: 90%;
border: none;
}
.git-container {
display: none;
}
.footer-container a {
2022-08-13 02:47:02 -04:00
margin: 10px;
}
2022-02-20 11:44:51 -03:00
.sub-search-container {
2022-08-13 02:47:02 -04:00
margin-left: auto;
margin-right: auto;
text-align: center;
}
2022-02-20 11:44:51 -03:00
.sub-search-container .logo {
2022-08-14 21:40:23 -04:00
display: none;
}
.logomobile {
2022-09-03 20:31:15 -04:00
position: relative;
float: none;
2022-08-14 21:40:23 -04:00
margin-top: 0px;
margin-bottom: 0px;
2022-08-13 02:47:02 -04:00
margin-left: auto;
margin-right: auto;
2022-08-14 21:40:23 -04:00
padding: 10px;
font-size: 28px;
display: block;
2022-09-03 20:31:15 -04:00
margin-top: 0px;
top: 0px;
left: 0px;
}
2022-02-20 11:44:51 -03:00
.sub-search-container input {
width: 80%;
2022-09-03 20:31:15 -04:00
position: relative;
left: 0px;
margin-top: 0px;
}
2022-02-20 11:44:51 -03:00
.sub-search-button-wrapper {
2022-08-13 02:47:02 -04:00
margin: 0;
padding: 0;
display: flex;
align-items: baseline;
}
.sub-search-button-wrapper img {
2022-08-13 02:47:02 -04:00
margin: 0;
padding: 0;
}
.sub-search-button-wrapper button {
2022-08-13 02:47:02 -04:00
margin-left: auto;
margin-right: auto;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.special-result-container {
2022-09-03 20:31:15 -04:00
position: relative;
float: none;
max-width: 90%;
margin-left: 10px;
2022-08-15 00:11:57 -04:00
width: auto;
}
.special-result-container img {
max-width: 80%;
}
.misc-container {
margin-bottom: 200px;
width: 95%;
2022-02-20 11:44:51 -03:00
}
.search-container h1 {
2022-08-13 02:47:02 -04:00
font-size: 55px;
}
.search-container {
margin-top: 10%;
}
.text-result-container,
#time,
.next-page-button-wrapper {
margin-left: 20px;
max-width: 90%;
}
2022-08-13 09:59:01 -04:00
}