2023-04-30 11:16:08 -04:00
|
|
|
/* @import url('./catppuccin-mocha.css'); */
|
2023-04-22 07:35:07 -04:00
|
|
|
|
|
|
|
* {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-size: 62.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
height: 100vh;
|
|
|
|
background: var(--1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* styles for the index page */
|
|
|
|
|
|
|
|
.search-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 5rem;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-container div {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* styles for the search box and search button */
|
|
|
|
|
|
|
|
.search_bar {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar input {
|
|
|
|
padding: 1rem;
|
|
|
|
width: 50rem;
|
|
|
|
height: 3rem;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
box-shadow: rgba(0, 0, 0, 1);
|
|
|
|
background: var(--fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar button {
|
|
|
|
padding: 1rem;
|
|
|
|
border-radius: 0;
|
|
|
|
height: 3rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
gap: 0;
|
|
|
|
background: var(--bg);
|
|
|
|
color: var(--3);
|
|
|
|
font-weight: 600;
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar button:active,
|
|
|
|
.search_bar button:hover {
|
|
|
|
filter: brightness(1.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* styles for the footer and header */
|
|
|
|
|
|
|
|
header {
|
|
|
|
background: var(--bg);
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: right;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
header ul,
|
|
|
|
footer ul {
|
|
|
|
list-style: none;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
header ul li a,
|
|
|
|
footer ul li a,
|
|
|
|
header ul li a:visited,
|
|
|
|
footer ul li a:visited {
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--2);
|
|
|
|
text-transform: capitalize;
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
header ul li a {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
header ul li a:hover,
|
|
|
|
footer ul li a:hover {
|
|
|
|
color: var(--5);
|
|
|
|
}
|
|
|
|
|
|
|
|
footer div span {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
color: var(--4);
|
|
|
|
}
|
|
|
|
|
|
|
|
footer div {
|
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
background: var(--bg);
|
|
|
|
width: 100%;
|
|
|
|
padding: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for the search page */
|
|
|
|
|
|
|
|
.results {
|
|
|
|
width: 90%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results .search_bar {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 2rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result h1 a {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
color: var(--2);
|
|
|
|
text-decoration: none;
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result h1 a:hover {
|
|
|
|
color: var(--5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result h1 a:visited {
|
|
|
|
color: var(--bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result small {
|
|
|
|
color: var(--3);
|
|
|
|
font-size: 1.1rem;
|
|
|
|
word-wrap: break-word;
|
|
|
|
line-break: anywhere;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result p {
|
|
|
|
color: var(--fg);
|
|
|
|
font-size: 1.2rem;
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
word-wrap: break-word;
|
|
|
|
line-break: anywhere;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result .upstream_engines {
|
|
|
|
text-align: right;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
padding: 1rem;
|
|
|
|
color: var(--5);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for the 404 page */
|
|
|
|
|
|
|
|
.error_container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
gap: 5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_container img {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content h1,
|
|
|
|
.error_content h2 {
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content h1 {
|
|
|
|
font-size: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content h2 {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content p {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content p a,
|
|
|
|
.error_content p a:visited {
|
|
|
|
color: var(--2);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content p a:hover {
|
|
|
|
color: var(--5);
|
|
|
|
}
|
2023-05-03 14:31:52 -04:00
|
|
|
|
|
|
|
.page_navigation {
|
|
|
|
padding: 0 0 2rem 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page_navigation button {
|
|
|
|
background: var(--bg);
|
|
|
|
color: var(--fg);
|
|
|
|
padding: 1rem;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page_navigation button:active {
|
|
|
|
filter: brightness(1.2);
|
|
|
|
}
|
2023-05-17 13:24:16 -04:00
|
|
|
|
|
|
|
/* Styles for the about page */
|
|
|
|
|
2023-05-31 09:05:02 -04:00
|
|
|
.about-container article{
|
|
|
|
font-size: 1.5rem;
|
|
|
|
color:var(--fg);
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container article h1{
|
|
|
|
color: var(--2);
|
|
|
|
font-size: 2.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container article div{
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container a{
|
|
|
|
color:var(--3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container article h2{
|
|
|
|
color: var(--3);
|
|
|
|
font-size: 1.8rem;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container p{
|
|
|
|
color:var(--fg);
|
|
|
|
font-size: 1.6rem;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container h3{
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
2023-06-03 03:26:42 -04:00
|
|
|
/* css for settings page t */
|
2023-05-31 09:05:02 -04:00
|
|
|
.settings {
|
|
|
|
margin: 2rem;
|
|
|
|
width: 80%;
|
|
|
|
height: 100%;
|
|
|
|
color: var(--fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings h1 {
|
|
|
|
color: var(--2);
|
|
|
|
font-size: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.settings hr {
|
|
|
|
border-color: var(--3);
|
|
|
|
margin: .3rem 0 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-view {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0 auto;
|
2023-06-03 03:26:42 -04:00
|
|
|
margin: 1.5rem 0;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-sidebar {
|
|
|
|
width: 25%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-sidebar .set-name {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 2rem;
|
|
|
|
display: block;
|
|
|
|
margin-right: .5rem;
|
|
|
|
margin-left: -.7rem;
|
|
|
|
padding: .7rem;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: bold;
|
2023-06-03 03:26:42 -04:00
|
|
|
margin-bottom: .5rem;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-sidebar .set-name:hover, .settings-sidebar .set-name.active {
|
2023-06-03 03:26:42 -04:00
|
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
|
|
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-detail {
|
|
|
|
border-left: 1.5px solid var(--3);
|
|
|
|
padding-left: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-detail .set-item {
|
|
|
|
margin: 2rem 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-detail .set-name {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--4)
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-detail .set-desc {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
}
|
|
|
|
|
2023-06-03 03:26:42 -04:00
|
|
|
/* css for custom select */
|
2023-05-31 09:05:02 -04:00
|
|
|
.custom-select, .options {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
background-color: var(--bg);
|
|
|
|
width: 250px;
|
|
|
|
padding: 1rem 1.7rem;
|
|
|
|
border-radius: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-select {
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: .7rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-select.invalid {
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-select svg {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin-top: 1.3rem;
|
|
|
|
width: 100%;
|
|
|
|
padding: .7rem 1rem;
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 3;
|
|
|
|
max-height: 15rem;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options span {
|
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options span:hover {
|
2023-06-03 03:26:42 -04:00
|
|
|
background-color: var(--1);
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.selected-multiple-option {
|
|
|
|
padding: .8rem;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: var(--bg);
|
|
|
|
margin: .5rem .3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected-multiple-option svg {
|
|
|
|
width: 1.3rem;
|
|
|
|
height: 1.3rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-multiple-show {
|
|
|
|
margin: 1rem 0;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.underlined-text {
|
|
|
|
font-size: 1.7rem;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings .submit-btn {
|
|
|
|
padding: 1rem 2rem;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
background: var(--3);
|
|
|
|
color: var(--bg);
|
|
|
|
border-radius: .5rem;
|
2023-06-03 03:26:42 -04:00
|
|
|
border: 2px solid transparent;
|
2023-05-31 09:05:02 -04:00
|
|
|
font-weight: bold;
|
2023-06-03 03:26:42 -04:00
|
|
|
transition: all .1s ease-out;
|
2023-05-31 09:05:02 -04:00
|
|
|
cursor: pointer;
|
2023-06-03 03:26:42 -04:00
|
|
|
box-shadow: 5px 5px;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings .submit-btn:active {
|
|
|
|
outline: none;
|
2023-06-03 03:26:42 -04:00
|
|
|
box-shadow: none;
|
|
|
|
translate: 5px 5px;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-03 03:26:42 -04:00
|
|
|
/* Css for error text */
|
|
|
|
|
2023-05-31 09:05:02 -04:00
|
|
|
.errTxt {
|
|
|
|
color: white;
|
|
|
|
background: red;
|
|
|
|
padding: .5rem;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
width: max-content;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Css for toggle element */
|
|
|
|
|
|
|
|
label,
|
|
|
|
label::before,
|
|
|
|
label::after {
|
|
|
|
transition: 200ms all ease-in-out 50ms;
|
|
|
|
box-sizing: border-box;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*Button is :CHECKED*/
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked ~ div[data-isCheckbox] {
|
|
|
|
background: rgba(73,168,68,1);
|
|
|
|
box-shadow: 0 0 2px rgba(73,168,68,1);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked ~ div[data-isCheckbox] label {
|
|
|
|
left: 25px;
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*shared*/
|
|
|
|
|
|
|
|
div[data-isCheckbox],
|
|
|
|
label {
|
|
|
|
border-radius: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*'un':checked state*/
|
|
|
|
|
|
|
|
div[data-isCheckbox] {
|
|
|
|
height: 25px;
|
|
|
|
width: 50px;
|
|
|
|
background: rgba(43, 43, 43, 1);
|
|
|
|
position: relative;
|
|
|
|
box-shadow: 0 0 2px rgba(43,43,43,1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
background: rgba(255, 255, 255, 1);
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
left: 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
label::before {
|
|
|
|
content: '';
|
|
|
|
height: 15px;
|
|
|
|
width: 3px;
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 8px);
|
|
|
|
left: calc(50% - 1.5px);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
label::after {
|
|
|
|
content: '';
|
|
|
|
height: 3px;
|
|
|
|
width: 15px;
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 2.5px);
|
|
|
|
left: calc(50% - 8px);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
label::before,
|
|
|
|
label::after{
|
|
|
|
background: rgba(43,43,43,1);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* pesduo class on toggle */
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked ~ div label::before{
|
|
|
|
height: 15px;
|
|
|
|
top: calc(55% - 8px);
|
|
|
|
left: calc(60% - 2px);
|
|
|
|
background: rgba(73,168,68,1);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked ~ div label::after{
|
|
|
|
width: 7px;
|
|
|
|
top: calc(95% - 7px);
|
|
|
|
left: calc(22.5% - 2px);
|
|
|
|
background: rgba(73,168,68,1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.searchEng-elem {
|
|
|
|
display: flex;
|
|
|
|
gap: 3rem;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|