forked from Ugric/Komodo-Hub
845 lines
14 KiB
CSS
845 lines
14 KiB
CSS
:root {
|
|
--text: #cdffca;
|
|
--background: #094d21;
|
|
--primary: #229b3c;
|
|
--primary_darker: #118919;
|
|
--secondary: #ffffff;
|
|
--accent: #505e86;
|
|
--transparent: #01030cbf;
|
|
--green: #5eff5e;
|
|
--green2: var(--background);
|
|
--green3: #094422;
|
|
--red: #ff5e5e;
|
|
--navbar-height: 6.854%;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
scroll-padding-top: 80px;
|
|
}
|
|
|
|
body {
|
|
font-family: "Arial";
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: var(--text);
|
|
background-color: var(--background);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.title {
|
|
font-size: 80;
|
|
font-weight: bold;
|
|
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
|
text-shadow:
|
|
0 20px 40px rgba(255, 255, 255, 0.2),
|
|
0 80px 200px rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Arial";
|
|
font-weight: 700;
|
|
margin: 0;
|
|
padding: 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.content {
|
|
max-width: 2000px;
|
|
margin: 2rem auto;
|
|
padding: 0 1rem 1rem;
|
|
}
|
|
|
|
.navbar {
|
|
overflow: visible;
|
|
position: sticky;
|
|
top: 0;
|
|
background-color: var(--transparent);
|
|
backdrop-filter: blur(15px);
|
|
height: var(--navbar-height);
|
|
min-height: 40px;
|
|
padding: 0.5rem 1rem;
|
|
margin: auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
z-index: 998;
|
|
max-height: 50px;
|
|
}
|
|
|
|
.navbar .link_button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 70%;
|
|
padding: 0 1rem;
|
|
margin-left: 0.5rem;
|
|
background: #4CAF50;
|
|
color: white;
|
|
border-radius: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar .link_button:hover {
|
|
background-color: var(--primary_darker);
|
|
}
|
|
|
|
.half-width {
|
|
width: 50%;
|
|
max-width: 600px;
|
|
/* optional cap */
|
|
min-width: 300px;
|
|
/* optional floor */
|
|
height: auto;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.three-quarter-width {
|
|
width: 75%;
|
|
height: auto;
|
|
display: block;
|
|
margin: 5rem auto;
|
|
}
|
|
|
|
.full-width {
|
|
width: 99vw;
|
|
}
|
|
|
|
.quarter-height {
|
|
height: 25%;
|
|
width: auto;
|
|
display: block;
|
|
margin: auto
|
|
}
|
|
|
|
.species-photo {
|
|
height: 50%;
|
|
width: auto;
|
|
display: block;
|
|
margin: auto
|
|
}
|
|
|
|
.extinction-icon {
|
|
height: 60px;
|
|
width: auto;
|
|
}
|
|
|
|
.navbar li {
|
|
display: flex;
|
|
list-style: none;
|
|
}
|
|
|
|
.navbar a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar .links a {
|
|
font-family: "Arial";
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
text-align: center;
|
|
}
|
|
|
|
.navbar .links {
|
|
overflow: visible;
|
|
}
|
|
|
|
.navbar .links a:hover {
|
|
color: var(--primary_darker);
|
|
}
|
|
|
|
.logo {
|
|
text-wrap: nowrap;
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
border-radius: 10px;
|
|
padding: 0.5rem;
|
|
background: linear-gradient(120deg, var(--primary), var(--accent));
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
color: var(--accent);
|
|
font-family: "Arial";
|
|
text-decoration: none;
|
|
}
|
|
|
|
.welcome {
|
|
display: flex;
|
|
background-image: url("/1706110852106.jpg");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
width: 100%;
|
|
height: calc(100vh - (var(--navbar-height)) - 1rem);
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.welcome>div {
|
|
background-color: var(--transparent);
|
|
width: fit-content;
|
|
margin: auto;
|
|
border-radius: 25px;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.welcome>div>h1 {
|
|
background: linear-gradient(120deg, var(--primary), var(--accent));
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
text-align: center;
|
|
margin: 1rem;
|
|
font-size: 7rem;
|
|
font-weight: 900;
|
|
}
|
|
|
|
@media (max-width: 1250px) {
|
|
.welcome>div>h1 {
|
|
font-size: 5rem;
|
|
}
|
|
}
|
|
|
|
textarea:focus,
|
|
input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.results {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 1rem;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.results a {
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
margin: 0.5rem 0;
|
|
padding: 1rem;
|
|
border-radius: 10px;
|
|
background-color: var(--secondary);
|
|
border: 1px solid var(--primary);
|
|
}
|
|
|
|
.selected {
|
|
color: var(--accent) !important;
|
|
}
|
|
|
|
.md_pre {
|
|
background-color: var(--secondary);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
border: 1px solid var(--primary);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.copyable-pre {
|
|
background-color: var(--secondary);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
border: 1px solid var(--primary);
|
|
overflow-x: auto;
|
|
cursor: pointer;
|
|
/* disable text highlighting */
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
white-space: -moz-pre-wrap;
|
|
white-space: -o-pre-wrap;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.field {
|
|
margin-top: 10rem;
|
|
padding-top: 12.36%;
|
|
padding-bottom: 12.36%;
|
|
}
|
|
|
|
.error {
|
|
color: red;
|
|
font-size: 0.8rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.split {
|
|
display: block;
|
|
margin: 1rem 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: var(--accent);
|
|
}
|
|
|
|
.atributes div>* {
|
|
margin: 0;
|
|
}
|
|
|
|
.atributes div {
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.package {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-content: stretch;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.package .info {
|
|
width: 100%;
|
|
}
|
|
|
|
.package .versions {
|
|
margin: 0 1rem;
|
|
width: 100%;
|
|
max-width: 250px;
|
|
}
|
|
|
|
@media (max-width: 750px) {
|
|
.package .versions {
|
|
margin: 1rem 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.package {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.key_features {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.key_features>div {
|
|
width: 250px;
|
|
text-align: center;
|
|
background: var(--primary);
|
|
background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
|
|
color: var(--background);
|
|
border-radius: 50px;
|
|
margin: 1rem;
|
|
padding: 3rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
align-items: stretch;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.key_features>div img {
|
|
border-radius: 15px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--background);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: var(--primary);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.link_button {
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
margin: 1rem;
|
|
padding: 1rem;
|
|
border-radius: 10px;
|
|
font-size: 20px;
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
.link_button:hover {
|
|
background-color: var(--primary_darker);
|
|
}
|
|
|
|
.accounts {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.accounts>a {
|
|
text-decoration: none;
|
|
width: 250px;
|
|
text-align: center;
|
|
background: var(--background);
|
|
border: 5px dotted var(--secondary);
|
|
color: var(--text);
|
|
border-radius: 50px;
|
|
margin: 1rem;
|
|
padding: 3rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
align-items: stretch;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.transactions {
|
|
max-width: 750px;
|
|
margin: 1rem auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
flex-wrap: nowrap;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.transactions>div {
|
|
text-align: center;
|
|
background: var(--background);
|
|
border: 3px dotted var(--secondary);
|
|
color: var(--text);
|
|
border-radius: 50px;
|
|
margin: 0.5rem 0;
|
|
padding: 1rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.modal {
|
|
display: none;
|
|
/* Hidden by default */
|
|
position: fixed;
|
|
/* Stay in place */
|
|
z-index: 1;
|
|
/* Sit on top */
|
|
padding-top: 100px;
|
|
/* Location of the box */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
/* Full width */
|
|
height: 100%;
|
|
/* Full height */
|
|
overflow: auto;
|
|
/* Enable scroll if needed */
|
|
background-color: rgb(0, 0, 0);
|
|
/* Fallback color */
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
/* Black w/ opacity */
|
|
}
|
|
|
|
.pic_container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pic {
|
|
width: 100%;
|
|
max-width: 250px;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.homepage-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
margin-top: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.homepage-buttons .homepage-btn {
|
|
width: 200px;
|
|
text-align: center;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.75rem 1rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.komodo_crop {
|
|
margin-top: -1px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.navbar .left {
|
|
display: flex;
|
|
align-items: center;
|
|
height:100%;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.logo-img {
|
|
height: 100%;
|
|
width: auto;
|
|
display:block;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 1.44rem;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.right {
|
|
display: flex;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
/* Dropdown container */
|
|
.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
/* Dropdown content */
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
background-color: rgb(0, 0, 0);
|
|
min-width: 160px;
|
|
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
|
|
z-index: 3;
|
|
}
|
|
|
|
/* Links inside dropdown */
|
|
.dropdown-content a {
|
|
display: block;
|
|
padding: 10px 15px;
|
|
text-decoration: none;
|
|
color: rgb(35, 35, 35);
|
|
z-index: 999;
|
|
|
|
}
|
|
|
|
.dropbtn {
|
|
background: transparent;
|
|
color: whitesmoke;
|
|
border: none;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.75rem 1rem;
|
|
font-size: 1.25rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
/* Hover effects */
|
|
.dropdown-content a:hover {
|
|
background-color: #555555;
|
|
}
|
|
|
|
/* Show dropdown on hover */
|
|
.dropdown:hover .dropdown-content {
|
|
display: block;
|
|
}
|
|
|
|
/* todo */
|
|
|
|
.form{
|
|
width: 100%;
|
|
flex-direction:column;
|
|
display: flex;
|
|
}
|
|
|
|
.form-section {
|
|
padding: 80px 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
background: var(--green3);
|
|
padding: 20px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
border-radius: 20px;
|
|
border: 2px solid var(--primary);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
margin: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container-lite {
|
|
max-width: 600px;
|
|
max-height: 100%;
|
|
overflow: hidden;
|
|
background: var(--green3);
|
|
padding: 10px;
|
|
border-radius: 20px;
|
|
border: 2px solid var(--primary);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#featured-species .container-lite {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
max-width: 30%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
#featured-species h3 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.container-lite .div-image {
|
|
background-size: cover;
|
|
background-position: center;
|
|
max-width: 80%;
|
|
max-height: 80%;
|
|
aspect-ratio: 1/1;
|
|
object-fit: cover;
|
|
display: block;
|
|
margin: 0 auto;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.container-lite p {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.container-full {
|
|
width: var(--custom-width, 100%); /* You can set custom widths here but defaults to 100% */
|
|
background: var(--green3);
|
|
padding: 40px;
|
|
border-radius: 20px;
|
|
border: 2px solid var(--primary);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
box-sizing: border-box;
|
|
margin: 1.618% auto 0 auto;
|
|
}
|
|
|
|
.container-full-bright {
|
|
width: var(--custom-width, 100%); /* You can set custom widths here but defaults to 100% */
|
|
max-height: fit-content;
|
|
background: var(--primary);
|
|
padding: 40px;
|
|
border-radius: 20px;
|
|
border: 2px solid var(--primary);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
box-sizing: border-box;
|
|
margin: 1.618% auto 0 auto;
|
|
}
|
|
|
|
.plain-white-text {
|
|
text-decoration: none;
|
|
color: whitesmoke;
|
|
}
|
|
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.form-group label {
|
|
margin-bottom: 4px;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Inputs + textarea */
|
|
.form-group input,
|
|
.form-group textarea {
|
|
padding: 9px 12px;
|
|
border-radius: 12px;
|
|
border: 2px solid var(--secondary);
|
|
background-color: var(--background);
|
|
color: var(--text);
|
|
font-size: 1rem;
|
|
transition: 0.2s ease;
|
|
}
|
|
|
|
/* Focus state */
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 10px rgba(34, 155, 60, 0.4);
|
|
}
|
|
|
|
/* File input spacing */
|
|
.form-group input[type="file"] {
|
|
padding: 8px;
|
|
}
|
|
|
|
.submit-button {
|
|
width: 100%;
|
|
padding: 14px;
|
|
border-radius: 14px;
|
|
border: none;
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
background: linear-gradient(120deg, var(--primary_darker), var(--primary), var(--primary_darker));
|
|
color: var(--text);
|
|
transition: 0.2s ease;
|
|
}
|
|
|
|
.delete-button {
|
|
width: 100%;
|
|
padding: 14px;
|
|
border-radius: 14px;
|
|
border: none;
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
background: linear-gradient(120deg, rgb(255, 0, 0), rgb(255, 0, 0), rgb(255, 0, 0));
|
|
color: rgb(255, 255, 255);
|
|
transition: 0.2s ease;
|
|
}
|
|
|
|
.submit-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.25);
|
|
}
|
|
|
|
.species-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 30px;
|
|
width: 100%;
|
|
margin: 20px auto;
|
|
padding: 0 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.boring-button {
|
|
display: inline-block;
|
|
margin-top: 40px;
|
|
background-color: #555;
|
|
color: white;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.search {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 2.5rem 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.search .bar {
|
|
width: 500px;
|
|
height: 50px;
|
|
border-radius: 25px;
|
|
color: black;
|
|
background-color: var(--secondary);
|
|
border: 1px solid var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.search .button {
|
|
width: 100px;
|
|
border-radius: 25px;
|
|
margin-left: 1rem;
|
|
color: var(--text);
|
|
background-color: var(--primary);
|
|
border: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
gap: 2px;
|
|
margin-top: 10px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.species-layout{
|
|
display:flex;
|
|
gap:30px;
|
|
align-items:flex-start;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.species-layout .container{
|
|
flex:1;
|
|
}
|
|
|
|
/* flash message css */
|
|
.flash-container {
|
|
margin: 20px;
|
|
}
|
|
|
|
.flash {
|
|
padding: 12px 16px;
|
|
margin: 10px;
|
|
border-radius: 6px;
|
|
animation: fadeOut 3.5s forwards;
|
|
}
|
|
|
|
@keyframes fadeOut {
|
|
0% { opacity: 1; }
|
|
80% { opacity: 1; }
|
|
100% { opacity: 0; display: none; }
|
|
}
|
|
|
|
.flash-info {
|
|
background: var(--background);
|
|
border: 1px solid var(--primary);
|
|
} |