2024-08-29 17:12:40 +00:00
|
|
|
/* Root Variables */
|
2024-08-21 20:22:27 +00:00
|
|
|
:root {
|
2024-08-27 19:50:30 +00:00
|
|
|
--bg-color: rgb(15, 15, 15);
|
2024-08-21 20:22:27 +00:00
|
|
|
--primary: rgb(240, 240, 240);
|
2024-08-29 17:12:40 +00:00
|
|
|
--secondary-color: hsl(210, 80%, 80%);
|
|
|
|
--secondary-color2: hsl(210, 60%, 40%);
|
|
|
|
--secondary-color-bg: hsl(210, 40%, 5%);
|
|
|
|
--font-weight: 350;
|
2024-08-21 20:22:27 +00:00
|
|
|
--font-family: "Lucida Console";
|
2024-08-29 17:12:40 +00:00
|
|
|
--bigger-font-weight: 700;
|
2024-08-25 17:53:45 +00:00
|
|
|
--link-border-radius: 1000px;
|
2024-08-29 17:12:40 +00:00
|
|
|
--page-max-width: 700px;
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* General Styles */
|
2024-08-21 20:22:27 +00:00
|
|
|
body {
|
2024-08-29 17:12:40 +00:00
|
|
|
background-color: var(--secondary-color-bg);
|
2024-08-21 20:22:27 +00:00
|
|
|
color: var(--primary);
|
2024-08-29 17:12:40 +00:00
|
|
|
/*color: var(--primary);*/
|
2024-08-21 20:22:27 +00:00
|
|
|
font-family: var(--font-family), monospace;
|
|
|
|
font-weight: var(--font-weight);
|
|
|
|
overflow-x: hidden;
|
2024-08-29 17:12:40 +00:00
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
2024-08-27 19:50:30 +00:00
|
|
|
}
|
2024-08-21 20:22:27 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
h1, p {
|
|
|
|
margin: 0;
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2024-08-29 17:12:40 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2024-08-21 20:22:27 +00:00
|
|
|
max-width: var(--page-max-width);
|
|
|
|
margin: 0 auto;
|
2024-08-27 19:50:30 +00:00
|
|
|
padding: 20px;
|
2024-08-29 17:12:40 +00:00
|
|
|
filter: drop-shadow(0 0 2px var(--secondary-color)) brightness(1);
|
2024-08-27 19:50:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
color: var(--bg-color);
|
|
|
|
background: var(--secondary-color);
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Header Styles */
|
2024-08-21 20:22:27 +00:00
|
|
|
header {
|
|
|
|
text-align: center;
|
|
|
|
width: max-content;
|
|
|
|
margin: 0 auto;
|
2024-08-29 17:12:40 +00:00
|
|
|
}
|
2024-08-21 20:22:27 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
header .names {
|
|
|
|
width: min-content;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2024-08-21 20:22:27 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
header h1, header p {
|
|
|
|
text-align: left;
|
|
|
|
color: var(--secondary-color);
|
|
|
|
}
|
2024-08-21 20:22:27 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
header img {
|
|
|
|
border-radius: 50%;
|
|
|
|
max-width: 300px;
|
|
|
|
padding: 0;
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Links Styles */
|
2024-08-25 18:46:40 +00:00
|
|
|
h2 {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
@media only screen and (max-width: 480px) {
|
2024-08-29 17:12:40 +00:00
|
|
|
text-align: center; /* slim */
|
2024-08-25 18:46:40 +00:00
|
|
|
margin: 10px auto;
|
|
|
|
}
|
2024-08-29 17:12:40 +00:00
|
|
|
|
|
|
|
@media only screen and (min-width: 480px) {
|
|
|
|
text-align: left; /* wide */
|
|
|
|
margin: 0;
|
|
|
|
}
|
2024-08-25 18:46:40 +00:00
|
|
|
}
|
2024-08-25 17:42:04 +00:00
|
|
|
|
|
|
|
.text-link {
|
|
|
|
color: var(--secondary-color);
|
|
|
|
text-decoration: underline solid var(--secondary-color2) 1px;
|
|
|
|
position: relative;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-link:hover {
|
|
|
|
text-decoration: underline solid var(--secondary-color) 1px;
|
2024-08-29 17:12:40 +00:00
|
|
|
filter: drop-shadow(0 0 5px var(--secondary-color2)) brightness(1.02);
|
2024-08-25 17:42:04 +00:00
|
|
|
top: -2px;
|
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Links Container */
|
2024-08-25 18:46:40 +00:00
|
|
|
.links {
|
2024-08-27 19:50:30 +00:00
|
|
|
padding: 10px;
|
2024-08-25 18:46:40 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Link Group */
|
2024-08-21 20:22:27 +00:00
|
|
|
.linkGroup {
|
2024-08-25 18:46:40 +00:00
|
|
|
margin: auto;
|
|
|
|
|
2024-08-21 20:22:27 +00:00
|
|
|
@media only screen and (min-width: 480px) {
|
|
|
|
display: flex;
|
2024-08-29 17:12:40 +00:00
|
|
|
flex-wrap: wrap; /* wide */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Link Styles */
|
|
|
|
.link {
|
|
|
|
height: fit-content;
|
|
|
|
position: relative;
|
|
|
|
transition: top 100ms ease, filter 100ms ease; /* Added filter transition */
|
|
|
|
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
|
|
margin: 10px 5%; /* slim */
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
@media only screen and (min-width: 480px) {
|
|
|
|
padding: 5px; /* wide */
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Button Styles */
|
2024-08-21 20:22:27 +00:00
|
|
|
.linkButton {
|
2024-08-29 17:12:40 +00:00
|
|
|
font-weight: var(--bigger-font-weight);
|
2024-08-21 20:22:27 +00:00
|
|
|
font-size: 25px;
|
2024-08-27 19:50:30 +00:00
|
|
|
line-height: 25px;
|
2024-08-21 20:22:27 +00:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
2024-08-25 18:46:40 +00:00
|
|
|
text-transform: lowercase;
|
|
|
|
color: var(--bg-color);
|
2024-08-21 20:22:27 +00:00
|
|
|
background-color: var(--secondary-color);
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 10px 20px;
|
|
|
|
border-radius: var(--link-border-radius);
|
2024-08-29 17:12:40 +00:00
|
|
|
width: 100%; /* slim */
|
2024-08-21 20:22:27 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
@media only screen and (min-width: 480px) {
|
|
|
|
width: auto; /* wide */
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
2024-08-29 17:12:40 +00:00
|
|
|
}
|
2024-08-21 20:22:27 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
.linkButton .icon {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
padding-right: 10px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
vertical-align: middle;
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Default Hover Effect */
|
|
|
|
.hoverHighlight:hover {
|
|
|
|
@media only screen and (min-width: 480px) {
|
|
|
|
filter: drop-shadow(0 0 8px var(--secondary-color)) brightness(1.1);
|
|
|
|
top: -2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.links:hover .hoverHighlight:not(:hover) {
|
|
|
|
@media only screen and (min-width: 480px) {
|
|
|
|
filter: brightness(0.5);
|
|
|
|
}
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Search Highlighting */
|
|
|
|
.highlightSearch {
|
|
|
|
filter: drop-shadow(0 0 8px var(--secondary-color)) brightness(1.1);
|
|
|
|
z-index: 1;
|
2024-08-27 19:50:30 +00:00
|
|
|
@media only screen and (min-width: 480px) {
|
2024-08-29 17:12:40 +00:00
|
|
|
top: -2px;
|
2024-08-27 19:50:30 +00:00
|
|
|
}
|
2024-08-29 17:12:40 +00:00
|
|
|
}
|
2024-08-27 19:50:30 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
.notHighlightSearch {
|
|
|
|
filter: brightness(0.5);
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
|
2024-08-24 19:46:09 +00:00
|
|
|
.linkButton:active {
|
2024-08-27 19:50:30 +00:00
|
|
|
transform: scale(0.95);
|
2024-08-29 17:12:40 +00:00
|
|
|
top: 2px;
|
2024-08-24 19:46:09 +00:00
|
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Search Input Field Styles */
|
|
|
|
.fuzzysearch {
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
max-width: var(--page-max-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
#link-search {
|
|
|
|
background-color: var(--secondary-color2);
|
|
|
|
color: var(--secondary-color);
|
|
|
|
border: 2px solid var(--secondary-color2);
|
|
|
|
border-radius: 50px;
|
|
|
|
padding: 10px 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: var(--bigger-font-weight);
|
|
|
|
width: 100%;
|
|
|
|
max-width: 400px; /* Adjust width as needed */
|
|
|
|
/*box-shadow: 0 0 5px var(--secondary-color2);*/
|
|
|
|
transition: background-color 100ms ease, border-color 100ms ease, box-shadow 100ms ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#link-search::placeholder {
|
|
|
|
color: var(--secondary-color);
|
|
|
|
opacity: 0.9; /* Placeholder text opacity */
|
|
|
|
}
|
|
|
|
|
|
|
|
#link-search:focus::placeholder {
|
|
|
|
color: var(--secondary-color);
|
|
|
|
opacity: 0.9; /* Placeholder text opacity */
|
|
|
|
}
|
|
|
|
|
|
|
|
#link-search:focus {
|
|
|
|
outline: none;
|
|
|
|
background-color: var(--secondary-color-bg);
|
|
|
|
box-shadow: 0 0 10px var(--secondary-color);
|
|
|
|
border-color: var(--secondary-color2);
|
|
|
|
color: var(--secondary-color);
|
|
|
|
}
|
2024-08-24 19:46:09 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
@media only screen and (max-width: 480px) {
|
|
|
|
#link-search {
|
|
|
|
padding: 8px 12px;
|
|
|
|
max-width: 90%; /* Responsive width for small screens */
|
|
|
|
}
|
|
|
|
}
|
2024-08-27 19:50:30 +00:00
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
@media only screen and (min-width: 480px) {
|
|
|
|
#link-search {
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Timers Styles */
|
2024-08-21 20:22:27 +00:00
|
|
|
.timer p {
|
|
|
|
@media only screen and (max-width: 480px) {
|
2024-08-29 17:12:40 +00:00
|
|
|
margin-bottom: 20px; /* slim */
|
2024-08-21 20:22:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timer p span {
|
|
|
|
color: var(--secondary-color);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2024-08-29 17:12:40 +00:00
|
|
|
/* Footer Styles */
|
2024-08-21 20:22:27 +00:00
|
|
|
footer {
|
|
|
|
text-align: center;
|
2024-08-29 17:12:40 +00:00
|
|
|
}
|