all repos — simplyrpg @ 05a250383b5037effb602fc3ca4d2bb1cdf4da90

Fork of https://github.com/harperd1/simplyRPG — multi-map VTT, token visibility, dark theme, stream HUD

encounterMap.css (view raw)

  1html, body {
  2    height: 100%;
  3    background-color: #16181c;
  4}
  5
  6.playerTopBar {
  7    display: flex;
  8    align-items: center;
  9    justify-content: space-between;
 10    flex-wrap: wrap;
 11    gap: .75rem;
 12    padding: .45rem 1rem;
 13    background-color: #131519;
 14    border-bottom: 1px solid #30363d;
 15}
 16
 17.playerStageLayout {
 18    display: grid;
 19    grid-template-columns: 1fr 340px;
 20    gap: .85rem;
 21    padding: .75rem 1rem;
 22    align-items: start;
 23}
 24
 25@media (max-width: 991px) {
 26    .playerStageLayout {
 27        grid-template-columns: 1fr;
 28    }
 29}
 30
 31#mirroredEncounterMap {
 32    display: flex;
 33    justify-content: center;
 34    align-items: center;
 35    background-color: #101216;
 36    border: 1px solid #30363d;
 37    border-radius: 8px;
 38    padding: .4rem;
 39    min-height: 360px;
 40}
 41
 42#mirroredEncounterMap #canvas {
 43    display: block;
 44    border: 1px dashed #30363d;
 45    border-radius: 4px;
 46}
 47
 48.playerHudSidebar {
 49    display: flex;
 50    flex-direction: column;
 51    gap: .85rem;
 52}
 53
 54.hudPanel {
 55    background-color: #1f2228;
 56    border: 1px solid #30363d;
 57    border-radius: 8px;
 58    padding: .85rem 1rem;
 59    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
 60}
 61
 62.hudPanelTitle {
 63    font-size: .78rem;
 64    font-weight: 700;
 65    letter-spacing: .06em;
 66    text-transform: uppercase;
 67    color: #7d8590;
 68    margin-bottom: .5rem;
 69}
 70
 71.playerHumeValueRow {
 72    display: flex;
 73    align-items: baseline;
 74    justify-content: space-between;
 75    gap: .5rem;
 76    margin-bottom: .45rem;
 77}
 78
 79.playerHumeNumber {
 80    font-size: 1.6rem;
 81    font-weight: 700;
 82    color: #f0f6fc;
 83    line-height: 1.1;
 84}
 85
 86.playerHumeUnit {
 87    font-size: .95rem;
 88    color: #7d8590;
 89    margin-left: .2rem;
 90}
 91
 92.playerNotesBody {
 93    font-size: .96rem;
 94    line-height: 1.5;
 95    color: #e6edf3;
 96    white-space: pre-wrap;
 97    word-break: break-word;
 98    max-height: 46vh;
 99    overflow-y: auto;
100}
101
102.playerNotesEmpty {
103    color: #6e7681;
104    font-style: italic;
105}