Files
celek.pagedev.pl/wp-content/plugins/elementor-addon/assets/css/main.scss
2025-10-23 15:54:28 +02:00

192 lines
3.2 KiB
SCSS

.elementor-widget-author_big_box {
.box-row {
display: flex;
align-items: flex-start;
column-gap: 160px;
.box-col-1 {
width: 415px;
min-width: 415px;
.box-img {
img {
width: 100%;
max-width: 415px;
}
}
}
.box-col-2 {
width: 100%;
max-width: 850px;
display: flex;
flex-direction: column;
row-gap: 50px;
.author-head {
display: flex;
flex-direction: column;
row-gap: 10px;
h2 {
color: #0d183d;
font-family: 'General Sans Variable', sans-serif;
font-weight: 500;
font-size: 32px;
line-height: 1.05;
margin: 0;
}
h3 {
color: #b58857;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 32px;
line-height: 1.05;
margin: 0;
}
}
.author-content {
p {
color: #0c1e21;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1.6;
margin-top: 0;
&:last-child {
margin-bottom: 0;
}
}
}
}
}
}
.elementor-widget-author_mini_box {
.box-row {
display: flex;
align-items: flex-start;
column-gap: 50px;
.box-col-1 {
width: 270px;
min-width: 270px;
.box-img {
img {
width: 100%;
max-width: 270px;
}
}
}
.box-col-2 {
width: 100%;
max-width: 850px;
display: flex;
flex-direction: column;
row-gap: 50px;
padding-top: 60px;
.author-head {
display: flex;
flex-direction: column;
row-gap: 10px;
h2 {
color: #0d183d;
font-family: 'General Sans Variable', sans-serif;
font-weight: 500;
font-size: 32px;
line-height: 1.05;
margin: 0;
}
h3 {
color: #b58857;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 32px;
line-height: 1.05;
margin: 0;
}
}
.author-content {
&.active {
.author-content-head {
span {
&::after {
height: 0;
}
}
}
}
.author-content-head {
display: inline-flex;
flex-direction: row;
align-items: center;
gap: 10px;
cursor: pointer;
p {
color: #0c1e21;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1;
margin: 0;
}
span {
position: relative;
display: inline-block;
width: 10px;
height: 10px;
&::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 2px;
background: #0d183d;
transform: translate(-50%, -50%);
}
&::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 2px;
height: 10px;
background: #0d183d;
transform: translate(-50%, -50%);
transition: all 250ms ease-in-out;
}
}
}
.author-content-body {
display: none;
&--wrapper {
padding-top: 40px;
}
p {
color: #0c1e21;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1.6;
margin-top: 0;
&:last-child {
margin-bottom: 0;
}
}
}
}
}
}
}