|
|
| Line 7: |
Line 7: |
| } | | } |
|
| |
|
| | | /* give some padding to the infobox field names on mobile */ |
| /* Old Infobox template style - NOT WORKING on Mobile*/ | | table.infobox tr td:nth-child(1) { |
| .infobox { | | padding: 5px!important; |
| border: 1px solid #020202;
| | padding-left: 10px!important; |
| background-color: #f9f9f9;
| | padding-right: 10px!important; |
| color: black;
| |
| margin-bottom: 0.1em!important;
| |
| margin-left: 1em;
| |
| padding: 0.2em;
| |
| float: right;
| |
| clear: right;
| |
| }
| |
| .infobox td,
| |
| .infobox th,
| |
| .infobox tr,
| |
| .infobox tbody {
| |
| vertical-align: top;
| |
| }
| |
| .content .infobox tbody > tr > td, .content .infobox tbody > tr > th{
| |
| flex: inherit!important;
| |
| border-bottom:none!important;
| |
| }
| |
| | |
| .infobox tr th{
| |
| text-align:center!important;
| |
| }
| |
| | |
| | |
| .infobox tbody > tr {
| |
| border-bottom:1px solid #eaecf0!important;
| |
| }
| |
| .infobox caption {
| |
| font-size: larger;
| |
| margin-left: inherit;
| |
| }
| |
| .infobox.bordered {
| |
| border-collapse: collapse;
| |
| }
| |
| .infobox.bordered td,
| |
| .infobox.bordered th {
| |
| border: 1px solid #020202;
| |
| }
| |
| .infobox.bordered .borderless td,
| |
| .infobox.bordered .borderless th {
| |
| border: 0;
| |
| } | | } |
|
| |
|