bp-statistics.css in Bootstrap Paragraphs 8.2
The CSS file for Bootstrap Paragraphs Statistics module.
Compiled from the less file of the same name.
File
modules/bp_statistics/css/bp-statistics.cssView source
- /**
- * @file
- * The CSS file for Bootstrap Paragraphs Statistics module.
- *
- * Compiled from the less file of the same name.
- */
- /* Removes Padding on Columns (Padding is on columns inside). */
- .paragraph.paragraph--type--bp-statistics > .paragraph__column {
- padding-left: 0;
- padding-right: 0;
- }
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__4col {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__4col {
- float: left;
- width: 25%;
- }
- }
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__3col {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__3col {
- float: left;
- width: 33.33333333%;
- }
- }
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__2col {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__2col {
- float: left;
- width: 50%;
- }
- }
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__1col {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph.paragraph--type--bp-statistics .paragraph--type--bp-statistics__1col {
- float: left;
- width: 100%;
- }
- }
- /* These allow us to change the width on a single paragraph in a Multicolumn. */
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--tiny > .paragraph__column {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--tiny > .paragraph__column {
- float: left;
- width: 33.33333333%;
- }
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--tiny > .paragraph__column {
- margin-left: 33.33333333%;
- }
- }
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--narrow > .paragraph__column {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--narrow > .paragraph__column {
- float: left;
- width: 50%;
- }
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--narrow > .paragraph__column {
- margin-left: 25%;
- }
- }
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--medium > .paragraph__column {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--medium > .paragraph__column {
- float: left;
- width: 66.66666667%;
- }
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--medium > .paragraph__column {
- margin-left: 16.66666667%;
- }
- }
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--wide > .paragraph__column {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--wide > .paragraph__column {
- float: left;
- width: 83.33333333%;
- }
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--wide > .paragraph__column {
- margin-left: 8.33333333%;
- }
- }
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--full > .paragraph__column {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px;
- }
- @media (min-width: 768px) {
- .paragraph--type--bp-statistics__1col .paragraph.paragraph--width--full > .paragraph__column {
- float: left;
- width: 100%;
- }
- }
- /* Stat customization. */
- .statistic {
- text-align: center;
- }
- .statistic .statistic-item {
- font-size: 4rem;
- font-weight: bold;
- }