File: //var/www/innodrive/src/scss/blocks/text-article.scss
.text-article {
color: #939393;
font-size: 19px;
line-height: 22px;
.link-pdf {
display: flex;
align-items: center;
margin: 15px 0;
.link-pdf__icon {
width: 46px;
height: 46px;
background-image: url("../../assets/img/link-pdf.png");
}
.link-pdf__text {
margin-left: 10px;
}
}
.read-same {
color: $color-primary-blue;
margin: 15px 0;
ul {
li {
&::before {
content: '\f054';
}
}
}
}
.link-articles {
margin-bottom: 25px;
color: $color-primary-blue;
ul {
li {
&::before {
content: '\f090';
}
}
}
}
img {
width: auto;
max-width: 100%;
height: auto;
&.aligncenter {
display: block;
margin: 0 auto;
}
&.alignrigth {
display: block;
margin: 0;
margin-left: 20px;
float: right;
}
&.alignleft {
display: block;
margin: 0;
margin-right: 20px;
float: left;
}
&.size-full {
width: 100%;
}
}
.aligncenter {
margin-left: auto;
margin-right: auto;
}
picture {
display: block;
width: 448px;
margin: 3px 40px 15px 0;
float: left;
> img {
width: 100%;
height: auto;
}
}
p {
margin: 9px 0;
&:first-of-type {
//margin-top: 0;
}
}
h3 {
margin: 15px 0;
font-weight: 300;
font-size: 24px;
color: $color-primary-blue;
}
ul {
@include reset-list;
padding-left: 28px;
padding-top: 13px;
li {
position: relative;
margin-bottom: 10px;
&::marker {
.text-article ul li::before {
display: none !important;
}
}
&::before {
position: relative;
left: 0;
top: auto;
content: '\f00c';
display: inline-block;
margin-right: 20px;
font-family: 'Font Awesome 5 Pro', Helvetica, sans-serif;
font-weight: 400;
color: $color-primary-blue;
}
}
}
ul[style] {
padding-left: 38px !important;
li {
padding-left: 0 !important;
&::before {
display: none !important;
}
}
}
table {
width: 100%;
max-width: 660px;
table-layout: fixed;
border-collapse: separate;
border-spacing: 2px;
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-desc {
background-color: $color-primary-green;
font-weight: 600;
color: white;
}
tr {
&:nth-of-type(2n) {
background-color: #f5f5f5;
td {
padding: 7px 5px;
}
}
}
th,
td {
padding: 5px;
width: 33.3333%;
text-align: center;
}
th {
padding: 7px;
background-color: $color-primary-green;
color: #fff;
}
.float-picture-wrp {
width: 50%;
@include media('mobile-m') {
width: 100% !important;
}
}
}
@include media('tablet-s') {
.text-article {
color: #939393;
font-size: 13px;
line-height: 18px;
picture {
position: relative;
width: 100%;
height: 0;
margin: 0;
padding-bottom: 51.5%;
overflow: hidden;
img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
}
h3 {
margin: 5px 0;
font-size: 18px;
line-height: 21px;
}
ul {
padding-left: 8px;
padding-top: 11px;
font-size: 13px;
line-height: 17px;
li {
padding-left: 17px;
margin-bottom: 5px;
}
}
p {
margin: 5px 0;
}
table {
max-width: 460px;
caption {
margin: 14px 0 7px;
font-size: 18px;
line-height: 21px;
}
th,
td {
padding: 3px;
font-size: 14px;
line-height: 1;
}
th {
padding: 4px;
}
tr {
&:nth-of-type(2n) {
td {
padding: 4px 4px;
}
}
}
}
}
}