Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<div class="custom-stats">
<xf:widget key="forum_overview_forum_statistics" />
</div>
.custom-stats
{
[data-widget-key="forum_overview_forum_statistics"]
{
.block-container
{
background: none;
border-width: 0;
box-shadow: none;
.block-minorHeader
{
padding: 0;
background: none;
border-width: 0;
box-shadow: none;
font-size: @xf-fontSizeLargest;
@media (max-width: @xf-responsiveMedium) { padding-left: @xf-pageEdgeSpacer; }
}
.block-body
{
display: flex;
flex-wrap: wrap;
margin: -5px;
@media (max-width: @xf-responsiveMedium)
{
margin: 0;
}
padding-right: 0;
padding-left: 0;
}
.pairs.pairs--justified
{
flex: 1 1 45%;
background-color: @xf-contentBg;
border-radius: @xf-borderRadiusLarge;
padding: @xf-paddingLarge;
display: flex;
margin: 5px;
flex-direction: column;
position: relative;
justify-content: center;
@media (max-width: @xf-responsiveMedium) { margin: 5px 0; flex: 1 1 100%; }
dt
{
order: 2;
font-size: @xf-fontSizeLarge;
float: none;
text-align: left;
color: @xf-textColor;
font-weight: @xf-fontWeightHeavy;
&:after { display: none; }
}
dd
{
order: 1;
font-size: 40px;
color: @xf-paletteAccent2;
float: none;
text-align: left;
padding-right: 45px;
font-weight: @xf-fontWeightHeavy;
@media (max-width: @xf-responsiveWide) { font-size: 20px; }
}
&:after
{
.m-faBase();
.m-faContent("\f850");
vertical-align: middle;
position: absolute;
right: 10px;
font-size: 40px;
transform: rotate(0deg);
opacity: 0.4;
}
&:nth-of-type(2):after
{
.m-faContent("\f040");
}
&:nth-of-type(3):after
{
.m-faContent("\f0c0");
}
&:nth-of-type(4)
{
dd
{
font-size: 34px;
@media (max-width: @xf-responsiveWide) { font-size: 20px; }
@media (max-width: @xf-responsiveNarrow) { font-size: @xf-fontSizeNormal; }
}
&:after
{
.m-faContent("\f007");
}
}
}
}
}
}
.custom-stats
{
[data-widget-key="forum_overview_forum_statistics"]
{
.block-container
{
background: none;
border-width: 0;
box-shadow: none;
.block-minorHeader
{
padding: 0;
background: none;
border-width: 0;
box-shadow: none;
font-size: @xf-fontSizeLargest;
@media (max-width: @xf-responsiveMedium) { padding-left: @xf-pageEdgeSpacer; }
}
.block-body
{
display: flex;
flex-wrap: wrap;
margin: -5px;
@media (max-width: @xf-responsiveMedium)
{
margin: 0;
}
padding-right: 0;
padding-left: 0;
}
.pairs.pairs--justified
{
flex: 1 1 20%;
background-color: rgba(0, 0, 0, 0.25);
border-radius: @xf-borderRadiusLarge;
padding: @xf-paddingLarge;
display: flex;
margin: 5px;
flex-direction: column;
position: relative;
justify-content: center;
@media (max-width: @xf-responsiveMedium) { margin: 5px 0; flex: 1 1 100%; }
dt
{
order: 2;
font-size: @xf-fontSizeLarge;
float: none;
text-align: left;
color: #FFF;
font-weight: @xf-fontWeightHeavy;
&:after { display: none; }
}
dd
{
order: 1;
font-size: 40px;
color: @xf-paletteAccent2;
float: none;
text-align: left;
padding-right: 45px;
font-weight: @xf-fontWeightHeavy;
@media (max-width: @xf-responsiveWide) { font-size: 20px; }
}
&:after
{
.m-faBase();
.m-faContent("\f850");
vertical-align: middle;
position: absolute;
right: 10px;
font-size: 40px;
transform: rotate(0deg);
opacity: 0.4;
}
&:nth-of-type(2):after
{
.m-faContent("\f040");
}
&:nth-of-type(3):after
{
.m-faContent("\f0c0");
}
&:nth-of-type(4)
{
dd
{
font-size: 34px;
@media (max-width: @xf-responsiveWide) { font-size: 20px; }
@media (max-width: @xf-responsiveNarrow) { font-size: @xf-fontSizeNormal; }
}
&:after
{
.m-faContent("\f007");
}
}
}
}
}
}