2023-04-30 11:16:08 -04:00
|
|
|
/* @import url('./catppuccin-mocha.css'); */
|
2023-12-09 09:34:17 -05:00
|
|
|
@font-face {
|
|
|
|
font-family: Rubik;
|
|
|
|
src: url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');
|
|
|
|
fallback: sans-serif;
|
|
|
|
}
|
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;
|
2023-12-09 09:34:17 -05:00
|
|
|
font-family: Rubik, sans-serif;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* enforce font for buttons */
|
|
|
|
button {
|
|
|
|
font-family: Rubik, sans-serif;
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* styles for the index page */
|
|
|
|
|
|
|
|
.search-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 5rem;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
.search-container svg {
|
|
|
|
color: var(--logo-color);
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
.search-container div {
|
|
|
|
display: flex;
|
2023-12-05 07:29:44 -05:00
|
|
|
}
|
|
|
|
|
2023-04-22 07:35:07 -04:00
|
|
|
/* styles for the search box and search button */
|
|
|
|
|
|
|
|
.search_bar {
|
|
|
|
display: flex;
|
2023-12-09 09:34:17 -05:00
|
|
|
gap: 10px;
|
|
|
|
align-items: center;
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar input {
|
2023-12-09 09:34:17 -05:00
|
|
|
border-radius: 6px;
|
|
|
|
padding: 2.6rem 2.2rem;
|
2023-04-22 07:35:07 -04:00
|
|
|
width: 50rem;
|
|
|
|
height: 3rem;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
2023-11-21 15:30:47 -05:00
|
|
|
box-shadow: rgb(0 0 0 / 1);
|
2023-12-09 09:34:17 -05:00
|
|
|
background-color: var(--color-one);
|
|
|
|
color: var(--foreground-color);
|
|
|
|
outline-offset: 3px;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar input:focus {
|
|
|
|
outline: 2px solid var(--foreground-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar input::placeholder {
|
|
|
|
color: var(--foreground-color);
|
|
|
|
opacity: 1;
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar button {
|
2023-12-09 09:34:17 -05:00
|
|
|
padding: 2.6rem 3.2rem;
|
|
|
|
border-radius: 6px;
|
2023-04-22 07:35:07 -04:00
|
|
|
height: 3rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-12-09 09:34:17 -05:00
|
|
|
outline-offset: 3px;
|
|
|
|
outline: 2px solid transparent;
|
2023-04-22 07:35:07 -04:00
|
|
|
border: none;
|
2023-12-09 09:34:17 -05:00
|
|
|
transition: .1s;
|
2023-04-22 07:35:07 -04:00
|
|
|
gap: 0;
|
2023-12-09 09:34:17 -05:00
|
|
|
background-color: var(--color-six);
|
|
|
|
color: var(--background-color);
|
2023-04-22 07:35:07 -04:00
|
|
|
font-weight: 600;
|
|
|
|
letter-spacing: 0.1rem;
|
2024-01-06 13:17:11 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_bar button img {
|
|
|
|
position:absolute;
|
|
|
|
left:50%;
|
|
|
|
top:50%;
|
|
|
|
transform:translate(-50%, -50%);
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
.search_bar button:active {
|
|
|
|
outline: 2px solid var(--color-three);
|
|
|
|
}
|
|
|
|
|
2023-04-22 07:35:07 -04:00
|
|
|
.search_bar button:active,
|
|
|
|
.search_bar button:hover {
|
|
|
|
filter: brightness(1.2);
|
|
|
|
}
|
|
|
|
|
2023-09-22 12:34:27 -04:00
|
|
|
.search_area .search_options {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_area .search_options select {
|
|
|
|
margin: 0.7rem 0;
|
|
|
|
width: 20rem;
|
|
|
|
background-color: var(--color-one);
|
|
|
|
color: var(--foreground-color);
|
2023-12-09 09:34:17 -05:00
|
|
|
padding: 1.2rem 2rem;
|
2023-09-22 12:34:27 -04:00
|
|
|
border-radius: 0.5rem;
|
2023-12-09 09:34:17 -05:00
|
|
|
outline-offset: 3px;
|
|
|
|
outline: 2px solid transparent;
|
2023-09-22 12:34:27 -04:00
|
|
|
border: none;
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
.search_area .search_options select:active,
|
|
|
|
.search_area .search_options select:hover {
|
|
|
|
outline: 2px solid var(--color-three);
|
|
|
|
}
|
|
|
|
|
2023-09-22 12:34:27 -04:00
|
|
|
.search_area .search_options option:hover {
|
|
|
|
background-color: var(--color-one);
|
|
|
|
}
|
|
|
|
|
2023-08-09 21:32:47 -04:00
|
|
|
.result_not_found {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
color: var(--foreground-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.result_not_found p {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result_not_found ul {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result_not_found img {
|
|
|
|
width: 40rem;
|
|
|
|
}
|
|
|
|
|
2023-08-21 10:28:40 -04:00
|
|
|
/* styles for the error box */
|
|
|
|
.error_box .error_box_toggle_button {
|
|
|
|
background: var(--foreground-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_box .dropdown_error_box {
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
flex-direction: column;
|
|
|
|
background: var(--background-color);
|
|
|
|
border-radius: 0;
|
|
|
|
margin-left: 2rem;
|
|
|
|
min-height: 20rem;
|
|
|
|
min-width: 22rem;
|
|
|
|
}
|
2023-11-21 15:30:47 -05:00
|
|
|
|
2023-08-21 10:28:40 -04:00
|
|
|
.error_box .dropdown_error_box.show {
|
|
|
|
display: flex;
|
|
|
|
}
|
2023-11-21 15:30:47 -05:00
|
|
|
|
2023-08-21 10:28:40 -04:00
|
|
|
.error_box .dropdown_error_box .error_item,
|
|
|
|
.error_box .dropdown_error_box .no_errors {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
color: var(--foreground-color);
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
padding: 1rem;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
2023-11-21 15:30:47 -05:00
|
|
|
|
2023-08-21 10:28:40 -04:00
|
|
|
.error_box .dropdown_error_box .error_item {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2023-11-21 15:30:47 -05:00
|
|
|
|
2023-08-21 10:28:40 -04:00
|
|
|
.error_box .dropdown_error_box .no_errors {
|
|
|
|
min-height: 18rem;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2023-08-09 21:32:47 -04:00
|
|
|
|
2023-08-21 10:28:40 -04:00
|
|
|
.error_box .dropdown_error_box .error_item:hover {
|
2023-11-21 15:30:47 -05:00
|
|
|
box-shadow: inset 0 0 100px 100px rgb(255 255 255 / 0.1);
|
2023-08-21 10:28:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.error_box .error_item .severity_color {
|
|
|
|
width: 1.2rem;
|
|
|
|
height: 1.2rem;
|
|
|
|
}
|
2023-11-21 15:30:47 -05:00
|
|
|
|
2023-09-02 10:52:51 -04:00
|
|
|
.results .result_disallowed,
|
2023-09-23 06:05:35 -04:00
|
|
|
.results .result_filtered,
|
|
|
|
.results .result_engine_not_selected {
|
2023-09-02 10:52:51 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
gap: 10rem;
|
|
|
|
font-size: 2rem;
|
|
|
|
color: var(--foreground-color);
|
2023-11-21 15:30:47 -05:00
|
|
|
margin: 0 7rem;
|
2023-09-02 10:52:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.results .result_disallowed .user_query,
|
2023-09-23 06:05:35 -04:00
|
|
|
.results .result_filtered .user_query,
|
|
|
|
.results .result_engine_not_selected .user_query {
|
2023-09-02 10:52:51 -04:00
|
|
|
color: var(--background-color);
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results .result_disallowed img,
|
2023-09-23 06:05:35 -04:00
|
|
|
.results .result_filtered img,
|
|
|
|
.results .result_engine_not_selected img {
|
2023-09-02 10:52:51 -04:00
|
|
|
width: 30rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results .result_disallowed div,
|
2023-09-23 06:05:35 -04:00
|
|
|
.results .result_filtered div,
|
|
|
|
.results .result_engine_not_selected div {
|
2023-09-02 10:52:51 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
line-break: strict;
|
|
|
|
}
|
2023-08-09 21:32:47 -04:00
|
|
|
|
2023-04-22 07:35:07 -04:00
|
|
|
/* styles for the footer and header */
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
|
|
|
|
header {
|
2023-04-22 07:35:07 -04:00
|
|
|
width: 100%;
|
2023-08-21 10:28:40 -04:00
|
|
|
background: var(--background-color);
|
2023-04-22 07:35:07 -04:00
|
|
|
display: flex;
|
2023-08-21 10:28:40 -04:00
|
|
|
align-items: center;
|
2023-12-09 09:34:17 -05:00
|
|
|
justify-content: space-between;
|
|
|
|
padding: 2rem 3rem;
|
2023-08-21 10:28:40 -04:00
|
|
|
}
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
footer {
|
|
|
|
width: 100%;
|
|
|
|
background: var(--background-color);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1.7rem 1.7rem 4rem;
|
|
|
|
gap: 1.8rem;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2023-08-21 10:28:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
header h1 a {
|
|
|
|
text-transform: capitalize;
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--foreground-color);
|
|
|
|
letter-spacing: 0.1rem;
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-two);
|
2023-04-22 07:35:07 -04:00
|
|
|
text-transform: capitalize;
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
header ul li a {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
header ul li a:hover,
|
|
|
|
footer ul li a:hover {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-five);
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
footer div span {
|
|
|
|
font-size: 1.5rem;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-four);
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
footer div {
|
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for the search page */
|
|
|
|
|
|
|
|
.results {
|
|
|
|
width: 90%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
2023-12-09 09:34:17 -05:00
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result {
|
|
|
|
gap: 1rem;
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.results .search_bar {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-12-09 09:34:17 -05:00
|
|
|
justify-content: space-between;
|
2023-04-22 07:35:07 -04:00
|
|
|
margin: 2rem 0;
|
2023-11-27 06:29:46 -05:00
|
|
|
content-visibility: auto;
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result h1 a {
|
2023-12-09 09:34:17 -05:00
|
|
|
font-size: 1.7rem;
|
|
|
|
font-weight: normal;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-two);
|
2023-04-22 07:35:07 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result h1 a:hover {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-five);
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result h1 a:visited {
|
2023-12-20 10:25:13 -05:00
|
|
|
color: var(--color-five);
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result small {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-three);
|
2023-12-09 09:34:17 -05:00
|
|
|
font-size: 1.3rem;
|
2023-04-22 07:35:07 -04:00
|
|
|
word-wrap: break-word;
|
|
|
|
line-break: anywhere;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results_aggregated .result p {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-12-09 09:34:17 -05:00
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 2.4rem;
|
2023-04-22 07:35:07 -04:00
|
|
|
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;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-five);
|
2023-12-06 06:15:06 -05:00
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
justify-content: right;
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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 {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-two);
|
2023-04-22 07:35:07 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error_content p a:hover {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-five);
|
2023-04-22 07:35:07 -04:00
|
|
|
}
|
2023-05-03 14:31:52 -04:00
|
|
|
|
|
|
|
.page_navigation {
|
2023-11-21 15:30:47 -05:00
|
|
|
padding: 0 0 2rem;
|
2023-05-03 14:31:52 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page_navigation button {
|
2023-07-06 09:28:22 -04:00
|
|
|
background: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2023-05-03 14:31:52 -04:00
|
|
|
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-06-18 12:50:32 -04:00
|
|
|
.about-container article {
|
2023-05-31 09:05:02 -04:00
|
|
|
font-size: 1.5rem;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-05-31 09:05:02 -04:00
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.about-container article h1 {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-two);
|
2023-05-31 09:05:02 -04:00
|
|
|
font-size: 2.8rem;
|
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.about-container article div {
|
2023-05-31 09:05:02 -04:00
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.about-container a {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-three);
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.about-container article h2 {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-three);
|
2023-05-31 09:05:02 -04:00
|
|
|
font-size: 1.8rem;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.about-container p {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-06-18 12:50:32 -04:00
|
|
|
font-size: 1.6rem;
|
2023-05-31 09:05:02 -04:00
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.about-container h3 {
|
2023-05-31 09:05:02 -04:00
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-container {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
2023-06-18 13:12:20 -04:00
|
|
|
/* Styles for the settings page */
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
width: 80dvw;
|
2023-12-09 09:34:17 -05:00
|
|
|
margin: 5rem 0;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings h1 {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-two);
|
2023-05-31 09:05:02 -04:00
|
|
|
font-size: 2.5rem;
|
|
|
|
}
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
.settings > h1 {
|
|
|
|
margin-bottom: 4rem;
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
|
|
|
|
2023-05-31 09:05:02 -04:00
|
|
|
.settings hr {
|
2023-07-06 09:28:22 -04:00
|
|
|
border-color: var(--color-three);
|
2023-11-21 15:30:47 -05:00
|
|
|
margin: 0.3rem 0 1rem;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-12-09 09:34:17 -05:00
|
|
|
.settings > hr {
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .sidebar {
|
|
|
|
width: 30%;
|
2023-05-31 09:05:02 -04:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 2rem;
|
2023-06-18 12:50:32 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
margin-left: -0.7rem;
|
|
|
|
padding: 0.7rem;
|
2023-05-31 09:05:02 -04:00
|
|
|
border-radius: 5px;
|
2023-06-18 12:50:32 -04:00
|
|
|
margin-bottom: 0.5rem;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-06-18 12:50:32 -04:00
|
|
|
text-transform: capitalize;
|
|
|
|
gap: 1.5rem;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .sidebar .btn {
|
2023-12-09 09:34:17 -05:00
|
|
|
padding: 2rem;
|
2023-06-18 12:50:32 -04:00
|
|
|
border-radius: 0.5rem;
|
2023-12-09 09:34:17 -05:00
|
|
|
outline-offset: 3px;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings_container .sidebar .btn:active {
|
|
|
|
outline: 2px solid var(--color-two);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings_container .sidebar .btn:not(.active):hover {
|
|
|
|
color: var(--color-two);
|
2023-06-18 12:50:32 -04:00
|
|
|
}
|
2023-06-03 03:26:42 -04:00
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .sidebar .btn.active {
|
2023-07-06 09:28:22 -04:00
|
|
|
background-color: var(--color-two);
|
2023-12-09 09:34:17 -05:00
|
|
|
color: var(--background-color);
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .main_container {
|
|
|
|
width: 70%;
|
2023-07-06 09:28:22 -04:00
|
|
|
border-left: 1.5px solid var(--color-three);
|
2023-05-31 09:05:02 -04:00
|
|
|
padding-left: 3rem;
|
2023-12-09 09:34:17 -05:00
|
|
|
border: none;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .tab {
|
2023-05-31 09:05:02 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .tab.active {
|
|
|
|
display: flex;
|
2023-12-09 09:34:17 -05:00
|
|
|
gap: 1.2rem;
|
2023-06-18 12:50:32 -04:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container button {
|
|
|
|
margin-top: 1rem;
|
2023-05-31 09:05:02 -04:00
|
|
|
padding: 1rem 2rem;
|
|
|
|
font-size: 1.5rem;
|
2023-07-06 09:28:22 -04:00
|
|
|
background: var(--color-three);
|
|
|
|
color: var(--background-color);
|
2023-06-18 12:50:32 -04:00
|
|
|
border-radius: 0.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-18 12:50:32 -04:00
|
|
|
transition: all 0.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-06-18 12:50:32 -04:00
|
|
|
outline: none;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container button:active {
|
2023-06-03 03:26:42 -04:00
|
|
|
box-shadow: none;
|
|
|
|
translate: 5px 5px;
|
2023-05-31 09:05:02 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .main_container .message {
|
|
|
|
font-size: 1.5rem;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .tab h3 {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: bold;
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--color-four);
|
2023-06-18 12:50:32 -04:00
|
|
|
margin-top: 1.5rem;
|
|
|
|
text-transform: capitalize;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-12-28 12:09:35 -05:00
|
|
|
.settings_container .tab .description,
|
|
|
|
.settings_container .tab .admin_warning {
|
2023-06-18 12:50:32 -04:00
|
|
|
font-size: 1.5rem;
|
|
|
|
margin-bottom: 0.5rem;
|
2023-12-28 12:09:35 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings_container .tab .description {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-12-28 12:09:35 -05:00
|
|
|
.settings_container .tab .admin_warning {
|
|
|
|
color: var(--color-two);
|
|
|
|
}
|
|
|
|
|
2023-09-22 12:34:27 -04:00
|
|
|
.settings_container .user_interface select,
|
|
|
|
.settings_container .general select {
|
2023-06-18 12:50:32 -04:00
|
|
|
margin: 0.7rem 0;
|
|
|
|
width: 20rem;
|
2023-12-09 09:34:17 -05:00
|
|
|
background-color: var(--color-one);
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-06-18 12:50:32 -04:00
|
|
|
padding: 1rem 2rem;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
text-transform: capitalize;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-09-22 12:34:27 -04:00
|
|
|
.settings_container .user_interface option:hover,
|
|
|
|
.settings_container .general option:hover {
|
2023-07-06 09:28:22 -04:00
|
|
|
background-color: var(--color-one);
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .engines .engine_selection {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 1rem 0;
|
2023-12-09 09:34:17 -05:00
|
|
|
margin-bottom: 2rem;
|
|
|
|
gap: 2rem;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .engines .toggle_btn {
|
2023-07-06 09:28:22 -04:00
|
|
|
color: var(--foreground-color);
|
2023-06-18 12:50:32 -04:00
|
|
|
font-size: 1.5rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-12-09 09:34:17 -05:00
|
|
|
border-radius: 100px;
|
|
|
|
gap: 1.5rem;
|
|
|
|
letter-spacing: 1px;
|
2023-06-18 12:50:32 -04:00
|
|
|
}
|
2023-06-03 03:26:42 -04:00
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
.settings_container .engines hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2023-06-03 03:26:42 -04:00
|
|
|
|
2023-06-18 13:22:10 -04:00
|
|
|
.settings_container .cookies input {
|
2023-11-21 15:30:47 -05:00
|
|
|
margin: 1rem 0;
|
2023-06-18 13:22:10 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 13:12:20 -04:00
|
|
|
/* Styles for the toggle button */
|
2023-11-21 15:30:47 -05:00
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
/* The switch - the box around the slider */
|
|
|
|
.switch {
|
2023-06-03 03:26:42 -04:00
|
|
|
position: relative;
|
2023-06-18 12:50:32 -04:00
|
|
|
display: inline-block;
|
|
|
|
width: 6rem;
|
|
|
|
height: 3.4rem;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
/* Hide default HTML checkbox */
|
|
|
|
.switch input {
|
|
|
|
opacity: 0;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
/* The slider */
|
|
|
|
.slider {
|
2023-06-03 03:26:42 -04:00
|
|
|
position: absolute;
|
2023-06-18 12:50:32 -04:00
|
|
|
cursor: pointer;
|
2023-11-21 15:30:47 -05:00
|
|
|
inset: 0;
|
2023-12-09 09:34:17 -05:00
|
|
|
background-color: var(--foreground-color);
|
|
|
|
transition: 0.2s;
|
|
|
|
outline-offset: 3px;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slider:active {
|
|
|
|
outline: 2px solid var(--foreground-color);
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-11-21 15:30:47 -05:00
|
|
|
.slider::before {
|
2023-06-03 03:26:42 -04:00
|
|
|
position: absolute;
|
2023-06-18 12:50:32 -04:00
|
|
|
content: '';
|
|
|
|
height: 2.6rem;
|
|
|
|
width: 2.6rem;
|
|
|
|
left: 0.4rem;
|
|
|
|
bottom: 0.4rem;
|
2023-12-09 09:34:17 -05:00
|
|
|
background-color: var(--background-color);
|
|
|
|
transition: .2s;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
input:checked + .slider {
|
2023-07-06 09:28:22 -04:00
|
|
|
background-color: var(--color-three);
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
input:focus + .slider {
|
2023-07-06 09:28:22 -04:00
|
|
|
box-shadow: 0 0 1px var(--color-three);
|
2023-06-18 12:50:32 -04:00
|
|
|
}
|
2023-06-03 03:26:42 -04:00
|
|
|
|
2023-11-21 15:30:47 -05:00
|
|
|
input:checked + .slider::before {
|
2023-06-18 12:50:32 -04:00
|
|
|
transform: translateX(2.6rem);
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-06-18 12:50:32 -04:00
|
|
|
/* Rounded sliders */
|
|
|
|
.slider.round {
|
|
|
|
border-radius: 3.4rem;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|
|
|
|
|
2023-11-21 15:30:47 -05:00
|
|
|
.slider.round::before {
|
2023-06-18 12:50:32 -04:00
|
|
|
border-radius: 50%;
|
2023-06-03 03:26:42 -04:00
|
|
|
}
|