Files
roll20-character-sheets-tester/Chronica Feudalis/feudalis-styles.css
T
2022-11-15 18:44:26 +01:00

462 lines
9.2 KiB
CSS

/* LAYOUT */
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&display=swap');
:root {
--feudalis-red: #a43d3c;
--feudalis-blue: #3c4762;
--feudalis-white: #fefefe;
--feudalis-green: #325835;
}
.sheet_feudalis {
background: linear-gradient(to right, rgba(238,233,218,0) 20%, rgba(238,233,218,0.5) 40%, rgba(238,233,218,0.5) 100%), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronica%20Feudalis/medium-bg.jpg') repeat-y;
width: 100%;
padding: 0rem 5rem 4rem 20%;
box-sizing: border-box;
font-family: Georgia, 'Times New Roman', Times, serif;
}
h2, h3 {
text-align: center;
font-family: 'Pirata One', cursive;
color: var(--feudalis-blue);
}
h2 {
font-size: 38px;
border-bottom: 4px solid var(--feudalis-blue);
border-bottom-style: double;
margin: 3rem 0;
}
h2::first-letter {
font-size: 42px;
color: var(--feudalis-red);
}
h3 {
margin: 1rem 0 1rem 0;
font-size: 28px;
border-top: 4px solid var(--feudalis-blue);
border-bottom: 4px solid var(--feudalis-blue);
border-top-style: double;
border-bottom-style: double;
padding: 2rem 0;
}
label {
color: var(--feudalis-blue);
}
textarea {
resize: vertical;
}
/* TABS */
/*Configure the tab buttons*/
.charsheet .sheet_skills,
.charsheet .sheet_traits,
.charsheet .sheet_journal {
display: none;
}
/* show the selected tab */
.charsheet .sheet-tabstoggle[value="skills"] ~ section.sheet_skills,
.charsheet .sheet-tabstoggle[value="traits"] ~ section.sheet_traits,
.charsheet .sheet-tabstoggle[value="journal"] ~ section.sheet_journal {
display: block;
}
.sheet_tabs {
margin: 2rem 0;
}
.sheet_tabs button {
padding: 1rem 2rem;
border-radius: 10px 0 10px 0;
font-size: 16px;
background-image: none;
background-color: var(--feudalis-blue);
color: var(--feudalis-white);
border: none;
text-shadow: none;
font-family: 'Pirata One', cursive;
}
.sheet_tabs button:hover {
background-image: none;
background-color: var(--feudalis-red);
color: var(--feudalis-white);
border: none;
}
/* SHEET HEADER */
.sheet-header {
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronica%20Feudalis/scroll-wide.png");
background-repeat: no-repeat;
background-size: 600px 220px;
height: 200px;
background-position: 60% 0%;
padding: 5rem 2px 0rem 5rem;
}
.sheet-columns {
display: flex;
}
.column-1 {
width: calc(25% - 21px);
margin-right: 30px;
}
.character_info {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
width: 90%;
}
.character_name {
flex-basis: 100%;
display: flex;
align-items: flex-end;
}
.character_name label, .character_mentors label {
width: 20%;
margin: 0;
}
.character_name input[type="text"] {
width: 100%;
background-color: transparent;
border: 0px;
border-bottom: 2px dotted black;
font-size: 30px;
font-weight: bolder;
font-family: 'Pirata One';
color: var(--feudalis-red);
}
.character_mentors {
display: flex;
flex-direction: row;
margin-top: 1rem;
width: 100%;
}
#mentors {
width: 100% !important;
height: 50px;
background-color: transparent;
border: 2px dotted black;
resize: none;
}
.avatar {
position: relative;
}
.avatarimage {
height: 100px;
width: 100px;
border: 1px lightgrey solid;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
box-shadow: 4px 4px 4px #53515166;
margin-left: 20px;
margin-top: 10px;
}
/* CHARACTER POINTS */
.aside {
position: absolute;
left: 4%;
top: 40%;
z-index: 1000;
}
.character_points {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
width: fit-content;
}
.character_points input[type="number"] {
font-size: 48px;
font-family: 'Pirata One';
width: 45px !important;
height: 45px;
text-align: center;
background-color: transparent;
color: var(--feudalis-white);
border: none;
padding: 1rem;
margin: 0px 0px 20px 28px;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
}
.character_points label {
text-align: center;
padding: 0;
color: var(--feudalis-white);
font-size: 20px;
transform: translateY(580%);
font-family: 'Pirata One';
}
.vigor, .ardor {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronica%20Feudalis/MAE-FRAME2.png');
width: 100px;
height: 100px;
margin-bottom: 3rem;
}
/* DICEPOOL */
.sheet-dicepool {
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: .8rem;
background-color: rgba(238,233,218);
border: 4px solid var(--feudalis-blue);
border-style: double;
}
.sheet-dicepool h2 {
flex-basis: 100%;
}
.dicepool-item {
display: flex;
flex-direction: row;
align-items: center;
padding: .2rem;
margin-left: .2rem;
}
.dicepool-item label {
margin: 0;
padding:.3rem;
}
.dicepool-item input[type="number"] {
background-color: transparent;
border-radius: 10px;
border: 2px solid var(--feudalis-red);
border-style: double;
font-size:14px;
text-align: center;
font-weight: 400;
}
.dicepool-action {
padding-top: 1rem;
}
button.dicepool-roll {
height: 30px;
width: 30px;
text-align: center;
font-size: 20px;
background-color: var(--feudalis-blue);
border: 2px solid var(--feudalis-blue);
background-image: none;
color: var(--feudalis-white);
text-shadow: none;
}
button.dicepool-roll:hover {
background-image: none;
background-color: var(--feudalis-blue);
border: 2px solid var(--feudalis-white);
color: var(--feudalis-white);
}
button.dicepool-gmroll:hover {
background-image: none;
background-color: var(--feudalis-red);
border: 2px solid var(--feudalis-white);
}
button.dicepool-gmroll {
background-color: var(--feudalis-red);
border: 2px solid var(--feudalis-red);
}
button.dicepool-clear {
width: 80px;
height: 40px;
font-size: 14px;
border-radius: 4px;
font-weight: 300;
padding: 2px 3px;
box-sizing: border-box;
}
/* COMPÉTENCES */
.skills-container {
margin: .5rem 0;
}
.skill-item label {
width: 75%;
}
.skill-item, .trait-item {
display: flex;
justify-content: space-between;
}
.dropdown, .trait-item .dropdown {
width: 70px;
height : 30px;
margin: 0 .2rem;
justify-self: flex-end;
}
/* TRAITS */
.trait-item input[type="text"], .sheet_journal input[type="text"] {
width: 75%;
height: 30px;
margin-right: .2rem;
background-color: transparent;
border: none;
border-bottom : 2px solid var(--feudalis-red);
font-weight: bold;
margin-bottom: .5rem;
}
.background input {
width: 100% !important;
}
/* JOURNAL */
.sheet_journal h3 {
margin-bottom: 2rem;
}
.sheet_journal label {
font-size: 28px;
font-family: 'Pirata One', cursive;
margin-top: 2rem;
}
.contacts {
display: flex;
}
.sheet_journal input[type="text"] {
width: 40% !important;
}
textarea.sheet-short-textarea {
height: 40px;
width: 60%;
}
/* ROLL TEMPLATE */
.sheet-rolltemplate-feudalis .sheet-rolltemplate-feudalis-center {
text-align: center;
}
.sheet-rolltemplate-feudalis .sheet-rolltemplate-feudalis-background {
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255,255,255,0.6) 100%), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronica%20Feudalis/rolltemplate-bg.jpg');
background-position: top left;
background-repeat: no-repeat;
border-spacing: 0;
max-height: 200px;
max-width: 250px;
margin: 0px;
padding-bottom: 20px;
padding-top: 20px;
border-radius: 20px 0 20px 0;
}
.sheet-rolltemplate-feudalis .sheet-rolltemplate-feudalis-header {
color: #3c4762;
font-size: 38px;
font-family: 'Pirata One';
margin-top: 1rem;
}
.sheet-rolltemplate-feudalis .sheet-rolltemplate-feudalis-header::first-letter {
color: #a43d3c;
font-size: 48px;
font-family: 'Pirata One';
margin-top: .5rem;
}
.sheet-rolltemplate-feudalis .sheet-rolltemplate-feudalis-header img {
display: block;
height: 10px;
width: 250px;
margin-top: 2rem;
}
.sheet-rolltemplate-feudalis .sheet-rolltemplate-feudalis-subheader {
background-color: transparent;
color: #a43d3c;
font-size: 28px;
font-family: 'Pirata One';
padding: 15px;
}
.sheet-rolltemplate-feudalis .sheet-rolltemplate-feudalis-subheader::first-letter {
color: #3c4762;
font-size: 38px;
}
.sheet-rolltemplate-feudalis .sheet-template-feudalis-result {
font-size: 48px;
font-family: 'Pirata One';
padding: 15px;
color: #a43d3c;
}
.sheet-rolltemplate-feudalis .sheet-template-feudalis-succeeds {
color: #148c00;
}
.sheet-rolltemplate-feudalis .sheet-template-feudalis-misses {
color: #a90000;
}
.sheet-rolltemplate-feudalis .inlinerollresult {
background-color: transparent;
border: none;
}
.sheet-rolltemplate-feudalis .inlinerollresult.fullcrit {
border: none;
}
.sheet-rolltemplate-feudalis .inlinerollresult.fullfail {
border: none;
}
.sheet-rolltemplate-feudalis .inlinerollresult.importantroll {
border: none;
}