1343 lines
24 KiB
CSS
1343 lines
24 KiB
CSS
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type="text"] {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin: 10px 0;
|
|
box-sizing: border-box;
|
|
font-size: 16px;
|
|
}
|
|
|
|
#modifiers-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
#modifiers {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 50%;
|
|
}
|
|
|
|
#abilities {
|
|
width: 42.5%;
|
|
}
|
|
|
|
body {
|
|
background: radial-gradient(circle at top, #0f172a 0%, #0b1120 45%, #020617 100%);
|
|
background-attachment: fixed;
|
|
position: relative;
|
|
z-index: auto;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
|
|
margin: 20px;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
header nav {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
header nav a {
|
|
color: red;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
header nav a:hover {
|
|
color: red;
|
|
}
|
|
|
|
h1 {
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.background-roster {
|
|
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background for better readability */
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
z-index: 1;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 20px;
|
|
overflow: visible;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
table, th, td {
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
th, td {
|
|
padding: 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
th {
|
|
color: #333;
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
button {
|
|
padding: 5px 10px;
|
|
background-color: red;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: red;
|
|
}
|
|
|
|
input {
|
|
padding: 5px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#result {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#search {
|
|
width: 100%;
|
|
padding: 6px;
|
|
border: 2px black solid;
|
|
margin-top: 8px;
|
|
margin-right: 16px;
|
|
font-size: 17px;
|
|
}
|
|
|
|
|
|
main {
|
|
position: relative;
|
|
z-index: 1;
|
|
background-color: rgba(255, 255, 255, 0.75);
|
|
margin-top: 8vh;
|
|
padding: 24px 32px 32px 32px;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
overflow: auto;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
nav {
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%
|
|
}
|
|
|
|
.divider {
|
|
top: 0;
|
|
width: 80%
|
|
}
|
|
|
|
.topnav {
|
|
position: absolute;
|
|
right: 50px;
|
|
top: 10px;
|
|
background-color: #333;
|
|
overflow: visible;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.topnav a {
|
|
color: #f2f2f2;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.dropdown .dropbtn {
|
|
font-size: 17px;
|
|
border: none;
|
|
outline: none;
|
|
color: white;
|
|
background-color: inherit;
|
|
padding: 14px 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: #f9f9f9;
|
|
min-width: 160px;
|
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
right: 0;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.dropdown-content a {
|
|
float: none;
|
|
color: black;
|
|
padding: 12px 16px;
|
|
text-decoration: none;
|
|
display: block;
|
|
text-align: left;
|
|
}
|
|
|
|
.topnav a:hover, .dropdown:hover .dropbtn {
|
|
background-color: #555;
|
|
color: white;
|
|
}
|
|
|
|
.dropdown-content a:hover {
|
|
background-color: #ddd;
|
|
color: black;
|
|
}
|
|
|
|
.dropdown.show .dropdown-content {
|
|
display: block;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.topnav {
|
|
right: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown .dropbtn {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.dropdown-content {
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.topnav .icon {
|
|
display: none;
|
|
}
|
|
|
|
.about_us_text {
|
|
font-size: 20px;
|
|
width: 50%;
|
|
overflow: auto;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
#search {
|
|
width: 100%
|
|
}
|
|
|
|
.about_us_text {
|
|
font-size: 14px;
|
|
width: 100%;
|
|
}
|
|
|
|
.suggestion-title {
|
|
font-size: 16px;
|
|
}
|
|
|
|
}
|
|
|
|
.button1 {
|
|
background-color: black;
|
|
}
|
|
|
|
main h1 {
|
|
font-size: 2.5em;
|
|
color: black;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.suggestion-title {
|
|
font-size: 1.5em;
|
|
color: black;
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
article label {
|
|
font-weight: bold;
|
|
font-size: 1.1em;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
display: block;
|
|
}
|
|
|
|
input[type="text"], input[type="number"], textarea {
|
|
width: 95%;
|
|
padding: 12px;
|
|
font-size: 1em;
|
|
border: 1px solid #ccc;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
background-color: #f9f9f9;
|
|
transition: border-color 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
input[type="text"]:focus, input[type="number"]:focus, textarea:focus {
|
|
border-color: black;
|
|
box-shadow: 0 0 5px darkred;
|
|
background-color: #fff;
|
|
outline: none;
|
|
}
|
|
|
|
textarea {
|
|
resize: none;
|
|
height: 150px;
|
|
}
|
|
|
|
.button1 {
|
|
background-color: darkred;
|
|
color: white;
|
|
font-size: 1.2em;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: block;
|
|
margin: 0 auto;
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
.button1:hover {
|
|
background-color: red;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
#successMessage {
|
|
font-size: 1.1em;
|
|
color: green;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
input[type="text"], input[type="number"], textarea {
|
|
width: 80%;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.suggestion-title {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
#modifiers {
|
|
width: 100%;
|
|
}
|
|
|
|
#abilities {
|
|
width: 100%;
|
|
}
|
|
|
|
#abilities label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#abilities input[type="checkbox"] {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.weapon-stats-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.weapon-stats-table th, .weapon-stats-table td {
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
.weapon-stats-table th {
|
|
background-color: #f2f2f2;
|
|
color: black;
|
|
}
|
|
|
|
.horizontal-table tr:first-child th {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.hamburger {
|
|
position: fixed;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
padding: 0.5rem;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
cursor: pointer;
|
|
z-index: 2000;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.hamburger .bar {
|
|
width: 100%;
|
|
height: 0.4rem;
|
|
background-color: #fff;
|
|
border-radius: 2px;
|
|
transition: transform 0.3s ease, opacity 0.3s ease;
|
|
}
|
|
|
|
.hamburger .bar {
|
|
transform-origin: left center;
|
|
}
|
|
|
|
.hamburger .bar {
|
|
width: 100%;
|
|
height: 0.4rem;
|
|
background-color: #fff;
|
|
margin: 0.15rem 0;
|
|
transition: transform 0.3s ease, width 0.3s ease, opacity 0.3s ease;
|
|
}
|
|
|
|
.hamburger.active .bar:nth-child(1) {
|
|
transform: translate(8px, 8px) rotate(45deg);
|
|
width: 60%;
|
|
}
|
|
|
|
.hamburger.active .bar:nth-child(2) {
|
|
transform: translateX(10px);
|
|
width: 80%;
|
|
}
|
|
|
|
.hamburger.active .bar:nth-child(3) {
|
|
transform: translate(8px, -8px) rotate(-45deg);
|
|
width: 60%;
|
|
}
|
|
|
|
.nav-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
right: -100%;
|
|
width: 250px;
|
|
height: 100vh;
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 4rem 1.5rem;
|
|
gap: 1.5rem;
|
|
box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
|
|
transition: right 0.3s ease;
|
|
z-index: 1500;
|
|
}
|
|
|
|
.nav-menu a {
|
|
color: #333;
|
|
text-decoration: none;
|
|
font-size: 1.1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.nav-menu.active {
|
|
right: 0;
|
|
}
|
|
|
|
body.menu-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.select-wrapper {
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.select-wrapper > input[type="text"],
|
|
.select-wrapper > select {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
font-size: 16px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 8px;
|
|
background-color: #f9f9f9;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
transition: border-color 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
.select-wrapper > select {
|
|
background-image: url("data:image/svg+xml;utf8,\
|
|
<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23666' viewBox='0 0 24 24'>\
|
|
<path d='M7 10l5 5 5-5z'/>\
|
|
</svg>");
|
|
background-repeat: no-repeat;
|
|
background-position: right 12px center;
|
|
background-size: 1em;
|
|
}
|
|
|
|
.select-wrapper > input[type="text"]:focus,
|
|
.select-wrapper > select:focus {
|
|
outline: none;
|
|
border-color: darkred;
|
|
box-shadow: 0 0 5px rgba(139, 0, 0, 0.5);
|
|
}
|
|
|
|
.select-wrapper > input[type="text"]::placeholder {
|
|
color: #888;
|
|
}
|
|
|
|
#weapon-form {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
z-index: 3000;
|
|
}
|
|
|
|
#weapon-form.show {
|
|
display: flex;
|
|
}
|
|
|
|
#weapon-form > div {
|
|
background: #fff;
|
|
padding: 24px;
|
|
border-radius: 12px;
|
|
width: 90%;
|
|
max-width: 480px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
#weapon-form h2 {
|
|
margin-top: 0;
|
|
color: #222;
|
|
font-size: 1.75rem;
|
|
text-align: center;
|
|
}
|
|
|
|
#weapon-form form input[type="text"],
|
|
#weapon-form form input[type="number"],
|
|
#weapon-form form select {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
margin-top: 4px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
background: #fafafa;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
#weapon-form form select[multiple] {
|
|
min-height: 120px;
|
|
}
|
|
|
|
#weapon-form form input:focus,
|
|
#weapon-form form select:focus {
|
|
outline: none;
|
|
border-color: darkred;
|
|
box-shadow: 0 0 4px rgba(139, 0, 0, 0.4);
|
|
}
|
|
|
|
#weapon-form form button {
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
#weapon-form form button[type="submit"] {
|
|
background-color: darkred;
|
|
color: #fff;
|
|
}
|
|
|
|
#weapon-form form button[type="submit"]:hover {
|
|
background-color: red;
|
|
}
|
|
|
|
#weapon-form form button#weapon-cancel {
|
|
background-color: #666;
|
|
color: #fff;
|
|
}
|
|
|
|
#weapon-form form button#weapon-cancel:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
#weapon-create {
|
|
margin: 0 0 20px;
|
|
padding: 10px 16px;
|
|
background-color: darkred;
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: white;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#weapon-edit {
|
|
margin: 0 0 20px;
|
|
padding: 10px 16px;
|
|
background-color: darkred;
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: white;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#weapon-create:hover {
|
|
background-color: red;
|
|
}
|
|
|
|
#weapon-edit:hover {
|
|
background-color: red;
|
|
}
|
|
|
|
#weapon-edit:disabled {
|
|
background-color: #666;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#copy-stats {
|
|
background: darkred;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
padding: 10px 16px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
#copy-stats:hover {
|
|
background: red;
|
|
}
|
|
|
|
#copy-message {
|
|
margin-top: 8px;
|
|
font-size: 0.95rem;
|
|
min-height: 1.2em;
|
|
}
|
|
|
|
#copy-message.success {
|
|
color: green;
|
|
}
|
|
|
|
#copy-message.error {
|
|
color: crimson;
|
|
}
|
|
|
|
.checkbox-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.checkbox-group legend {
|
|
font-weight: bold;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.checkbox-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.checkbox-group input {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.about_us_main {
|
|
background-color: rgba(255, 255, 255, 0.92);
|
|
margin: 8vh auto;
|
|
padding: 40px;
|
|
border-radius: 12px;
|
|
width: 90%;
|
|
max-width: 900px;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.about_us_h1 {
|
|
text-align: center;
|
|
font-size: 3rem;
|
|
margin-bottom: 1.5rem;
|
|
color: #111;
|
|
}
|
|
|
|
.about_us_h2 {
|
|
margin-top: 2rem;
|
|
color: #222;
|
|
font-size: 1.8rem;
|
|
border-left: 5px solid red;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.about_us_h3 {
|
|
font-size: 1.3rem;
|
|
margin-top: 1.5rem;
|
|
color: #333;
|
|
}
|
|
|
|
.about_us_text {
|
|
font-size: 1.05rem;
|
|
line-height: 1.7;
|
|
margin-top: 1rem;
|
|
color: #444;
|
|
}
|
|
|
|
.highlight {
|
|
font-weight: bold;
|
|
color: #d32f2f;
|
|
}
|
|
|
|
a {
|
|
color: red;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.team-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.team-member {
|
|
background-color: #f7f7f7;
|
|
padding: 15px 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.thanks-section {
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
border-left: 4px solid red;
|
|
border-radius: 6px;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.faq p {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
main {
|
|
padding: 25px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.about_us_text {
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
/* --------------------------
|
|
Modern theme enhancements
|
|
-------------------------- */
|
|
:root {
|
|
--bg-tint: rgba(15, 23, 42, 0.45);
|
|
--card-bg: rgba(255, 255, 255, 0.75);
|
|
--text-900: #0f172a;
|
|
--text-700: #334155;
|
|
--text-500: #64748b;
|
|
--border: rgba(2, 6, 23, 0.08);
|
|
--shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
|
|
--primary: #dc2626; /* red-600 */
|
|
--primary-700: #b91c1c;
|
|
--primary-50: #fef2f2;
|
|
--success: #16a34a;
|
|
--warning: #f59e0b;
|
|
}
|
|
|
|
/* Subtle overlay to improve contrast on busy backgrounds */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background: linear-gradient(180deg, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.25));
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
main {
|
|
background-color: var(--card-bg);
|
|
border: 1px solid var(--border);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
color: var(--text-900);
|
|
}
|
|
|
|
.about_us_text, p, label, th, td, a {
|
|
color: var(--text-700);
|
|
}
|
|
|
|
/* Links */
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Inputs */
|
|
input[type="text"], input[type="number"], textarea, select, #search {
|
|
border: 1px solid var(--border);
|
|
background-color: #f8fafc;
|
|
border-radius: 10px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus, #search:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 4px var(--primary-50);
|
|
}
|
|
|
|
/* Buttons */
|
|
button, .button1, #weapon-create, #weapon-edit, #copy-stats, #weapon-form form button[type="submit"] {
|
|
background-color: var(--primary);
|
|
border-radius: 10px;
|
|
padding: 10px 16px;
|
|
box-shadow: 0 2px 6px rgba(2, 6, 23, 0.15);
|
|
}
|
|
|
|
button:hover, .button1:hover, #weapon-create:hover, #weapon-edit:hover, #copy-stats:hover, #weapon-form form button[type="submit"]:hover {
|
|
background-color: var(--primary-700);
|
|
}
|
|
|
|
/* Table modernization */
|
|
table {
|
|
background: rgba(255, 255, 255, 0.85);
|
|
border-radius: 12px;
|
|
/* Avoid clipping tooltips or other positioned content inside table cells */
|
|
overflow: visible;
|
|
}
|
|
|
|
thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
tbody tr:nth-child(odd) {
|
|
background: #fafafa;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
th, td {
|
|
border-color: var(--border);
|
|
}
|
|
|
|
/* Hamburger + nav menu tweaks */
|
|
.hamburger {
|
|
background: rgba(15, 23, 42, 0.6);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.nav-menu {
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.nav-menu a {
|
|
color: var(--text-900);
|
|
}
|
|
|
|
.nav-menu a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Success/error text */
|
|
#successMessage {
|
|
color: var(--success);
|
|
}
|
|
|
|
#copy-message.success {
|
|
color: var(--success);
|
|
}
|
|
|
|
#copy-message.error {
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Responsive table spacing */
|
|
@media (max-width: 768px) {
|
|
th, td {
|
|
padding: 12px;
|
|
}
|
|
|
|
main {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
/* Screen-reader only utility */
|
|
.sr-only {
|
|
position: absolute !important;
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
padding: 0 !important;
|
|
margin: -1px !important;
|
|
overflow: hidden !important;
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
white-space: nowrap !important;
|
|
border: 0 !important;
|
|
}
|
|
|
|
.tooltip-wrap {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tooltip-trigger {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
background: rgba(255, 255, 255, 0.9);
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
padding: 0;
|
|
color: black;
|
|
}
|
|
|
|
.tooltip {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(6px);
|
|
min-width: 220px;
|
|
max-width: min(320px, calc(100vw - 24px));
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
background: rgba(15, 23, 42, 0.95);
|
|
color: #fff;
|
|
font-size: 0.9rem;
|
|
line-height: 1.35;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
|
|
backdrop-filter: saturate(120%) blur(2px);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.16s ease, transform 0.16s ease;
|
|
z-index: 999999;
|
|
}
|
|
|
|
|
|
.tooltip::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: -6px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 6px solid transparent;
|
|
border-right: 6px solid transparent;
|
|
border-bottom: 6px solid rgba(15, 23, 42, 0.95);
|
|
}
|
|
|
|
.tooltip-trigger:hover + .tooltip,
|
|
.tooltip-trigger:focus-visible + .tooltip {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.tooltip-trigger:hover,
|
|
.tooltip-trigger:focus-visible {
|
|
border-color: rgba(15, 23, 42, 0.35);
|
|
box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.tooltip {
|
|
transition: opacity 0.001s linear, transform 0.001s linear;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.tooltip {
|
|
inset: calc(100% + 8px) auto auto 50%;
|
|
transform: translate(-50%, 6px);
|
|
text-align: left;
|
|
}
|
|
|
|
.tooltip::after {
|
|
left: 50%;
|
|
top: -6px;
|
|
transform: translateX(-50%);
|
|
border-right: 6px solid transparent;
|
|
border-left: 6px solid transparent;
|
|
border-top: none;
|
|
border-bottom: 6px solid rgba(15, 23, 42, 0.95);
|
|
}
|
|
|
|
.tooltip-trigger:hover + .tooltip,
|
|
.tooltip-trigger:focus + .tooltip {
|
|
transform: translate(-50%, 0);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.weapon-stats-table.horizontal-table {
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.weapon-stats-table.horizontal-table tr:first-child {
|
|
display: none;
|
|
}
|
|
|
|
.weapon-stats-table.horizontal-table tr {
|
|
display: block;
|
|
margin-bottom: 14px;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
border-radius: 12px;
|
|
overflow: visible;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.weapon-stats-table.horizontal-table td {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
border: none;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
text-align: right;
|
|
}
|
|
|
|
.weapon-stats-table.horizontal-table td:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.weapon-stats-table.horizontal-table td::before {
|
|
content: attr(data-label);
|
|
font-weight: 700;
|
|
text-align: left;
|
|
color: rgba(15, 23, 42, 0.9);
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
/* --------------------------
|
|
Anomaly Front calculator
|
|
-------------------------- */
|
|
.af-body {
|
|
margin: 0;
|
|
padding: 32px;
|
|
}
|
|
|
|
.af-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
background: rgba(15, 23, 42, 0.7);
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-radius: 20px;
|
|
padding: 20px 28px;
|
|
margin-bottom: 24px;
|
|
position: relative;
|
|
z-index: 2;
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.af-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.af-badge {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
background: rgba(59, 130, 246, 0.2);
|
|
color: #bae6fd;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
.af-title {
|
|
font-size: 1.5rem;
|
|
margin: 0;
|
|
color: #f8fafc;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.af-subtitle {
|
|
margin: 4px 0 0;
|
|
color: #cbd5f5;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.af-nav {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.af-nav a {
|
|
color: #e2e8f0;
|
|
font-weight: 500;
|
|
padding: 8px 14px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
background: rgba(15, 23, 42, 0.4);
|
|
}
|
|
|
|
.af-nav a:hover {
|
|
color: #fff;
|
|
background: rgba(59, 130, 246, 0.3);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.af-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.af-hero {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 24px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: rgba(15, 23, 42, 0.65);
|
|
border-radius: 24px;
|
|
padding: 28px;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
box-shadow: 0 20px 40px rgba(2, 6, 23, 0.4);
|
|
}
|
|
|
|
.af-hero h1 {
|
|
margin-top: 0;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.af-hero p {
|
|
color: #cbd5f5;
|
|
max-width: 560px;
|
|
}
|
|
|
|
.af-status {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 16px;
|
|
width: min(520px, 100%);
|
|
}
|
|
|
|
.af-status-label {
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.08em;
|
|
color: #94a3b8;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.af-status-value {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.af-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.af-card {
|
|
background: rgba(15, 23, 42, 0.65);
|
|
border-radius: 20px;
|
|
padding: 24px;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
box-shadow: 0 16px 30px rgba(2, 6, 23, 0.35);
|
|
}
|
|
|
|
.af-card-header h2 {
|
|
margin-top: 0;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.af-card-header p {
|
|
color: #cbd5f5;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.af-form {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.af-form label {
|
|
display: grid;
|
|
gap: 6px;
|
|
color: #e2e8f0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.af-form input {
|
|
background: rgba(15, 23, 42, 0.8);
|
|
border: 1px solid rgba(148, 163, 184, 0.3);
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.af-form-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.af-form-actions button {
|
|
background: rgba(59, 130, 246, 0.9);
|
|
color: #f8fafc;
|
|
border: none;
|
|
border-radius: 999px;
|
|
padding: 10px 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#af-reset {
|
|
background: rgba(148, 163, 184, 0.4);
|
|
}
|
|
|
|
.af-metrics {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.af-metric {
|
|
background: rgba(2, 6, 23, 0.35);
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
border: 1px solid rgba(148, 163, 184, 0.15);
|
|
}
|
|
|
|
.af-metric-label {
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.08em;
|
|
color: #94a3b8;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.af-metric-value {
|
|
margin: 0;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.af-callout {
|
|
margin-top: 20px;
|
|
background: rgba(59, 130, 246, 0.15);
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
border: 1px solid rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
.af-callout h3 {
|
|
margin-top: 0;
|
|
color: #e0f2fe;
|
|
}
|
|
|
|
.af-callout ul {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
color: #cbd5f5;
|
|
}
|
|
|
|
.af-empty {
|
|
display: grid;
|
|
gap: 12px;
|
|
color: #cbd5f5;
|
|
background: rgba(2, 6, 23, 0.3);
|
|
border-radius: 16px;
|
|
padding: 18px;
|
|
border: 1px dashed rgba(148, 163, 184, 0.3);
|
|
}
|
|
|
|
.af-muted-button {
|
|
background: rgba(148, 163, 184, 0.2);
|
|
border-radius: 999px;
|
|
padding: 10px 16px;
|
|
color: #e2e8f0;
|
|
border: none;
|
|
width: fit-content;
|
|
}
|
|
|
|
.af-notes {
|
|
width: 100%;
|
|
min-height: 180px;
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
border: 1px solid rgba(148, 163, 184, 0.3);
|
|
color: #f8fafc;
|
|
resize: vertical;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.af-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.af-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.af-nav {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
}
|