Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MegaTraveller #13640

Merged
merged 3 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 184 additions & 0 deletions MegaTraveller/MT_Roll20_css_31-12-24.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
@import url('https://fonts.googleapis.com/css2?family=B612+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Kode+Mono:[email protected]&display=swap');

.charsheet {
min-width: 685px;
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: -3.5px;
}
input[type=number] {
text-align:center;
}
input[type=text] {
text-align:left;
}
textarea {
text-align: initial;
outline: none;
overflow: auto;
margin: -3.5px;
margin-bottom: 0px;
width: 55em;
height: 5em;
}
select {
width:80px;
height: 2.111em;
margin: -3.5px;
margin-bottom: 0px;
text-align-last: center;
}
button {
margin-bottom: 0px;
margin: -3.5px;
}

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 */
}
Loading