465 lines
8.4 KiB
CSS
465 lines
8.4 KiB
CSS
:root {
|
|
/* Mobile - Default */
|
|
--bg-form-padding: 3px;
|
|
--about-text-padding: 3px;
|
|
--p-size: 12px;
|
|
--label-size: 12px;
|
|
--h1-size: 16px;
|
|
--footer-size: 10px;
|
|
--font-color: white;
|
|
--background-color: #2b323c;
|
|
--container-color: #526d82c5;
|
|
|
|
/* --background-gradient-webkit: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);
|
|
--background-gradient: linear-gradient(to right, #2C5364, #203A43, #0F2027); */
|
|
--link-color: #2c82c9;
|
|
font-family: 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Helvetica Neue', sans-serif;
|
|
background: var(--background-color);
|
|
/* background: var(--background-gradient-webkit);
|
|
background: var(--background-gradient); */
|
|
margin: 0;
|
|
transition: background 0.2s linear;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
body.dark {
|
|
--background-color: #ffcab0;
|
|
--container-color: #fdffcd;
|
|
--font-color: #484b6a;
|
|
/* --background-gradient-webkit: -webkit-linear-gradient(to right, #eef2f3, #8e9eab);
|
|
--background-gradient: linear-gradient(to right, #eef2f3, #8e9eab); */
|
|
|
|
}
|
|
|
|
a {
|
|
color: var(--link-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
main {
|
|
padding: 10%;
|
|
}
|
|
|
|
nav ul {
|
|
font-size: var(--p-size);
|
|
list-style-type: none;
|
|
padding: 0;
|
|
text-align: center;
|
|
width: auto;
|
|
margin-left: 50px;
|
|
}
|
|
|
|
nav ul li {
|
|
display: inline;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
nav ul li a {
|
|
text-decoration: none;
|
|
color: var(--font-color);
|
|
}
|
|
|
|
nav ul li a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.wrapper {
|
|
/* display: grid;
|
|
gap: 2vw;
|
|
grid-auto-rows: minmax(100px, auto); */
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center; /* Center items horizontally */
|
|
flex-grow: 1; /* Allow .wrapper to grow and occupy remaining space */
|
|
row-gap: 100px;
|
|
text-align: center;
|
|
color: var(--font-color);
|
|
margin-top: 30px;
|
|
/* min-height: 100vh; */
|
|
/* background-color: rgba(0, 0, 0, .4); */
|
|
}
|
|
|
|
.wrapper-changelog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center; /* Center items horizontally */
|
|
flex-grow: 1; /* Allow .wrapper to grow and occupy remaining space */
|
|
row-gap: 20px;
|
|
text-align: center;
|
|
color: var(--font-color);
|
|
margin-top: 30px;
|
|
|
|
.about-text {
|
|
padding-left: 10%;
|
|
padding-right: 10%;
|
|
}
|
|
}
|
|
|
|
.submit-button {
|
|
display: flex;
|
|
padding: 5px 10px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-self: center;
|
|
gap: 15px;
|
|
border-radius: 10px;
|
|
border: 2px solid #000;
|
|
max-width: 150px;
|
|
width: 100%;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.about-text {
|
|
background-color: var(--container-color);
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
width: 70%;
|
|
margin: 0 auto;
|
|
border-radius: 5px;
|
|
height: fit-content;
|
|
padding: var(--about-text-padding);
|
|
}
|
|
|
|
.changelog {
|
|
max-width: 800px;
|
|
}
|
|
|
|
.tooltip {
|
|
position: relative;
|
|
display: inline-block;
|
|
border-bottom: 1px dotted black;
|
|
}
|
|
|
|
.tooltip .tooltiptext {
|
|
visibility: hidden;
|
|
width: 120px;
|
|
background-color: #555;
|
|
color: #fff;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
padding: 5px 0;
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 125%;
|
|
left: 50%;
|
|
margin-left: -60px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.tooltip .tooltiptext::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-width: 5px;
|
|
border-style: solid;
|
|
border-color: #555 transparent transparent transparent;
|
|
}
|
|
|
|
.tooltip:hover .tooltiptext {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
.bg-form {
|
|
background-color: var(--container-color);
|
|
/* grid-column: 1;
|
|
grid-row: 2; */
|
|
font-weight: 400;
|
|
width: auto;
|
|
margin: 0 auto;
|
|
border-radius: 5px;
|
|
padding: var(--bg-form-padding);
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: fit-content;
|
|
align-items: center;
|
|
}
|
|
|
|
.bg-form-blurb {
|
|
text-align: left;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 15px;
|
|
align-items: center;
|
|
}
|
|
|
|
.form-group label {
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group select {
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-size: var(--p-size);
|
|
width: 100%;
|
|
max-width: 400px;
|
|
text-align: left;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group select:focus {
|
|
outline: none;
|
|
border-color: var(--link-color);
|
|
}
|
|
|
|
.chart-container {
|
|
position: relative;
|
|
margin: auto;
|
|
height: 80vh;
|
|
width: 80vw;
|
|
}
|
|
|
|
|
|
.footy {
|
|
background-color: #2e2d2d;
|
|
color: white;
|
|
padding: 1%;
|
|
position: relative;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
text-align: left;
|
|
font-size: var(--footer-size);
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
/* margin-top: -200px; */
|
|
align-self: flex-end;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.footy-interior {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
column-gap: 10px;
|
|
}
|
|
|
|
p {
|
|
font-size: var(--p-size);
|
|
line-height: 1.5;
|
|
margin: 0 0 1rem 0
|
|
}
|
|
|
|
label {
|
|
font-size: var(--label-size);
|
|
}
|
|
|
|
h1 {
|
|
font-size: var(--h1-size);
|
|
margin: 0 0 1rem 0
|
|
}
|
|
|
|
.required {
|
|
color: #ff3d78;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.default-card {
|
|
background-color: var(--container-color);
|
|
padding: 20px;
|
|
margin-top: 20px;
|
|
text-align: left;
|
|
text-wrap: wrap;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.changelog-split-row {
|
|
content: "";
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 10px;
|
|
/* margin: 0 auto; */
|
|
}
|
|
|
|
.top-left {
|
|
position: fixed;
|
|
top: 10px;
|
|
left: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.checkbox {
|
|
opacity: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
.checkbox-label {
|
|
background-color: #111;
|
|
width: 50px;
|
|
height: 26px;
|
|
border-radius: 50px;
|
|
position: relative;
|
|
padding: 5px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.image-container {
|
|
width: 80%;
|
|
max-width: fit-content;
|
|
min-width: 200px;
|
|
margin: 0 auto;
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.responsive-image {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.iframe-container {
|
|
width: 100%;
|
|
overflow: auto; /* Enable scrolling when content overflows */
|
|
max-width: 600px; /* Set maximum width to match iframe width */
|
|
margin: 0 auto; /* Center the container horizontally */
|
|
}
|
|
|
|
.social-icons-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
|
|
grid-gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.fa:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.fa-linkedin {
|
|
background: #007bb5;
|
|
color: white;
|
|
}
|
|
|
|
|
|
.fa-facebook {
|
|
background: #1575e4;
|
|
color: white;
|
|
}
|
|
|
|
.fa-github {
|
|
background: #333; /* GitHub black */
|
|
color: #fff; /* White text */
|
|
}
|
|
|
|
|
|
.fa-reddit {
|
|
background: #ff5700;
|
|
color: white;
|
|
}
|
|
|
|
.fa-youtube {
|
|
background: #b81111;
|
|
color: white;
|
|
}
|
|
|
|
.fa-instagram {
|
|
background: #e4405f; /* Instagram pink */
|
|
color: #fff; /* White text */
|
|
}
|
|
|
|
.fa {
|
|
padding: 20px;
|
|
font-size: 40px;
|
|
width: 60px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.fa-moon {
|
|
color: #f1c40f;
|
|
}
|
|
|
|
.fa-sun {
|
|
color: #f39c12;
|
|
}
|
|
|
|
.checkbox-label .ball {
|
|
background-color: #fff;
|
|
width: 22px;
|
|
height: 22px;
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 2px;
|
|
border-radius: 50%;
|
|
transition: transform 0.2s linear;
|
|
}
|
|
|
|
.checkbox:checked+.checkbox-label .ball {
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
/* form {
|
|
text-align: right;
|
|
} */
|
|
|
|
/* Tablet */
|
|
@media (min-width:600px) {
|
|
:root {
|
|
--bg-form-padding: 15px;
|
|
--about-text-padding: 10px;
|
|
--p-size: 14px;
|
|
--label-size: 14px;
|
|
--h1-size: 18px;
|
|
--footer-size: 15px;
|
|
}
|
|
|
|
.social-icons-container {
|
|
grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
|
|
}
|
|
|
|
.fa {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
/* Desktop */
|
|
@media (min-width:900px) {
|
|
:root {
|
|
--bg-form-padding: 24px;
|
|
--about-text-padding: 12px;
|
|
--p-size: 16px;
|
|
--label-size: 18px;
|
|
--h1-size: 30px;
|
|
--footer-size: 18px;
|
|
}
|
|
} |