Files
buildpath/frontend/assets/css/main.css
Valentin Haudiquet 0b2d00ad0b
Some checks failed
Dragon Item Parser CI / build-and-test (push) Successful in 13s
pipeline / lint-and-format (push) Successful in 4m35s
pipeline / build-and-push-images (push) Failing after 25s
feat: better item tooltips
2026-04-27 00:31:31 +02:00

108 lines
2.0 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
--color-surface: #312e2c;
--color-on-surface: #b7b8e1;
--color-surface-darker: #1f1d1c;
--color-gold: #ffd700;
/* Tooltip colors */
--tooltip-bg: #312e2c;
--tooltip-border: #4a4543;
--tooltip-header-border: rgba(183, 184, 225, 0.2);
--tooltip-text: #b7b8e1;
--tooltip-text-dim: #8a8b9e;
--tooltip-stat-value: #ffd700;
--tooltip-stat-label: #b7b8e1;
/* Effect type colors */
--tooltip-effect-passive: #4a9eff;
--tooltip-effect-active: #ff6b6b;
--tooltip-effect-unique: #f39c12;
--tooltip-effect-mythic: #ff5252;
--tooltip-effect-legendary: #ff9800;
--tooltip-effect-epic: #ffd54f;
/* Text segment colors */
--tooltip-highlight: #ffd700;
--tooltip-keyword: #ffd700;
--tooltip-keyword-major: #ff8c00;
--tooltip-keyword-stealth: #9b59b6;
--tooltip-status: #e74c3c;
--tooltip-speed: #5dade2;
--tooltip-scaling: #5dade2;
--tooltip-magic-damage: #9b59b6;
--tooltip-physical-damage: #e67e22;
--tooltip-true-damage: #ffffff;
--tooltip-healing: #2ecc71;
--tooltip-shield: #3498db;
--tooltip-onhit: #5dade2;
--tooltip-spellname: #1abc9c;
--tooltip-flavor: #6a9fff;
}
/* Font setting */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
input[type='text'] {
font-family: 'Inter', sans-serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
color: var(--color-on-surface);
}
/* Default margins to none */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
margin: 0px;
}
body {
background-color: var(--color-surface);
padding: 0;
margin: 0;
/* default value: font-size: 16px; */
}
@media only screen and (max-width: 650px) {
body {
font-size: 12px;
}
html {
font-size: 12px;
}
}
/* Different title settings */
h1 {
font-size: 2.5rem;
font-weight: 500;
}
h2 {
font-size: 1.5rem;
font-weight: 400;
}
h3 {
font-size: 1.5rem;
font-weight: 300;
}
a {
text-decoration: none;
}