CSS / STYLING HTML CODE
THIS CODE IS USED PRIOR TO ADDING ANY OTHER SUPPLEMENT FACT PANEL CODE
<style>
@charset "UTF-8";
.image {
width: 250px;
float: left;
margin: 20px;
}
.secondary-body {
font-size: small;
line-height: 1.4;
}
p {
margin: 0;
}
.performance-facts {
border: 0px solid black;
float: left;
width: 33%;
padding: 0.5rem;
}
.performance-facts table {
border-collapse: collapse;
}
.performance-facts__title {
font-weight: bold;
font-size: 2rem;
margin: 0 0 0.25rem 0;
}
.performance-facts__header {
border-bottom: 10px solid black;
padding: 0 0 0.25rem 0;
margin: 0 0 0.5rem 0;
}
.performance-facts__header p {
margin: 0;
}
.performance-facts__table,
.performance-facts__table--small,
.performance-facts__table--grid {
width: 100%;
}
.performance-facts__table thead tr th,
.performance-facts__table--small thead tr th,
.performance-facts__table--grid thead tr th,
.performance-facts__table thead tr td,
.performance-facts__table--small thead tr td,
.performance-facts__table--grid thead tr td {
border: 0;
}
.performance-facts__table th,
.performance-facts__table--small th,
.performance-facts__table--grid th,
.performance-facts__table td,
.performance-facts__table--small td,
.performance-facts__table--grid td {
font-weight: normal;
text-align: left;
padding: 0.25rem 0;
border-top: 1px solid black;
}
.performance-facts__table td:last-child,
.performance-facts__table--small td:last-child,
.performance-facts__table--grid td:last-child {
text-align: right;
}
.performance-facts__table .blank-cell,
.performance-facts__table--small .blank-cell,
.performance-facts__table--grid .blank-cell {
width: 1rem;
border-top: 0;
}
.performance-facts__table .thick-row th,
.performance-facts__table--small .thick-row th,
.performance-facts__table--grid .thick-row th,
.performance-facts__table .thick-row td,
.performance-facts__table--small .thick-row td,
.performance-facts__table--grid .thick-row td {
border-top-width: 5px;
}
.small-info {
font-size: 1rem;
}
.performance-facts__table--small {
border-bottom: 1px solid #999;
margin: 0 0 0.5rem 0;
}
.performance-facts__table--small thead tr {
border-bottom: 1px solid black;
}
.performance-facts__table--small td:last-child {
text-align: left;
}
.performance-facts__table--small th,
.performance-facts__table--small td {
border: 0;
padding: 0;
}
.performance-facts__table--grid {
margin: 0 0 0.5rem 0;
}
.performance-facts__table--grid td:last-child {
text-align: left;
}
.performance-facts__table--grid td:last-child::before {
content: "•";
font-weight: bold;
margin: 0 0.25rem 0 0;
}
.text-center {
text-align: center;
}
.thick-end {
border-bottom: 10px solid black;
}
.thin-end {
border-bottom: 1px solid black;
}
.no-end {
border-bottom: 0px;
}
@media only screen and (max-width: 1024px) {
.performance-facts {
border: 0px solid black;
float: left;
width: 50%;
padding: 0.5rem;
}
}
@media only screen and (max-width: 768px) {
.performance-facts {
border: 0px solid black;
float: left;
width: 100%;
padding: 0.5rem;
}
}
</style>