More actions
Admornstein (talk | contribs) No edit summary |
Admornstein (talk | contribs) No edit summary |
||
| Line 130: | Line 130: | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | align-items: center; | ||
margin: 0 | margin: 10px 0 5px 10px; | ||
padding: 0; | padding: 0; | ||
width: 100%; | width: 100%; | ||
Revision as of 11:19, 25 August 2025
@font-face {
font-family: 'AngerStyles';
src: url('https://wiki.cathedralofblades.com/resources/AngerStyles.woff2') format('woff2'),
url('https://wiki.cathedralofblades.com/resources/AngerStyles.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/* === CONTAINER === */
.wm {
position: relative;
max-width: 1200px;
width: 100%;
margin: 0 auto;
font-size: 0;
z-index: 0;
}
.wm > .img {
position: relative;
overflow: hidden;
width: 100%;
}
.wm > .img img {
width: 100%;
height: auto;
display: block;
}
.wm-layer {
position: absolute;
inset: 0;
pointer-events: none;
}
/* === MARKER PINS === */
.wm-pin {
position: absolute;
transform: translate(-50%, -50%);
width: 18px;
height: 18px;
background: radial-gradient(circle, #ff8c00, #5a2200);
border: 2px solid #ffbf7f;
border-radius: 999px;
box-shadow: 0 0 8px #ff9900;
cursor: pointer;
pointer-events: auto;
z-index: 4;
}
.wm-pin:hover {
z-index: 98;
}
/* === TOOLTIP PANEL === */
.wm-pin .box {
position: absolute;
top: 100%;
left: 50%;
transform: translate(-50%, -15px) scale(0.85);
width: 0;
height: 0;
opacity: 0;
overflow: hidden;
transition:
width 0.35s ease,
height 0.35s ease,
transform 0.35s ease,
opacity 0.25s ease;
z-index: 99;
pointer-events: none;
}
.wm-pin:hover .box,
.wm-pin:focus .box {
width: 380px;
height: auto;
opacity: 1;
transform: translate(-50%, -105%) scale(1);
overflow: visible;
pointer-events: auto;
}
/* === CARD BODY === */
.wm-pin .box .content {
background: rgba(26, 26, 26, 0.9);
border: 1px double #ed6912;
border-radius: 8px;
box-shadow: 10px 10px 20px #000;
padding: 12px 14px;
color: #eee;
font-size: 13px;
font-family: ui-sans-serif, system-ui, sans-serif;
line-height: 1.45;
}
/* === TITLE LINE === */
.wm-pin .box .content .title {
font-family: 'AngerStyles', serif;
font-size: 1.8em;
color: #ed6912;
margin-bottom: 6px;
}
/* === LEVEL BOX + TAG === */
.wm-pin .box .content .level-box {
height: 80%;
display: flex;
align-items: center;
margin-bottom: 6px;
}
.wm-pin .box .content .level {
font-size: 11px;
color: #ffaa66;
font-weight: bold;
letter-spacing: 0.5px;
display: inline;
margin: 0;
padding: 0;
line-height: 1;
}
/* === PARAGRAPH === */
.wm-pin .box .content .desc {
color: #e4d6c8;
font-size: 12.5px;
line-height: 1.4;
}
/* === GROUP TOGGLE BUTTONS === */
.wm-controls {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
margin: 10px 0 5px 10px;
padding: 0;
width: 100%;
font-size: 0;
}
.wm-controls .wmbtn {
flex: 0 0 25%;
text-align: center;
height: 60px;
font-family: 'AngerStyles', serif;
font-size: 20px;
padding: 20px 0;
box-sizing: border-box;
border-radius: 1;
background: #1a1a1a;
text-shadow: none;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
border: 1px solid;
margin: 0;
}
/* === COLOR THEMES === */
.wm-controls .wmbtn[data-group="group1"] {
border-color: #77ff77;
color: #77ff77;
}
.wm-controls .wmbtn[data-group="group2"] {
border-color: #ffff66;
color: #ffff66;
}
.wm-controls .wmbtn[data-group="group3"] {
border-color: #ffbb55;
color: #ffbb55;
}
.wm-controls .wmbtn[data-group="group4"] {
border-color: #ff6666;
color: #ff6666;
}
.wm-controls .wmbtn:hover {
background: #2a2a2a;
}
.wm-controls .wmbtn.active[data-group="group1"] {
background: #77ff77;
color: #1a1a1a;
}
.wm-controls .wmbtn.active[data-group="group2"] {
background: #ffff66;
color: #1a1a1a;
}
.wm-controls .wmbtn.active[data-group="group3"] {
background: #ffbb55;
color: #1a1a1a;
}
.wm-controls .wmbtn.active[data-group="group4"] {
background: #ff6666;
color: #1a1a1a;
}
/* === PIN VISIBILITY === */
.wm .wm-pin {
display: none;
}
.wm.wm-pin-showgroup1 .wm-pin.group1,
.wm.wm-pin-showgroup2 .wm-pin.group2,
.wm.wm-pin-showgroup3 .wm-pin.group3,
.wm.wm-pin-showgroup4 .wm-pin.group4 {
display: block;
}
.wm-filter {
position: absolute;
top: 0;
left: -240px;
width: 220px;
background: #1a1a1a;
border: 1px solid #ed6912;
padding: 12px;
font-family: ui-sans-serif, system-ui, sans-serif;
color: #ffaa66;
font-size: 14px;
}
.wm-filter label {
display: block;
margin-bottom: 6px;
}
.wm-filter input[type="range"] {
width: 100%;
}