mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
98 lines
1.7 KiB
CSS
98 lines
1.7 KiB
CSS
/*Configure the tab buttons*/
|
|
.sheet-character,
|
|
.sheet-config,
|
|
.sheet-journal {
|
|
display: none;
|
|
}
|
|
|
|
/* show the selected tab */
|
|
.sheet-tabstoggle[value="character"] ~ div.sheet-character,
|
|
.sheet-tabstoggle[value="configuration"] ~ div.sheet-config,
|
|
.sheet-tabstoggle[value="journal"] ~ div.sheet-journal {
|
|
display: block;
|
|
}
|
|
|
|
|
|
img {
|
|
max-height: 100px;
|
|
}
|
|
|
|
/* Background */
|
|
.charsheet {
|
|
background-image: url(https://github.com/Roll20/roll20-character-sheets/blob/master/Kalymba/Background.jpg?raw=true); /*black space with tiny white stars*/
|
|
color: Black;
|
|
}
|
|
|
|
/* Set the min-width so that when the window is resized the look will stay consistant */
|
|
|
|
.charsheet {
|
|
background-color: #ddd;
|
|
min-width: 800px;
|
|
}
|
|
|
|
/* Universal styling applied to all elements of these types */
|
|
|
|
h2 {
|
|
font-size: 2em;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
label {
|
|
display: inline-block;
|
|
width: 31%;
|
|
}
|
|
|
|
input {
|
|
display: inline-block;
|
|
width: 165px;
|
|
}
|
|
|
|
img {
|
|
max-height: 100px;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/* Targetted styling that only effects elements with these classes */
|
|
input.sheet-short {
|
|
width: 17%;
|
|
}
|
|
|
|
select.sheet-dtype {
|
|
vertical-align: top;
|
|
width: 60px;
|
|
}
|
|
span.sheet-dee {
|
|
font-size: 1.4em;
|
|
font-weight: bold;
|
|
left: -36%;
|
|
padding-right: 4px;
|
|
position: relative;
|
|
top: 3px;
|
|
}
|
|
|
|
/* Targetted styling that only effects elements contained within the stated class */
|
|
.sheet-stats h3 {
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
|
|
.sheet-stats h3:first-child {
|
|
margin-left: 35%;
|
|
margin-right: 15%;
|
|
}
|
|
|
|
.sheet-stats input {
|
|
margin-right: 8%;
|
|
width: 17%;
|
|
}
|
|
|
|
.sheet-grid-section {
|
|
display: grid;
|
|
grid-template-columns: 600px 300px;
|
|
grid-template-rows: 150px 150px 150px;
|
|
}
|