173 lines
6.2 KiB
CSS
173 lines
6.2 KiB
CSS
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.1_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/company-timeline/style.scss ***!
|
|
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/**
|
|
* The following styles get applied both on the front of your site
|
|
* and in the editor.
|
|
*
|
|
* Replace them with your own styles or remove the file completely.
|
|
*/
|
|
.wp-block-telex-company-timeline {
|
|
display: flex;
|
|
gap: 60px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
position: relative;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar {
|
|
flex: 0 0 200px;
|
|
position: sticky;
|
|
top: 100px;
|
|
height: -moz-fit-content;
|
|
height: fit-content;
|
|
align-self: flex-start;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years {
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 24px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years h3 {
|
|
margin: 0 0 20px 0;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
border-bottom: 2px solid #e2e8f0;
|
|
padding-bottom: 12px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years .year-link {
|
|
display: block;
|
|
padding: 12px 16px;
|
|
margin-bottom: 8px;
|
|
text-decoration: none;
|
|
color: #64748b;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
border-radius: 6px;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
border: none;
|
|
width: 100%;
|
|
text-align: right;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years .year-link:hover {
|
|
background: #e2e8f0;
|
|
color: #1e293b;
|
|
transform: translateX(-4px);
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years .year-link.active {
|
|
background: #3b82f6;
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry {
|
|
margin-bottom: 80px;
|
|
scroll-margin-top: 100px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-year-marker {
|
|
margin-bottom: 24px;
|
|
position: relative;
|
|
padding-right: 40px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-year-marker::before {
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 24px;
|
|
height: 24px;
|
|
background: #3b82f6;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-year-marker h2 {
|
|
margin: 0;
|
|
font-size: 32px;
|
|
font-weight: 800;
|
|
color: #1e293b;
|
|
line-height: 1;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 32px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
|
border-right: 4px solid #3b82f6;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content .timeline-title {
|
|
margin: 0 0 16px 0;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content .timeline-description {
|
|
margin: 0 0 24px 0;
|
|
font-size: 16px;
|
|
line-height: 1.8;
|
|
color: #475569;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content .timeline-media {
|
|
margin-top: 24px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content .timeline-media img {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
@media (max-width: 768px) {
|
|
.wp-block-telex-company-timeline {
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
padding: 20px 15px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar {
|
|
position: static;
|
|
flex: 1;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years {
|
|
padding: 16px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years h3 {
|
|
font-size: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-sidebar .timeline-years .year-link {
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry {
|
|
margin-bottom: 50px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-year-marker {
|
|
padding-right: 30px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-year-marker::before {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-year-marker h2 {
|
|
font-size: 24px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content {
|
|
padding: 20px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content .timeline-title {
|
|
font-size: 20px;
|
|
}
|
|
.wp-block-telex-company-timeline .timeline-content .timeline-entry .timeline-entry-content .timeline-description {
|
|
font-size: 15px;
|
|
}
|
|
}
|