initial commit
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
// main: ../main.scss
|
||||
/*--------------------------------------------------------------
|
||||
# Events Section
|
||||
--------------------------------------------------------------*/
|
||||
.events {
|
||||
--background-color: #f3f6f4;
|
||||
--default-color: #444444;
|
||||
--accent-color: #cc0000;
|
||||
--surface-color: #ffffff;
|
||||
|
||||
.service-card {
|
||||
position: relative;
|
||||
background-color: var(--surface-color);
|
||||
border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
|
||||
border-radius: 12px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
transition: all 0.35s ease;
|
||||
height: 100%;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 0;
|
||||
height: 3px;
|
||||
background-color: var(--accent-color);
|
||||
transition: width 0.35s ease;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
|
||||
box-shadow: 0 10px 40px color-mix(in srgb, var(--accent-color), transparent 88%);
|
||||
transform: translateY(-4px);
|
||||
|
||||
&::before {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.service-link {
|
||||
color: var(--accent-color);
|
||||
letter-spacing: 0.3px;
|
||||
|
||||
i {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.service-card-inner {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.service-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.event-image-wrapper {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
overflow: hidden;
|
||||
background-color: #000;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.event-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.event-content {
|
||||
padding: 22px 24px 26px;
|
||||
}
|
||||
|
||||
.service-title {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 8px;
|
||||
|
||||
a {
|
||||
color: var(--heading-color);
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.service-desc {
|
||||
font-size: 14px;
|
||||
color: color-mix(in srgb, var(--default-color), transparent 25%);
|
||||
line-height: 1.65;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.event-content {
|
||||
padding: 18px 20px 22px;
|
||||
}
|
||||
|
||||
.service-number {
|
||||
font-size: 34px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user