Single post in Site Skins: How-To, and Helpful CSS
Forum Index > PokéFarm > Guides > Site Skins: How-To, and Helpful CSS >
code
[sc=table_wrapper][center][font=monoscope][size=20]Type Race[/size][/font]
[accordion][a-section=Swablu][table]
[tr]
[th=4x1][img]https://i.imgur.com/jGiqWPB.png[/img]
Started/Ended;
9/13/2020-9/19/2020[/th]
[/tr]
[tr]
[th][pkmn=Swablu][/th]
[th][pkmn=Swablu (S)][/th]
[th][pkmn=Swablu (A)][/th]
[th][pkmn=Swablu (M)][/th]
[/tr]
[tr]
[td]896[/td]
[td]1[/td]
[td]N/A[/td]
[td]N/A[/td]
[/tr]
[tr]
[th=4x1]Points: 896[/th]
[/tr]
[/table][/a-section]
[a-section=Vulpix][table]
[tr]
[th=4x1][img]https://i.imgur.com/cUXcvLL.png[/img]
Started/Ended;
10/11/2020-10/18/2020[/th]
[/tr]
[tr]
[th][pkmn=Vulpix][/th]
[th][pkmn=Vulpix (S)][/th]
[th][pkmn=Vulpix (A)][/th]
[th][pkmn=Vulpix (M)][/th]
[/tr]
[tr]
[td]N/A[/td]
[td]N/A[/td]
[td]N/A[/td]
[td]N/A[/td]
[/tr]
[tr]
[th=4x1]Points: 464[/th]
[/tr]
[/table][/a-section][/accordion][/center]
[/sc]
[style]
.table_wrapper {
/* this is basically just what was in your [ css ] tag before */
background-color: #fcdfe4;
border: 2px outset #aa6f73;
border-radius: 16px;
padding: 8px;
font-size: 8pt;
color: #564740;
table {
border-color: #fcdfe4;
margin: 0 auto; /* this centers the table */
td, th {
/* affects both the header cell and body cells */
border-color: #aa6f73;
}
th {
/* affects header cells only */
background: #fcdfe4;
}
td {
/* affects body cells only */
}
}
}
[/style]