Difference between revisions of "User:Makanyane/twc.css"
From TWC Wiki
Jump to navigationJump to search (aaargh - why doesn't setting anything at table level work?) |
|||
Line 6: | Line 6: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border-spacing: 0px; | border-spacing: 0px; | ||
− | |||
} | } | ||
Line 12: | Line 11: | ||
text-align: left; | text-align: left; | ||
background-color: rgba(255, 255, 255, 0.2); | background-color: rgba(255, 255, 255, 0.2); | ||
+ | padding: 2px 15px; | ||
} | } | ||
.collapse-custom td { | .collapse-custom td { | ||
background-color: rgba(255, 255, 255, 0.4); | background-color: rgba(255, 255, 255, 0.4); | ||
+ | padding: 2px 15px; | ||
} | } | ||
Revision as of 02:13, 1 April 2020
/* Collapsible elements. Toggle-link moved to left. /* Margin around it adjusted. */ .collapse-custom { width: 100%; border-collapse: collapse; border-spacing: 0px; } .collapse-custom th { text-align: left; background-color: rgba(255, 255, 255, 0.2); padding: 2px 15px; } .collapse-custom td { background-color: rgba(255, 255, 255, 0.4); padding: 2px 15px; } .collapse-custom span.mw-collapsible-toggle { float:left; margin-left:0; margin-right:1em; }