Template:Col-begin/styles.css: Difference between revisions
Jump to navigation
Jump to search
add standard col-break widths |
EnWikiAdmin (talk | contribs) m 1 revision imported |
(No difference)
|
Latest revision as of 08:56, 11 November 2024
/* {{pp-template|small=yes}} */ .col-begin { border-collapse: collapse; padding: 0; color: inherit; /* dark mode friendly if color is set */ width: 100%; border: 0; margin: 0; } .col-begin-small { font-size: 90%; } .col-break { vertical-align: top; text-align: left; } .col-break-2 { width: 50%; } .col-break-3 { width: 33.3%; } .col-break-4 { width: 25%; } .col-break-5 { width: 20%; } @media (max-width: 720px) { /* override potentially set width */ /* wonder if table cells can display: flex with wrapping */ .col-begin, .col-begin > tbody, .col-begin > tbody > tr, .col-begin > tbody > tr > td { display: block !important; width: 100% !important; } .col-break { padding-left: 0 !important; } }