Teleute
I've finally gotten most of my pages under control but one thing has still been bugging me. Before the Reforge, my tables had transparent backgrounds. Now they all seem to default to alternating rows of white and grey. Has anyone created some CSS to changes this back to transparent across a whole campaign? Alternatively, would someone be willing to assist me?
Comments
@/* RESTORES PREFORGE TABLE FUNCTIONALITY */
#content table {background-color: transparent; border-style: none;}
#content tr:nth-child(even) {background-color: transparent;}@
"I met a traveller from an antique land....."
CotM May 2016: Mysteria: set in Wolfgang Baur’s MIDGARD.
Previous CotM Aug 2012: Shimring: High Level Multiplanar Campaign
Inner Council Member
Maybe @#content table {border-collapse:collapse;}@ would fix it, but I'd have to see what you mean first.
Have a look "here:":https://mysteria.obsidianportal.com/wikis/house-rules
twigs
"I met a traveller from an antique land....."
CotM May 2016: Mysteria: set in Wolfgang Baur’s MIDGARD.
Previous CotM Aug 2012: Shimring: High Level Multiplanar Campaign
Inner Council Member
Could you try: @#content table tr td:last-child {border-right:1px solid black;}@
Thanks very much. That does the trick, alright!
You CSS guys are TRUE WIZARDS!
twigs
"I met a traveller from an antique land....."
CotM May 2016: Mysteria: set in Wolfgang Baur’s MIDGARD.
Previous CotM Aug 2012: Shimring: High Level Multiplanar Campaign
Inner Council Member
"Example Here":https://crimson-skies.obsidianportal.com/wikis/recent-additions
Thanks,
"PhoenixMark":http://www.obsidianportal.com/profile/PhoenixMark
"CRIMSON SKIES":http://www.obsidianportal.com/campaigns/crimson-skies
"COTM June 2012":http://blog.obsidianportal.com/crimson-skies-junes-campaign-of-the-month/
Also "Sactown Blues":http://www.obsidianportal.com/campaigns/sactown-blues and "Shimmering Kingdoms":http://www.obsidianportal.com/campaigns/shimmering-kingdoms
/*TABLE CODE*/
table {background-color: transparent;
border:inherit;}
#content table {background-color: transparent; border-style: none;}
#content tr:nth-child(even) {background-color: transparent}
table td {font-size:20px;}
table {margin:0px auto;}
#content table {border-collapse:collapse;}
Try that PhoenixMark
killervp
"A God...Rebuilt":https://a-god-rebuilt.obsidianportal.com
"OP's COTM April 2012":http://blog.obsidianportal.com/a-god-rebuilt-aprils-cotm/
Here to help anyone- Send me a PM
Just trying to help out.
I added that, didn't change a thing. Must be crap in my HTML.
Unconquered Kingdoms, July 2016 CotM
Note that the !important tag takes precedence over anything without !important.
Unconquered Kingdoms, July 2016 CotM
@
The Pantheon
Diety
Alignment
Favored Weapon
Portfolio
Devotees
[[Rao]]
Good
Rod
Wisdom, Serenity, Magic, Jinn
Rulers, Teachers, Clerics, Wizards
@
Now I put the below code in my CSS, and all I have to do if I want a table is use the pipe character for the cells. So much happier.
Thanks again and again.
@/* TABLE STANDARDS */
table {margin:0px auto;}
#content table{background-color:#white; border-style:solid; border-color:#1e90ff;}
#content tr:nth-of-type(1){background:#1e90ff;}
#content tr:nth-child(even) {background-color:#ddd}
#content table {border-collapse:collapse;}
@
Unconquered Kingdoms, July 2016 CotM
"Old Faith":https://alfaysia.obsidianportal.com/wikis/old-faith
Unconquered Kingdoms, July 2016 CotM