Template:WorldCard: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div style="max-width: 850px; margin: 20px auto; background: #fcfaf2; border: 2px solid #d4c5a1; box-shadow: 5px 5px 15px rgba(0,0,0,0.1); position: relative; overflow: | <div style="max-width: 850px; margin: 20px auto; background: #fcfaf2; border: 2px solid #d4c5a1; box-shadow: 5px 5px 15px rgba(0,0,0,0.1); position: relative; overflow: hidden; font-family: 'Cinzel', serif;"> | ||
<div style="height: 350px; background-image: url('{{{image|}}}'); background-size: cover; background-position: center | <div style="height: 350px; background-image: url('{{{image|}}}'); background-size: cover; background-position: center; position: relative;"> | ||
<div style="height: | <div style="height: 101%; width: 100%; background: linear-gradient(to top, rgba(252, 250, 242, 1) 0%, rgba(252, 250, 242, 0) 60%); position: absolute; bottom: 0;"></div> | ||
</div> | </div> | ||
<div style="padding: | <div style="padding: 20px 40px; margin-top: -80px; position: relative; z-index: 5;"> | ||
<h1 style="color: var(--kh-dark-text); font-size: 3.5em; margin: 0; line-height: 1. | <h1 style="color: var(--kh-dark-text); font-size: 3.5em; margin: 0; line-height: 1.2; text-shadow: 2px 2px 0px #fff;">{{{name|Unknown World}}}</h1> | ||
<div style="color: var(--kh-green); font-style: italic; font-size: 1.3em; font-family: 'Crimson Pro', serif; margin-bottom: 20px;"> | <div style="color: var(--kh-green); font-style: italic; font-size: 1.3em; font-family: 'Crimson Pro', serif; margin-bottom: 20px;"> | ||
"{{{tagline|A world hidden among the stars}}}" | "{{{tagline|A world hidden among the stars}}}" | ||
| Line 12: | Line 12: | ||
</div> | </div> | ||
<div style="display: flex; gap: 0; border-top: 1px solid #e8e1cf; border-bottom: 1px solid #e8e1cf; background: rgba(212, 197, 161, 0. | <div style="display: flex; gap: 0; border-top: 1px solid #e8e1cf; border-bottom: 1px solid #e8e1cf; background: rgba(212, 197, 161, 0.05);"> | ||
<div style="flex: 1; padding: | <div style="flex: 1; padding: 15px 40px; border-right: 1px solid #e8e1cf;"> | ||
<span style="color: #888; font-size: 0.8em; text-transform: uppercase; display: block;">Battle Level</span> | <span style="color: #888; font-size: 0.8em; text-transform: uppercase; display: block; letter-spacing: 1px;">Battle Level</span> | ||
<span style="font-size: 1.5em; color: var(--kh-dark-text);">{{{level|??}}}</span> | <span style="font-size: 1.5em; color: var(--kh-dark-text);">{{{level|??}}}</span> | ||
</div> | </div> | ||
<div style="flex: 1; padding: | <div style="flex: 1; padding: 15px 40px;"> | ||
<span style="color: #888; font-size: 0.8em; text-transform: uppercase; display: block;">Status</span> | <span style="color: #888; font-size: 0.8em; text-transform: uppercase; display: block; letter-spacing: 1px;">Status</span> | ||
<span style="font-size: 1.5em; color: var(--kh-green);">{{{status|Documented}}}</span> | <span style="font-size: 1.5em; color: var(--kh-green);">{{{status|Documented}}}</span> | ||
</div> | </div> | ||
| Line 27: | Line 27: | ||
{{#if: {{{characters|}}} | | {{#if: {{{characters|}}} | | ||
<div style="margin-top: 25px; padding | <div style="margin-top: 25px; padding: 15px; border: 1px dashed #d4c5a1; background: rgba(255,255,255,0.5);"> | ||
<span style="font-family: 'Cinzel', serif; font-size: 0.7em; color: #888; text-transform: uppercase; letter-spacing: 2px;">Key Residents</span><br/> | <span style="font-family: 'Cinzel', serif; font-size: 0.7em; color: #888; text-transform: uppercase; letter-spacing: 2px;">Key Residents</span><br/> | ||
<span style="font-size: 0.9em; color: var(--kh-green);">{{{characters}}}</span> | <span style="font-size: 0.9em; color: var(--kh-green); font-weight: bold;">{{{characters}}}</span> | ||
</div> | </div> | ||
}} | }} | ||
</div> | </div> | ||
<div style="text-align: right; padding: 0 | <div style="text-align: right; padding: 0 30px 15px 0; opacity: 0.15; font-size: 2.5em; color: var(--kh-green);"> | ||
🍃 | 🍃 | ||
</div> | </div> | ||
</div> | </div> | ||