From 0f8211f8bb8442ca0b70eab0ab3b8e4cb7a4087d Mon Sep 17 00:00:00 2001 From: dylango1 <89313210+dylango1@users.noreply.github.com> Date: Thu, 2 Jan 2025 17:06:35 -0600 Subject: [PATCH] MegaTraveller Sheet for MegaTraveller (T2, 2nd Ed.). Should also work for Classic Traveller, Cepheus and MGT for the most part. Artists' permission has been obtained to use the images on the sheet and can be forwarded if req. --- MegaTraveller/MT_Roll20_css_31-12-24.css | 180 +++++ MegaTraveller/MT_Roll20_html_31-12-24.html | 673 ++++++++++++++++++ .../Screenshot_MT_Roll20_jpg_31-12-24.jpg | Bin 0 -> 167255 bytes MegaTraveller/sheet.json | 8 + 4 files changed, 861 insertions(+) create mode 100644 MegaTraveller/MT_Roll20_css_31-12-24.css create mode 100644 MegaTraveller/MT_Roll20_html_31-12-24.html create mode 100644 MegaTraveller/Screenshot_MT_Roll20_jpg_31-12-24.jpg create mode 100644 MegaTraveller/sheet.json diff --git a/MegaTraveller/MT_Roll20_css_31-12-24.css b/MegaTraveller/MT_Roll20_css_31-12-24.css new file mode 100644 index 0000000000..3a76cce069 --- /dev/null +++ b/MegaTraveller/MT_Roll20_css_31-12-24.css @@ -0,0 +1,180 @@ +@import url('https://fonts.googleapis.com/css2?family=B612+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Kode+Mono:wght@400..700&display=swap'); + +.charsheet { + background-image: url(https://cdn.pixabay.com/photo/2015/09/29/15/12/stars-964022_960_720.png); /*black space with tiny white stars*/ + background-color: black; + background-repeat: repeat; + color: white; + font-family:'Kode Mono'; +} + +div { + color: white; +} +h1 { + color: white; + text-align: left; +} +h2 { + color: white; + text-align: left; +} +h3 { + color: white; + text-align: left; +} +sheet-2colrow { + color: white; +} +sheet-col { + color: white; +} +sheet-row { + color: white; +} +sheet-label { + color: white; +} +label { + color: white; +} +input { + margin: auto; +} +textarea { + text-align: initial; + outline: none; + overflow: auto; + margin: 0px; + margin-bottom: 0px; + width: 55em; + height: 5em; +} +select { + width:100px; + height: 2.111em; + margin: 0px; + margin-bottom: 0px; + text-align-last: center; +} +button { + margin-bottom: 0px; + margin: 0px; + padding: 10px 24px; +} +th, td { + padding: 0px; +} +hr { + height: 2px; + background-color: red; + border: none; +} +.sheet-rolltemplate-custom { + margin-left: -37px; + font-family: 'Kode Mono', monospace !important; /* Added fallback font */ +} + +.withoutavatars .sheet-rolltemplate-custom { + margin-left: -7px; +} + +/* Container */ +.sheet-rolltemplate-custom .sheet-container { + border: 3px solid black; /* Default border */ + border-color: black; /* Change if needed */ +} + +/* Header Formatting */ +.sheet-rolltemplate-custom .sheet-header { + background-color: red; + text-align: left; + color: white; + padding: 5px; + font-family: 'Kode Mono', monospace; +} + +.sheet-rolltemplate-custom .sheet-title { + background-color: red; + font-size: 1.1em; + color: white; + font-family: 'Kode Mono', monospace; +} + +.sheet-rolltemplate-custom .sheet-subtitle { + background-color: red; + font-size: 0.9em; + color: white; + font-family: 'Kode Mono', monospace; +} + +/* Color Variants */ +.sheet-rolltemplate-custom .sheet-container { + --header-bg-color: black; + --header-text-color: white; +} + +.sheet-rolltemplate-custom .sheet-container.sheet-color-red { + --header-bg-color: #F00; +} + +.sheet-rolltemplate-custom .sheet-container.sheet-color-green { + --header-bg-color: #0F0; + --header-text-color: #000; +} + +/* Content Grid */ +.sheet-rolltemplate-custom .sheet-content { + display: grid; + background: black; + grid-template-columns: auto auto; /* Adjust columns as needed */ + line-height: 1.4em; + font-family: 'Kode Mono', monospace; + color: white; +} + +.sheet-rolltemplate-custom .sheet-content > div { + padding: 5px; + font-weight: bold; + color: white; + font-family: 'Kode Mono', monospace; +} + +/* Left Column */ +.sheet-rolltemplate-custom .sheet-content .sheet-key { + font-weight: bold; + color: white; + padding-right: 10px; + text-align: right; + font-family: 'Kode Mono', monospace; +} + +/* Right Column (Empty Rule for Future Use) */ +/* +.sheet-rolltemplate-custom .sheet-value { +} +*/ + +/* Alternating Row Colors */ +.sheet-rolltemplate-custom .sheet-content :nth-child(4n+3), +.sheet-rolltemplate-custom .sheet-content :nth-child(4n) { + background: black; +} + +/* Description Field */ +.sheet-rolltemplate-custom .sheet-desc { + grid-column: span 2; + padding: 5px; + text-align: center; + color: white; + font-family: 'Kode Mono', monospace; +} + +.sheet-rolltemplate-custom .inlinerollresult { + color: black !important;/* Override any inherited white text */ + background-color: #e4d14c /* Ensure contrast */ + border: 1px solid #ccc; /* Optional: subtle border */ + padding: 2px 4px; + border-radius: 3px; + font-weight: bold; /* Highlight numbers */ +} \ No newline at end of file diff --git a/MegaTraveller/MT_Roll20_html_31-12-24.html b/MegaTraveller/MT_Roll20_html_31-12-24.html new file mode 100644 index 0000000000..80b5172a02 --- /dev/null +++ b/MegaTraveller/MT_Roll20_html_31-12-24.html @@ -0,0 +1,673 @@ + +
+
+
+
+
+