File: //var/www/innodrive/src/scss/blocks/text-content.scss
.text-content {
@extend %page-container;
padding-top: 30px;
padding-bottom: 30px;
color: #939393;
font-size: 19px;
line-height: 1.2;
h2 {
background-color: $color-primary-green;
color: #fff;
padding: 8px 10px;
@include font-regular("PT Sans");
}
ul {
list-style: none;
padding-left: 15px;
li {
&::before {
font-family: 'Font Awesome 5 Pro', sans-serif;
content: '\f00c';
color: #078ebe;
margin-right: 12px;
}
&:not(:first-child) {
margin-top: 5px;
}
}
}
a {
color: #078ebe;
text-decoration: underline;
&:hover {
color: $color-primary-blue;
}
&.grey {
color: $color-text-grey;
&:hover {
color: $color-text-grey;
text-decoration: underline;
}
}
}
blockquote {
color: #078ebe;
border-left: 5px solid #078ebe;
padding: 8px 0 8px 12px;
margin-left: 5px;
}
h3 {
margin: 0;
font-size: 28px;
font-weight: 300;
color: $color-primary-blue;
&:not(:first-child) {
margin-top: 30px;
}
}
p {
margin: 0;
padding-left: 4px;
&:not(:first-child) {
margin-top: 26px;
}
}
table {
width: 100%;
max-width: 660px;
table-layout: fixed;
border-collapse: separate;
border-spacing: 2px;
&.text-left {
td,
th {
text-align: left;
}
}
&.bold-header {
th {
padding: 7px;
background-color: #f5f5f5;
font-weight: bold;
}
}
&.blue-header {
th {
padding: 7px;
background-color: $color-primary-green;
color: #fff;
font-weight: normal;
}
}
caption {
margin: 15px 0;
font-weight: 300;
font-size: 24px;
text-align: left;
color: $color-primary-green;
}
&.auto-column {
margin: 0 auto;
table-layout: unset;
}
tr {
&:nth-of-type(2n) {
background-color: #f5f5f5;
td {
padding: 7px 5px;
}
}
}
th,
td {
padding: 5px;
width: 33.3333%;
text-align: center;
}
}
}
@include media('tablet-s') {
.text-content {
padding-top: 15px;
padding-bottom: 20px;
font-size: 16px;
line-height: 18px;
h2 {
font-size: 18px;
padding: 6px;
}
h3 {
font-size: 18px;
line-height: 18px;
}
ul {
padding-left: 5px;
}
p {
padding-left: 0;
&:not(:first-child) {
margin-top: 15px;
}
}
blockquote {
border-left: 4px solid #078ebe;
}
}
}