Difference between revisions of "Template:Character Logs"
From Final Kingdom MUSH
Oathkeeper (Talk | contribs) m |
Oathkeeper (Talk | contribs) m |
||
Line 1: | Line 1: | ||
<includeonly>__NOCACHE__ | <includeonly>__NOCACHE__ | ||
{{#css: | {{#css: | ||
− | .LogTable {text-align:left; width:100%; table-layout:fixed;} | + | .LogTable {text-align:left; width:100%; table-layout:fixed; border-radius:5px;} |
− | .LogTable tr th:{padding: 0px 0px 0px 5px;} | + | .LogTable tr th:{padding: 0px 0px 0px 5px; } |
.LogTable tr:nth-child(1) td:nth-child(1) {border-top-left-radius:5px; width: 20%;} | .LogTable tr:nth-child(1) td:nth-child(1) {border-top-left-radius:5px; width: 20%;} | ||
.LogTable tr td:nth-child(2) {width: 10rem;} | .LogTable tr td:nth-child(2) {width: 10rem;} | ||
− | .LogTable tr:nth-child(1) td:nth-child( | + | .LogTable tr:nth-child(1) td:nth-last-child(1) {border-top-right-radius:5px; width: 70%;} |
.LogTable tr:nth-child(2n+2) {background-color: rgba(0,70,70,.2)} | .LogTable tr:nth-child(2n+2) {background-color: rgba(0,70,70,.2)} | ||
.LogTable tr:nth-child(2n+1) {background-color: rgba(0,70,70,.4)} | .LogTable tr:nth-child(2n+1) {background-color: rgba(0,70,70,.4)} | ||
.LogTable td { vertical-align:top; padding: 0px 0px 0px 5px;} | .LogTable td { vertical-align:top; padding: 0px 0px 0px 5px;} | ||
+ | .LogTable tr td:nth-child(odd) { word-wrap:break-word; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-height:1.5em; height:1.5em; display:block;} | ||
.logTable tr:nth-last-child(1) {border-bottom-right-radius: 5px; border-bottom-left-radius: 5px;} | .logTable tr:nth-last-child(1) {border-bottom-right-radius: 5px; border-bottom-left-radius: 5px;} | ||
.LogTable tr:last-of-type td:nth-child(1) {border-bottom-left-radius:5px;} | .LogTable tr:last-of-type td:nth-child(1) {border-bottom-left-radius:5px;} | ||
.LogTable tr:last-of-type td:nth-last-child(1) {border-bottom-right-radius:5px;} | .LogTable tr:last-of-type td:nth-last-child(1) {border-bottom-right-radius:5px;} | ||
− | |||
}} | }} | ||
{| class="LogTable" | {| class="LogTable" |
Revision as of 14:06, 16 October 2012
To include character logs:
{{Character Logs}}
For Cutscenes:
{{Character Logs|Cutscenes}}
For a specific character:
{{Character Logs||Character Name}} {{Character Logs|Cutscenes|Character Name}}