Skip to content

Commit

Permalink
adicionado apelido
Browse files Browse the repository at this point in the history
  • Loading branch information
saadbruno committed Aug 20, 2024
1 parent f9cb21f commit 749fd34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ function printListaImpressao(sortedData) {
<div class='col-4 dados_principais'>
<div class='nome'>${atleta['Nome completo']}</div>
<div class='apelido'>${atleta['apelido'] || ""}</div>
<div class='idade'>${calculateAge(atleta['Data de nascimento'])} anos</div>
<div class='separador'></div>
<div class='stance'><img class='icone' src='img/stance.svg'>${atleta['stance']}</div>
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
/* width: 100%; */
}

.apelido {
font-style: italic;
}

.atleta:nth-child(even) {
background: #f0f0f0;
}
Expand Down

0 comments on commit 749fd34

Please sign in to comment.