Skip to content

Commit

Permalink
Merge pull request #13182 from jarbascjunior2/master
Browse files Browse the repository at this point in the history
aventuras na era hiboriana
  • Loading branch information
BronsonHall committed Aug 8, 2024
2 parents c446c0d + b49271d commit 126441d
Show file tree
Hide file tree
Showing 4 changed files with 266 additions and 0 deletions.
178 changes: 178 additions & 0 deletions Solo10 Aventuras na era hiboriana/aeh.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
@import url('https://fonts.googleapis.com/css2?family=Cinzel&display=swap');

.character-sheet {
font-family: 'Cinzel', serif;
background-color: #f2e5d4;
margin: 0;
padding: 20px;
color: #000;
border: 2px solid #8b0000;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
width: 900px;
max-width: 100%;
box-sizing: border-box;
}

.character-sheet img {
max-width: 100%;
height: auto;
margin-bottom: 20px;
}

.character-info {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}

.input-with-text-below {
display: flex;
flex-direction: column;
align-items: center;
width: 30%;
}

.input-with-text-below input {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #8b0000;
border-radius: 5px;
background-color: #fff;
color: #000;
font-size: 16px;
text-align: center;
}

.input-with-text-below span {
color: #8b0000;
font-size: 18px;
font-weight: bold;
}

.xp-container {
display: flex;
align-items: center;
color: #8b0000;
margin-top: 10px;
}

.xp-container label, .attribute-split label, .attribute-split span {
margin-right: 5px;
color: #000;
font-size: 18px;
font-weight: bold;
}

.xp-container input {
width: 50px;
padding: 5px;
margin: 0 5px;
border: 1px solid #8b0000;
border-radius: 5px;
background-color: #fff;
color: #000;
text-align: center;
font-size: 16px;
}

.columns {
display: flex;
justify-content: space-between;
}

.column {
width: 48%;
}

h2 {
margin-top: 0;
color: #8b0000;
font-size: 24px;
text-align: center;
background-color: #f2e5d4;
padding: 5px 0;
border-bottom: 2px solid #8b0000;
}

textarea, input[type="text"], input[type="number"] {
width: calc(100% - 20px);
padding: 10px;
margin: 10px 0;
border: 1px solid #8b0000;
border-radius: 5px;
background-color: #fff;
color: #000;
font-size: 18px;
font-weight: bold;
resize: both; /* Permite redimensionamento */
overflow: auto;
}

textarea {
min-height: 80px;
max-height: 200px;
}

.attribute-split {
display: flex;
align-items: center;
justify-content: space-between;
}

.attribute-split input {
width: 50px;
margin: 0 5px;
padding: 5px;
border: 1px solid #8b0000;
border-radius: 5px;
background-color: #fff;
color: #000;
font-size: 16px;
text-align: center;
}

.button-title-attribute {
width: calc(100% - 20px);
padding: 15px;
background-color: #f2e5d4;
color: #8b0000;
border: 2px solid #8b0000;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
font-size: 18px;
text-align: center;
margin: 10px 0;
transition: background-color 0.3s;
}

.button-title-attribute:hover {
background-color: #e6d3c3;
}

.attribute {
display: flex;
align-items: center;
justify-content: space-between;
}

.fake-mod {
width: 50px;
padding: 10px;
margin-top: 10px;
border: 1px solid #8b0000;
border-radius: 5px;
background-color: #fff;
color: #000;
font-size: 18px;
font-weight: bold;
text-align: center;
}

.label {
color: #8b0000;
font-size: 18px;
font-weight: bold;
}
80 changes: 80 additions & 0 deletions Solo10 Aventuras na era hiboriana/aeh.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<div class="character-sheet">
<div name="header" style="text-align: center;">
<img src="https://drive.usercontent.google.com/download?id=1Sb8mRtNhosEfV5_7UA8_ObCBc17fFM5b&export=download&authuser=0" alt="Logo As Aventuras da Era Hiboriana"/>
</div>
<form>
<div class="character-info">
<div class="input-with-text-below char-name">
<span>Personagem</span>
<input name="attr_character_name" type="text" spellcheck="false" value="">
</div>
<div class="input-with-text-below char-player">
<span>Jogador</span>
<input name="attr_player_name" type="text" spellcheck="false" value="">
</div>
<div class="xp-container">
<label for="attr_xp_current">XP:</label>
<input type="number" id="attr_xp_current" name="attr_xp_current" min="0" value="0">
<span>/</span>
<input type="number" id="attr_xp_total" name="attr_xp_total" min="0" value="0">
</div>
</div>
<div class="columns">
<div class="column">
<h2>Atributos</h2>
<div class="attribute">
<button type="roll" name="roll_corpo" value="{{title=**@{character_name}**}}{{Teste de Corpo: [[?{Modo de Rolagem|Normal,1d10|Vantagem,2d10kh1|Desvantagem,2d10kl1} + @{corpo}]]}}" class="button-title-attribute">Corpo</button>
<input name="attr_corpo" type="number" spellcheck="false" maxlength="2" class="fake-mod" title="@{corpo}" value="0">
</div>
<div class="attribute-split">
<label for="attr_health">Saúde:</label>
<input type="number" id="attr_health_current" name="attr_health_current" min="0" value="0">
<span>/</span>
<input type="number" id="attr_health_max" name="attr_health_max" min="0" value="0">
</div>
<div class="attribute-split">
<label for="attr_hunger">Fome:</label>
<input type="number" id="attr_hunger_current" name="attr_hunger_current" min="0" value="0">
<span>/</span>
<input type="number" id="attr_hunger_max" name="attr_hunger_max" min="0" value="0">
</div>
<div class="attribute">
<button type="roll" name="roll_espirito" value="{{title=**@{character_name}**}}{{Teste de Espírito: [[?{Modo de Rolagem|Normal,1d10|Vantagem,2d10kh1|Desvantagem,2d10kl1} + @{espírito}]]}}" class="button-title-attribute">Espírito</button>
<input name="attr_espírito" type="number" spellcheck="false" maxlength="2" class="fake-mod" title="@{espírito}" value="0">
</div>
<div class="attribute-split">
<label for="attr_posture">Postura:</label>
<input type="number" id="attr_posture_current" name="attr_posture_current" min="0" value="0">
<span>/</span>
<input type="number" id="attr_posture_max" name="attr_posture_max" min="0" value="0">
</div>
<div class="attribute">
<button type="roll" name="roll_mente" value="{{title=**@{character_name}**}}{{Teste de Mente: [[?{Modo de Rolagem|Normal,1d10|Vantagem,2d10kh1|Desvantagem,2d10kl1} + @{mente}]]}}" class="button-title-attribute">Mente</button>
<input name="attr_mente" type="number" spellcheck="false" maxlength="2" class="fake-mod" title="@{mente}" value="0">
</div>
<div class="attribute-split">
<label for="attr_will">Vontade:</label>
<input type="number" id="attr_will_current" name="attr_will_current" min="0" value="0">
<span>/</span>
<input type="number" id="attr_will_max" name="attr_will_max" min="0" value="0">
</div>
<div class="attribute-split">
<label for="attr_madness">Loucura:</label>
<input type="number" id="attr_madness_current" name="attr_madness_current" min="0" value="0">
<span>/</span>
<input type="number" id="attr_madness_max" name="attr_madness_max" min="0" value="0">
</div>
<h2>Feitiços</h2>
<textarea id="spells" name="attr_spells" rows="5" style="text-align: left;"></textarea>
</div>
<div class="column">
<h2>Perícias</h2>
<textarea id="skills" name="attr_skills" rows="5" style="text-align: left;"></textarea>
<h2>Qualidades</h2>
<textarea id="qualities" name="attr_qualities" rows="5" style="text-align: left;"></textarea>
<h2>Pertences</h2>
<textarea id="belongings" name="attr_belongings" rows="5" style="text-align: left;"></textarea>
</div>
</div>
</form>
</div>
Binary file added Solo10 Aventuras na era hiboriana/aeh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions Solo10 Aventuras na era hiboriana/sheet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"html": "aeh.html",
"css": "aeh.css",
"authors": "jarbascjunior",
"roll20userid": "Jarbits",
"preview": "aeh.png",
"instructions": "Ficha de personagem de aventuras na era hiboriana by 101 games."
}

0 comments on commit 126441d

Please sign in to comment.