@font-face {
font-family: 'AngerStyles';
src: url('https://cathedralofblades.com/wiki/resources/AngerStyles.woff2') format('woff2'),
url('https://cathedralofblades.com/wiki/resources/AngerStyles.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.wm {
position: relative;
line-height: 0;
isolation: isolate;
max-width: 1200px;
margin: 0 auto;
}
.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;
}
/* === TOOLTIP PANEL === */
.wm-pin .box {
position: absolute;
left: 50%;
bottom: 0; /* attach tooltip at bottom of box, not top */
transform: translate(-50%, 10%) scale(0.85); /* moves it down, so it grows upward */
width: 0;
height: 0;
overflow: hidden;
opacity: 0;
transition:
width 0.35s ease,
height 0.35s ease,
transform 0.35s ease,
opacity 0.25s ease;
z-index: 10;
clip-path: inset(0px -500px 0px 0px);
}
.wm-pin:hover .box,
.wm-pin:focus .box {
width: 320px;
height: auto;
opacity: 1;
transform: translate(-50%, -110%) scale(1); /* now grows upward above the pin */
overflow: visible;
pointer-events: auto;
}
/* === CARD BODY === */
.wm-pin .box .content {
background: #1a1a1a;
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 TAG === */
.wm-pin .box .content .level {
font-size: 11px;
color: #ffaa66;
font-weight: bold;
letter-spacing: 0.5px;
margin-bottom: 6px;
display: block;
}
/* === PARAGRAPH === */
.wm-pin .box .content .desc {
color: #e4d6c8;
font-size: 12.5px;
line-height: 1.4;
}