More actions
Admornstein (talk | contribs) No edit summary |
Admornstein (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
@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 { | .wm { | ||
position: relative; | position: relative; | ||
| Line 6: | Line 14: | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
.wm > .img img { | .wm > .img img { | ||
width: 100%; | width: 100%; | ||
| Line 12: | Line 19: | ||
display: block; | display: block; | ||
} | } | ||
.wm-layer { | .wm-layer { | ||
position: absolute; | position: absolute; | ||
| Line 19: | Line 25: | ||
} | } | ||
/* === MARKER PINS === */ | |||
.wm-pin { | .wm-pin { | ||
position: absolute; | position: absolute; | ||
transform: translate(-50%, -50%); | transform: translate(-50%, -50%); | ||
width: | width: 18px; | ||
height: | height: 18px; | ||
background: radial-gradient(circle, # | background: radial-gradient(circle, #ff8c00, #5a2200); | ||
border: 2px solid # | border: 2px solid #ffbf7f; | ||
border-radius: | border-radius: 999px; | ||
box-shadow: 0 0 8px # | box-shadow: 0 0 8px #ff9900; | ||
cursor: pointer; | cursor: pointer; | ||
pointer-events: auto; | pointer-events: auto; | ||
z-index: 4; | |||
} | } | ||
/* === TOOLTIP PANEL === */ | |||
.wm-pin .box { | .wm-pin .box { | ||
position: absolute; | position: absolute; | ||
left: 50%; | left: 50%; | ||
top: | top: -5px; | ||
transform: translate(-50%, - | transform: translate(-50%, -100%) scale(0.85); | ||
width: 0; | |||
height: 0; | |||
overflow: hidden; | |||
opacity: 0; | opacity: 0; | ||
transition: width 0.4s ease, height 0.4s ease, transform 0.4s ease, opacity 0.3s ease; | |||
z-index: 10; | z-index: 10; | ||
clip-path: inset(0px -500px 0px 0px); /* horizontal overflow allowed */ | |||
} | |||
.wm-pin:hover .box, | |||
.wm-pin:focus .box { | |||
width: 320px; | |||
height: auto; | |||
opacity: 1; | |||
transform: translate(-50%, -115%) scale(1); | |||
overflow: visible; | overflow: visible; | ||
pointer-events: auto; | |||
} | } | ||
.wm-pin .box | /* === 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; | |||
} | } | ||
.wm-pin .box | /* === TITLE LINE === */ | ||
font- | .wm-pin .box .content .title { | ||
font- | font-family: 'AngerStyles', serif; | ||
font-size: 1.8em; | |||
margin-bottom: | color: #ed6912; | ||
margin-bottom: 6px; | |||
} | } | ||
.wm-pin .box | /* === LEVEL TAG === */ | ||
.wm-pin .box .content .level { | |||
font-size: 11px; | font-size: 11px; | ||
font- | color: #ffaa66; | ||
font-weight: bold; | |||
letter-spacing: 0.5px; | |||
margin-bottom: 6px; | |||
display: block; | display: block; | ||
} | } | ||
.wm-pin .box | /* === PARAGRAPH === */ | ||
.wm-pin .box .content .desc { | |||
font-size: | color: #e4d6c8; | ||
font-size: 12.5px; | |||
line-height: 1.4; | line-height: 1.4; | ||
} | } | ||
Revision as of 14:52, 22 August 2025
@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%;
top: -5px;
transform: translate(-50%, -100%) scale(0.85);
width: 0;
height: 0;
overflow: hidden;
opacity: 0;
transition: width 0.4s ease, height 0.4s ease, transform 0.4s ease, opacity 0.3s ease;
z-index: 10;
clip-path: inset(0px -500px 0px 0px); /* horizontal overflow allowed */
}
.wm-pin:hover .box,
.wm-pin:focus .box {
width: 320px;
height: auto;
opacity: 1;
transform: translate(-50%, -115%) scale(1);
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;
}