Module:Params/doc/examples/tablebox/styles.css
Appearance
table.tablebox {
float: right;
clear: both;
border: 1px solid #eaecf0;
background-color: #f7f8ff;
margin: .25em 0 1em 1em;
padding: .3em .25em;
max-width: 22em;
font-size: .88em;
border-radius: 1em;
box-shadow: 8px 8px 8px rgba(0, 0, 0, .2);
}
table.tablebox caption {
font-weight: bold;
text-align: center;
}
table.tablebox th, table.tablebox td {
margin: 0;
vertical-align: top;
box-sizing: border-box;
}
table.tablebox th {
min-width: 8.8em;
padding: .1em .25em .1em .1em;
text-align: right;
}
table.tablebox td {
min-width: 11em;
padding: .1em .1em .1em .25em;
text-align: left;
}
table.tablebox th:only-child, table.tablebox td:only-child {
text-align: center;
min-width: 0;
}
table.tablebox th:only-child {
background-color: #e6e6fa;
padding: .15em .5em;
}
table.tablebox td:only-child {
padding: .1em;
}
@media (max-width: 768px) {
table.tablebox {
float: none;
margin: .25em auto 1em auto;
}
}